@zpi-dev/agent-sdk 0.1.60 → 0.1.61

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 (34) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-AR5RMMMN.js → chunk-GPIEWH3K.js} +324 -309
  3. package/dist/chunk-GPIEWH3K.js.map +1 -0
  4. package/dist/{chunk-4WFFCN2C.js → chunk-YPFTXFZL.js} +527 -479
  5. package/dist/chunk-YPFTXFZL.js.map +1 -0
  6. package/dist/host.js +3 -5
  7. package/dist/host.js.map +1 -1
  8. package/dist/index.js +2 -4
  9. package/dist/{src-7WDJXP5P.js → src-GYA4LFM7.js} +2 -4
  10. package/dist/types/ai/src/types.d.ts +2 -1
  11. package/dist/types/ai/src/utils/text.d.ts +1 -5
  12. package/dist/types/ai/src/utils/transcript.d.ts +0 -13
  13. package/dist/types/coding-agent/src/core/agent-session.d.ts +3 -2
  14. package/dist/types/coding-agent/src/core/dynamic-context.d.ts +3 -0
  15. package/dist/types/coding-agent/src/core/resources.d.ts +1 -1
  16. package/dist/types/coding-agent/src/core/sdk.d.ts +1 -3
  17. package/dist/types/coding-agent/src/core/session-manager.d.ts +1 -0
  18. package/dist/types/coding-agent/src/core/system-prompt.d.ts +9 -2
  19. package/dist/types/coding-agent/src/plugins/assembly.d.ts +1 -2
  20. package/dist/types/coding-agent/src/plugins/types.d.ts +3 -2
  21. package/package.json +5 -5
  22. package/dist/chunk-4WFFCN2C.js.map +0 -1
  23. package/dist/chunk-AR5RMMMN.js.map +0 -1
  24. package/dist/chunk-RAZL7ZAW.js +0 -13451
  25. package/dist/chunk-RAZL7ZAW.js.map +0 -1
  26. package/dist/chunk-TUOZKHGN.js +0 -21
  27. package/dist/chunk-TUOZKHGN.js.map +0 -1
  28. package/dist/chunk-YBW5XDR7.js +0 -48
  29. package/dist/node-WXHENNL2.js +0 -21
  30. package/dist/node-WXHENNL2.js.map +0 -1
  31. package/dist/node-XSTAMDFW.js +0 -2225
  32. package/dist/node-XSTAMDFW.js.map +0 -1
  33. package/dist/src-7WDJXP5P.js.map +0 -1
  34. /package/dist/{chunk-YBW5XDR7.js.map → src-GYA4LFM7.js.map} +0 -0
package/README.md CHANGED
@@ -38,7 +38,7 @@ Set `DEEPSEEK_API_KEY` for the example. `model` accepts a registered provider, m
38
38
 
39
39
  `tools` chooses which tools the model sees. `allowedTools` pre-approves matching calls; it does not hide other tools. `disallowedTools` wins over allow rules. A bare deny removes a tool from the model's context; an argument-qualified deny checks calls. Other calls go to `canUseTool`, or execute directly when no callback is configured. This embedded runtime has no interactive permission dialog and is not a sandbox. Configure `tools: []` for text/image chat without local capabilities. `Grep` requires `rg` on PATH. Tool results use canonical parameter names such as `file_path` and `tool_use_id`.
40
40
 
41
- `systemPrompt` replaces the default prompt. The `claude_code` preset selects ZPI's coding assistant prompt, not Anthropic's proprietary prompt. Default `settingSources` is empty. Only explicitly supplied local plugins execute command hooks; adding a plugin authorizes its code in the host process environment. Agent model aliases must resolve to registered models. `forwardSubagentText` defaults to false. Background tasks belong to their parent Query and are cancelled when it closes.
41
+ `systemPrompt` replaces the default base instructions. Resources, skill catalogs and plugin context are managed independently as named blocks; changes append replacement or withdrawal notices at their conversation position. The `claude_code` preset selects ZPI's coding assistant prompt, not Anthropic's proprietary prompt. Default `settingSources` is empty. Only explicitly supplied local plugins execute command hooks; adding a plugin authorizes its code in the host process environment. Agent model aliases must resolve to registered models. `forwardSubagentText` defaults to false. Background tasks belong to their parent Query and are cancelled when it closes.
42
42
 
43
43
  Pricing is provider configuration. Environment-based presets use zero prices until accurate pricing is supplied through `zpi.providers`; `maxBudgetUsd` requires those prices to enforce a useful monetary budget. Token usage is reported independently of pricing. `rewindFiles` covers SDK Write/Edit checkpoints, not arbitrary shell side effects or external edits. Forks start a new checkpoint history.
44
44