@mantyx/sdk 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.
- package/CHANGELOG.md +2 -2
- package/CONTRIBUTING.md +2 -8
- package/README.md +5 -0
- package/dist/a2a-server.cjs.map +1 -1
- package/dist/a2a-server.d.cts +1 -1
- package/dist/a2a-server.d.ts +1 -1
- package/dist/a2a-server.js +1 -1
- package/dist/{chunk-36QXU6NV.js → chunk-XENCO3EF.js} +107 -1
- package/dist/chunk-XENCO3EF.js.map +1 -0
- package/dist/{client-C-jl6_nH.d.cts → client-Ct6G4TVc.d.cts} +106 -2
- package/dist/{client-C-jl6_nH.d.ts → client-Ct6G4TVc.d.ts} +106 -2
- package/dist/index.cjs +108 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/docs/agent-runs-protocol.md +89 -12
- package/docs/wire-protocol.md +106 -10
- package/package.json +1 -1
- package/dist/chunk-36QXU6NV.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
-
## [
|
|
6
|
+
## [0.13.0] — 2026-06-09
|
|
7
7
|
|
|
8
8
|
### Added
|
|
9
9
|
|
|
@@ -103,7 +103,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
103
103
|
|
|
104
104
|
## [0.1.0] — 2026-05-02
|
|
105
105
|
|
|
106
|
-
[
|
|
106
|
+
[0.13.0]: https://github.com/mantyx-io/mantyx-sdk/compare/v0.12.0..v0.13.0
|
|
107
107
|
[0.12.0]: https://github.com/mantyx-io/mantyx-sdk/compare/v0.11.0..v0.12.0
|
|
108
108
|
[0.11.0]: https://github.com/mantyx-io/mantyx-sdk/compare/v0.10.1..v0.11.0
|
|
109
109
|
[0.10.0]: https://github.com/mantyx-io/mantyx-sdk/compare/v0.9.1..v0.10.0
|
package/CONTRIBUTING.md
CHANGED
|
@@ -60,18 +60,12 @@ exercises it end-to-end.
|
|
|
60
60
|
1. Fork and create a feature branch.
|
|
61
61
|
2. Add or update tests.
|
|
62
62
|
3. `pnpm test && pnpm typecheck && pnpm build`.
|
|
63
|
-
4.
|
|
63
|
+
4. Use [Conventional Commits](https://www.conventionalcommits.org/) with scope `ts` — `CHANGELOG.md` is regenerated from git history on release (do not edit it by hand).
|
|
64
64
|
5. Open a PR. Describe the change and any protocol implications.
|
|
65
65
|
|
|
66
66
|
## Releasing
|
|
67
67
|
|
|
68
|
-
Releases
|
|
69
|
-
|
|
70
|
-
1. Move `## [Unreleased]` content into a new version section in
|
|
71
|
-
`CHANGELOG.md`.
|
|
72
|
-
2. Bump `package.json` `version`.
|
|
73
|
-
3. `pnpm build && pnpm publish --access public`.
|
|
74
|
-
4. Tag the commit `sdk-typescript-vX.Y.Z` and push.
|
|
68
|
+
Releases are handled by the shared **Publish** GitHub Actions workflow on `main` (lockstep across all three SDKs). See the [top-level CONTRIBUTING.md](../CONTRIBUTING.md#releasing). The npm tag is `vX.Y.Z`; do not publish or tag manually from this package.
|
|
75
69
|
|
|
76
70
|
## Code of Conduct
|
|
77
71
|
|
package/README.md
CHANGED
|
@@ -536,12 +536,17 @@ interface MantyxClientOptions {
|
|
|
536
536
|
}
|
|
537
537
|
```
|
|
538
538
|
|
|
539
|
+
## Task planning (`plan` / `runPlan`)
|
|
540
|
+
|
|
541
|
+
Opt-in multi-step checklists. Pass `plan: true` (auto-classify + live tracking) or `plan: { steps, brief? }` on `runAgent` / `session.send`. For **plan-only** runs that stop after producing the checklist, use `client.runPlan({ ... })` (or `session.runPlan(prompt, { steps?, brief? })`) — the structured result is on `result.plan`. See `docs/agent-runs-protocol.md` §4.9.
|
|
542
|
+
|
|
539
543
|
### Methods
|
|
540
544
|
|
|
541
545
|
| Method | Returns |
|
|
542
546
|
| --------------------------------------------- | ------------------------------------ |
|
|
543
547
|
| `listModels()` | `Promise<ModelCatalog>` |
|
|
544
548
|
| `runAgent(spec)` | `Promise<RunResult>` |
|
|
549
|
+
| `runPlan(spec)` | `Promise<RunResult>` (plan-only) |
|
|
545
550
|
| `streamAgent(spec)` | `AsyncIterable<RunEvent>` |
|
|
546
551
|
| `createSession(spec)` | `Promise<AgentSession>` |
|
|
547
552
|
| `resumeSession(sessionId, { tools? })` | `Promise<AgentSession>` |
|