@sw4rm/js-sdk 0.3.0 → 0.5.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/README.md +13 -0
- package/dist/cjs/index.cjs +3576 -342
- package/dist/esm/index.js +3497 -336
- package/dist/types/agentConfig.d.ts +245 -0
- package/dist/types/audit.d.ts +214 -0
- package/dist/types/clients/handoff.d.ts +188 -0
- package/dist/types/clients/negotiationRoom.d.ts +423 -0
- package/dist/types/clients/negotiationRoomStore.d.ts +155 -0
- package/dist/types/clients/workflow.d.ts +316 -0
- package/dist/types/constants/index.d.ts +100 -0
- package/dist/types/index.d.ts +15 -4
- package/dist/types/internal/baseClient.d.ts +7 -1
- package/dist/types/internal/envelope.d.ts +16 -0
- package/dist/types/internal/errorMapping.d.ts +114 -0
- package/dist/types/internal/worktreeState.d.ts +60 -0
- package/dist/types/persistentActivityBuffer.d.ts +94 -0
- package/dist/types/runtime/agentState.d.ts +205 -0
- package/dist/types/runtime/policyStore.d.ts +391 -0
- package/dist/types/runtime/voting.d.ts +208 -0
- package/package.json +4 -2
- package/protos/activity.proto +24 -0
- package/protos/common.proto +134 -0
- package/protos/connector.proto +29 -0
- package/protos/handoff.proto +63 -0
- package/protos/hitl.proto +23 -0
- package/protos/logging.proto +20 -0
- package/protos/negotiation.proto +57 -0
- package/protos/negotiation_room.proto +220 -0
- package/protos/policy.proto +55 -0
- package/protos/reasoning.proto +41 -0
- package/protos/registry.proto +36 -0
- package/protos/router.proto +16 -0
- package/protos/scheduler.proto +52 -0
- package/protos/scheduler_policy.proto +36 -0
- package/protos/tool.proto +47 -0
- package/protos/workflow.proto +116 -0
- package/protos/worktree.proto +33 -0
package/README.md
CHANGED
|
@@ -151,9 +151,22 @@ persist.startAutosave();
|
|
|
151
151
|
- Streaming resilience and interceptor hooks included by default.
|
|
152
152
|
- JSON persistence for ActivityBuffer and ACK states.
|
|
153
153
|
|
|
154
|
+
## Operational Contracts
|
|
155
|
+
|
|
156
|
+
For production deployments, see the **[Operational Contracts](../docs/OPERATIONAL_CONTRACTS.md)** documentation, which defines:
|
|
157
|
+
|
|
158
|
+
- Connection timeouts and keep-alive settings
|
|
159
|
+
- Retry policies and error handling
|
|
160
|
+
- Data consistency guarantees
|
|
161
|
+
- Idempotency contracts
|
|
162
|
+
- State persistence guarantees
|
|
163
|
+
|
|
164
|
+
These are protocol-level contracts that all SW4RM SDKs honor.
|
|
165
|
+
|
|
154
166
|
## Links
|
|
155
167
|
|
|
156
168
|
- Top-level README (overview and API): `../../README.md`
|
|
157
169
|
- Quickstart for running local services: `../../QUICKSTART.md`
|
|
170
|
+
- Operational Contracts: `../docs/OPERATIONAL_CONTRACTS.md`
|
|
158
171
|
- Python SDK: `../py_sdk/README.md`
|
|
159
172
|
- Rust SDK: `../rust_sdk/README.md`
|