Skip to content

v0.1.3

Latest

Choose a tag to compare

@JoshuaRamirez JoshuaRamirez released this 23 Sep 02:07
· 1 commit to main since this release

Fixed

  • promptlib import replaced every field of an existing prompt, so a record
    like {"id": "x", "tags": "new"} blanked x's title, text and category. An
    import now changes only the fields a record supplies. It also records a new
    text's placeholders, names the record that failed, and writes nothing when
    one fails.
  • With the shared background service on, $PROMPT_LIBRARY_CSV and
    $PROMPT_LIBRARY_HOME did not reach the MCP tools, so the CLI and Claude could
    use different files. They are now forwarded.
  • MCP tools:
    • "false" as a string was read as true;
    • a tags string was matched letter by letter;
    • missing required arguments were accepted.
  • Updates that set id, created_at or updated_at were silently ignored; they
    are now refused. An empty update is an error in MCP as it was in the CLI.
  • A non-UTF-8 file, or a CSV with no id column, gave a traceback or an empty
    listing instead of an error.
  • Stats counted Review and review as different tags.

Added

  • A project page at https://joshuaramirez.github.io/prompt-library/ with a live
    demo that runs the plugin's search and fill-in in the browser. It is built with
    vanilla-mvc in site/ and
    published, with the diagrams, by GitHub Actions.
  • render reports values no placeholder used (unused), which is usually a
    misspelt name. The CLI warns about these and about unfilled placeholders.
  • Writes report any column they create (new_columns).
  • promptlib --version, and help text for every command and option.

Changed

  • --json works after the command as well as before it.
  • CLI errors read promptlib: error: … instead of exception class names. A bad
    flag shows the subcommand's usage.
  • "No prompt with that id" now exits 3 instead of 2, which is argparse's code
    for a bad command line.
  • --tag accepts commas. Listings show each tag, and untitled prompts as
    (untitled). A search with no hits says so.
  • Blank extra columns are left out of records.