@deepraxis/sdk 0.1.1-dev.b0da55b → 0.1.1-dev.b191d44
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/METHODS.md +10 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +31 -11
- package/dist/generated/sdk.gen.js +74 -10
- package/dist/generated/types.gen.d.ts +2639 -665
- package/dist/operations.generated.js +137 -16
- package/dist/resources.generated.d.ts +553 -0
- package/dist/resources.generated.js +5 -0
- package/package.json +1 -1
package/METHODS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SDK methods
|
|
2
2
|
|
|
3
|
-
Generated by `bun run generate`.
|
|
3
|
+
Generated by `bun run generate`. 845 HTTP operations, plus product aliases. Version segments and path parameters are omitted from resource names. Inputs use typed `{ path, query, body, headers }` options. Collections form nested resource objects; POST actions retain their verb. Naming rules are documented in `scripts/resources.ts`; semantic exceptions and aliases with reasons are in `scripts/naming-overrides.ts`.
|
|
4
4
|
|
|
5
5
|
`always` returns an AsyncIterable; `optional` streams with `{ stream: true }`; `yes` pagination returns a Page. Only `{ data, next_cursor }` + `cursor` query contracts are automatically paginated.
|
|
6
6
|
|
|
@@ -17,7 +17,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
17
17
|
| list | GET | `/agent/v1/agents` | no | no |
|
|
18
18
|
| retrieve | GET | `/agent/v1/agents/{agent_id}` | no | no |
|
|
19
19
|
| retrieveAppearance | GET | `/agent/v1/agents/{agent_id}/appearance` | no | no |
|
|
20
|
+
| retrieveEmbedPolicy | GET | `/agent/v1/agents/{agent_id}/embed_policy` | no | no |
|
|
20
21
|
| update | POST | `/agent/v1/agents/{agent_id}` | no | no |
|
|
22
|
+
| updateEmbedPolicy | POST | `/agent/v1/agents/{agent_id}/embed_policy` | no | no |
|
|
21
23
|
|
|
22
24
|
### agent.agents.consolidations
|
|
23
25
|
|
|
@@ -178,6 +180,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
178
180
|
| retrieveContext | GET | `/agent/v1/sessions/{session_id}/context` | no | no |
|
|
179
181
|
| update | POST | `/agent/v1/sessions/{session_id}` | no | no |
|
|
180
182
|
|
|
183
|
+
### agent.sessions.agentVersion
|
|
184
|
+
|
|
185
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
186
|
+
|---|---|---|---|---|
|
|
187
|
+
| create | POST | `/agent/v1/sessions/{session_id}/agent_version` | no | no |
|
|
188
|
+
|
|
181
189
|
### agent.sessions.artifacts
|
|
182
190
|
|
|
183
191
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2612,6 +2620,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2612
2620
|
|
|
2613
2621
|
| Operation | Reason |
|
|
2614
2622
|
|---|---|
|
|
2623
|
+
| agent.agents.updateEmbedPolicy | The embed policy is a singleton of the agent; POST updates it in part, so it pairs with retrieveEmbedPolicy as agents.updateEmbedPolicy rather than a nested embedPolicy collection create. |
|
|
2615
2624
|
| agent.agents.events.send | ADR-123 (#1550): the agent-subject door fires the session events operation, so it takes the same product verb as sessions.events.send; the path alone would derive events.create. |
|
|
2616
2625
|
| agent.sessions.events.send | Events submit session input; the product verb is send rather than create. |
|
|
2617
2626
|
| automation.hooks.send | Delivers a payload to a trigger's secret webhook URL; it sends an event rather than updating a hook resource. |
|