caplets 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +20 -0
  2. package/dist/index.js +19119 -13752
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -914,6 +914,26 @@ Available operations:
914
914
  Requests are strict: operation-specific extra fields are rejected, and `call_tool` requires
915
915
  `arguments` to be a JSON object.
916
916
 
917
+ Discovery operations (`get_caplet`, `check_backend`, `list_tools`, `search_tools`, and
918
+ `get_tool`) return wrapper-generated results whose `structuredContent.caplets` field
919
+ identifies the Caplet with `id`, plus backend, operation, status, and elapsed time when
920
+ available. Discovery result objects and compact tool entries also use `id` for the
921
+ configured Caplet identity. Compact `list_tools` and `search_tools` entries may include
922
+ input/output schema hashes; treat those
923
+ hashes as reuse hints for a schema you have already inspected, not as a replacement for
924
+ `get_tool` when arguments, output, or semantics are unclear.
925
+
926
+ Direct `call_tool` preserves the downstream tool result shape instead of wrapping it in
927
+ `structuredContent.result`. When the result can carry MCP metadata, Caplets adds
928
+ `_meta.caplets` with the same call context and status. It may also include artifact metadata
929
+ for paths mentioned by downstream content, such as screenshots, snapshots, logs, downloads,
930
+ or other saved files. Artifact `displayPath` values are either absolute local paths or
931
+ relative to the downstream MCP server process, not necessarily relative to the current
932
+ project or Caplets process.
933
+
934
+ For first use, the explicit progressive-discovery path is still safest: choose a Caplet,
935
+ `search_tools` or `list_tools`, inspect uncertain tools with `get_tool`, then `call_tool`.
936
+
917
937
  ## Development
918
938
 
919
939
  ```sh