@bongos/core 1.19.710 → 1.19.711
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/.bongos-core.json +59 -24
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +16 -0
- package/clients/bongos-client/index.cjs +16 -0
- package/clients/bongos-client/index.d.ts +24 -0
- package/clients/bongos-client/index.mjs +16 -0
- package/docs/api/openapi.json +506 -3
- package/docs/api-reference.md +14 -2
- package/docs/module-api-changelog.md +2 -0
- package/modules/agents/lib/answer-hold.js +91 -0
- package/modules/agents/lib/authoring.js +155 -0
- package/modules/agents/lib/fire-budget.js +109 -0
- package/modules/agents/lib/gate.js +64 -0
- package/modules/agents/routes/agents.js +494 -0
- package/modules/agents/spawn.js +12 -0
- package/modules/dev-box/app/src/vendor/bongos-client.cjs +16 -0
- package/modules/government/catalog.js +10 -0
- package/modules/government/migrations/government_013_agent_atoms.sql +66 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/scripts/gds/agent-invoke.js +5 -27
- package/src/module-api.js +1 -1
- package/tests/agents_authoring.mjs +306 -0
- package/tests/agents_routes.mjs +76 -15
- package/tests/agents_write_routes.mjs +461 -0
package/.bongos-core.json
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
"artifact": "bongos-core",
|
|
3
3
|
"manifest_schema": 1,
|
|
4
4
|
"generator": "scripts/gds/package-core.js",
|
|
5
|
-
"core_version": "1.19.
|
|
6
|
-
"core_contract": "1.19.
|
|
7
|
-
"source_commit": "
|
|
5
|
+
"core_version": "1.19.711",
|
|
6
|
+
"core_contract": "1.19.711",
|
|
7
|
+
"source_commit": "51bef34ef27a7d94e516e2b1d10623eeebaf80a4",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-13T07:
|
|
9
|
+
"built_at": "2026-09-13T07:20:01.517Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 478,
|
|
13
13
|
"agent_docs_stubbed": 24,
|
|
14
|
-
"functional_verbatim":
|
|
14
|
+
"functional_verbatim": 2147,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 2649,
|
|
20
|
+
"tree_sha256": "15e6f8276b441266c13fefe89f515bf01b563021cd0be63afe1d36a9cc21ee5c",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -367,12 +367,12 @@
|
|
|
367
367
|
{
|
|
368
368
|
"path": "clients/bongos-client/README.md",
|
|
369
369
|
"mode": "0000644",
|
|
370
|
-
"sha256": "
|
|
370
|
+
"sha256": "16978a922f30386ac414172fb81d415ffe2d736e5f2ed2f2b638fb934bdb3f4f"
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
"path": "clients/bongos-client/bongos-client.global.js",
|
|
374
374
|
"mode": "0000644",
|
|
375
|
-
"sha256": "
|
|
375
|
+
"sha256": "119a98a27af60ad696d1898640f333c78a864b1d5a8c381483382bd03b2d4cff"
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
"path": "clients/bongos-client/examples/hello-world.mjs",
|
|
@@ -382,17 +382,17 @@
|
|
|
382
382
|
{
|
|
383
383
|
"path": "clients/bongos-client/index.cjs",
|
|
384
384
|
"mode": "0000644",
|
|
385
|
-
"sha256": "
|
|
385
|
+
"sha256": "daaef512d980bd8fb84922595bd2e4e6cb863499c8b31b39aa00f45b32e5fe5d"
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
388
|
"path": "clients/bongos-client/index.d.ts",
|
|
389
389
|
"mode": "0000644",
|
|
390
|
-
"sha256": "
|
|
390
|
+
"sha256": "b824e52697930830717920889fd6a4bef66b3e18763b6acfae4f3dc9840463d3"
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
"path": "clients/bongos-client/index.mjs",
|
|
394
394
|
"mode": "0000644",
|
|
395
|
-
"sha256": "
|
|
395
|
+
"sha256": "b1de013d0d46b6510323cc1d1d218c373ee9913e70b2738fe12507e8707ea707"
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
"path": "clients/bongos-client/package.json",
|
|
@@ -1927,12 +1927,12 @@
|
|
|
1927
1927
|
{
|
|
1928
1928
|
"path": "docs/api-reference.md",
|
|
1929
1929
|
"mode": "0000644",
|
|
1930
|
-
"sha256": "
|
|
1930
|
+
"sha256": "0083726ede405f32fedae34b5697155d50dc6fb93afcdd5eb2bee3868dafff7b"
|
|
1931
1931
|
},
|
|
1932
1932
|
{
|
|
1933
1933
|
"path": "docs/api/openapi.json",
|
|
1934
1934
|
"mode": "0000644",
|
|
1935
|
-
"sha256": "
|
|
1935
|
+
"sha256": "3f0d26c7344f6eb9f0041e15d27d2d21faec7318f4555e7996a67bb735bcb880"
|
|
1936
1936
|
},
|
|
1937
1937
|
{
|
|
1938
1938
|
"path": "docs/architecture.md",
|
|
@@ -2807,7 +2807,7 @@
|
|
|
2807
2807
|
{
|
|
2808
2808
|
"path": "docs/module-api-changelog.md",
|
|
2809
2809
|
"mode": "0000644",
|
|
2810
|
-
"sha256": "
|
|
2810
|
+
"sha256": "aaf80c762f49609d71b0aafa23ac9b278a869d2f76e3b3901fee41d65956dd70"
|
|
2811
2811
|
},
|
|
2812
2812
|
{
|
|
2813
2813
|
"path": "docs/modules-contract.md",
|
|
@@ -3869,6 +3869,26 @@
|
|
|
3869
3869
|
"mode": "0000644",
|
|
3870
3870
|
"sha256": "75a3d09bce8a40b51015054b4f4c77706ce76e7f8cb3fc4a54048c9bd33814b8"
|
|
3871
3871
|
},
|
|
3872
|
+
{
|
|
3873
|
+
"path": "modules/agents/lib/answer-hold.js",
|
|
3874
|
+
"mode": "0000644",
|
|
3875
|
+
"sha256": "578aa4db41e3429cfb282501ddc4c43629499ce1e84bd26b4b3e4044d44151b5"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"path": "modules/agents/lib/authoring.js",
|
|
3879
|
+
"mode": "0000644",
|
|
3880
|
+
"sha256": "d6788d803b70195f4d9b8577f36ee3bc296037b43d4e4b299b0ce6ba242e485b"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"path": "modules/agents/lib/fire-budget.js",
|
|
3884
|
+
"mode": "0000644",
|
|
3885
|
+
"sha256": "c49bf5fc988cc1cc36a73e696dc96025e172bde99fa6f1c0d92b9e928c6d3922"
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
"path": "modules/agents/lib/gate.js",
|
|
3889
|
+
"mode": "0000644",
|
|
3890
|
+
"sha256": "b9e298e98c6fc3b29854728e33963cef43d5b289064a24a2c639a14d8a3a1b92"
|
|
3891
|
+
},
|
|
3872
3892
|
{
|
|
3873
3893
|
"path": "modules/agents/lib/validate.js",
|
|
3874
3894
|
"mode": "0000644",
|
|
@@ -3887,12 +3907,12 @@
|
|
|
3887
3907
|
{
|
|
3888
3908
|
"path": "modules/agents/routes/agents.js",
|
|
3889
3909
|
"mode": "0000644",
|
|
3890
|
-
"sha256": "
|
|
3910
|
+
"sha256": "261914d81f3b6cfb9bdb73dbcddf97924577d9ffd4ec61e9ca28d9ce623dd404"
|
|
3891
3911
|
},
|
|
3892
3912
|
{
|
|
3893
3913
|
"path": "modules/agents/spawn.js",
|
|
3894
3914
|
"mode": "0000644",
|
|
3895
|
-
"sha256": "
|
|
3915
|
+
"sha256": "6aa77a39408386f5a08a62204a8cf8436420c61a8a9d7d8253c1b18a2ad88847"
|
|
3896
3916
|
},
|
|
3897
3917
|
{
|
|
3898
3918
|
"path": "modules/autonomy/CLAUDE.md",
|
|
@@ -4272,7 +4292,7 @@
|
|
|
4272
4292
|
{
|
|
4273
4293
|
"path": "modules/dev-box/app/src/vendor/bongos-client.cjs",
|
|
4274
4294
|
"mode": "0000644",
|
|
4275
|
-
"sha256": "
|
|
4295
|
+
"sha256": "daaef512d980bd8fb84922595bd2e4e6cb863499c8b31b39aa00f45b32e5fe5d"
|
|
4276
4296
|
},
|
|
4277
4297
|
{
|
|
4278
4298
|
"path": "modules/dev-box/app/test/unit.mjs",
|
|
@@ -4522,7 +4542,7 @@
|
|
|
4522
4542
|
{
|
|
4523
4543
|
"path": "modules/government/catalog.js",
|
|
4524
4544
|
"mode": "0000644",
|
|
4525
|
-
"sha256": "
|
|
4545
|
+
"sha256": "e4729cd6482c08f28bbb0f2de2a1b84c7df38747590af9a287d6c58f2d1cc672"
|
|
4526
4546
|
},
|
|
4527
4547
|
{
|
|
4528
4548
|
"path": "modules/government/config.js",
|
|
@@ -4634,6 +4654,11 @@
|
|
|
4634
4654
|
"mode": "0000644",
|
|
4635
4655
|
"sha256": "e963028286a7f8a0a55c9fae2f73f203a6ae7c7770f73a265aefdcc026829625"
|
|
4636
4656
|
},
|
|
4657
|
+
{
|
|
4658
|
+
"path": "modules/government/migrations/government_013_agent_atoms.sql",
|
|
4659
|
+
"mode": "0000644",
|
|
4660
|
+
"sha256": "f1e5ae5cef3f2e9d4196ea6c3f1c436bb4411d5492ca6c42c9b876f8575f754e"
|
|
4661
|
+
},
|
|
4637
4662
|
{
|
|
4638
4663
|
"path": "modules/government/module.json",
|
|
4639
4664
|
"mode": "0000644",
|
|
@@ -7792,12 +7817,12 @@
|
|
|
7792
7817
|
{
|
|
7793
7818
|
"path": "package-lock.json",
|
|
7794
7819
|
"mode": "0000644",
|
|
7795
|
-
"sha256": "
|
|
7820
|
+
"sha256": "048c83c4d1ec0e681d20c4c8da8b65a96e17ddbf88042082e109a0b0fd52e287"
|
|
7796
7821
|
},
|
|
7797
7822
|
{
|
|
7798
7823
|
"path": "package.json",
|
|
7799
7824
|
"mode": "0000644",
|
|
7800
|
-
"sha256": "
|
|
7825
|
+
"sha256": "098001e183920a73e0417d67b50b869c8d381a6d76ef884933d6872fb66e063d"
|
|
7801
7826
|
},
|
|
7802
7827
|
{
|
|
7803
7828
|
"path": "public-docs/index.html",
|
|
@@ -7872,7 +7897,7 @@
|
|
|
7872
7897
|
{
|
|
7873
7898
|
"path": "scripts/gds/agent-invoke.js",
|
|
7874
7899
|
"mode": "0000644",
|
|
7875
|
-
"sha256": "
|
|
7900
|
+
"sha256": "8996e98b41d7b839ba30d270628cc6ee86a6d302a8898f2339b437b1af462b32"
|
|
7876
7901
|
},
|
|
7877
7902
|
{
|
|
7878
7903
|
"path": "scripts/gds/agents-sync.js",
|
|
@@ -9577,7 +9602,7 @@
|
|
|
9577
9602
|
{
|
|
9578
9603
|
"path": "src/module-api.js",
|
|
9579
9604
|
"mode": "0000644",
|
|
9580
|
-
"sha256": "
|
|
9605
|
+
"sha256": "f53e83493d825804b8b4813d3c22b649d640757d6d10ec5e0d7fd70101510a2a"
|
|
9581
9606
|
},
|
|
9582
9607
|
{
|
|
9583
9608
|
"path": "src/module-loader/catalog.js",
|
|
@@ -9689,10 +9714,15 @@
|
|
|
9689
9714
|
"mode": "0000644",
|
|
9690
9715
|
"sha256": "9b90e0caab614f0751c251c5b5812ee273443a74e684d9156a7bffbb28ac7ee2"
|
|
9691
9716
|
},
|
|
9717
|
+
{
|
|
9718
|
+
"path": "tests/agents_authoring.mjs",
|
|
9719
|
+
"mode": "0000644",
|
|
9720
|
+
"sha256": "eea8f9e0bdf2c84fabc81e16c30e4026a7a336c1e705d614e68b805957b9b74a"
|
|
9721
|
+
},
|
|
9692
9722
|
{
|
|
9693
9723
|
"path": "tests/agents_routes.mjs",
|
|
9694
9724
|
"mode": "0000644",
|
|
9695
|
-
"sha256": "
|
|
9725
|
+
"sha256": "fe8268ed78d1b1c352cb402c47d54bb261501a9ac8626c4c6a38ea8fd09355fa"
|
|
9696
9726
|
},
|
|
9697
9727
|
{
|
|
9698
9728
|
"path": "tests/agents_spawn.mjs",
|
|
@@ -9709,6 +9739,11 @@
|
|
|
9709
9739
|
"mode": "0000644",
|
|
9710
9740
|
"sha256": "82c7bcef316f5c0068cb53a43b2ef4a01367ff285939f132f01b0d8633d36353"
|
|
9711
9741
|
},
|
|
9742
|
+
{
|
|
9743
|
+
"path": "tests/agents_write_routes.mjs",
|
|
9744
|
+
"mode": "0000644",
|
|
9745
|
+
"sha256": "5c413774b0757553ed3d55a9f8d3555c607207cda4065d443412a34ad4d601dc"
|
|
9746
|
+
},
|
|
9712
9747
|
{
|
|
9713
9748
|
"path": "tests/api_cli_flags.mjs",
|
|
9714
9749
|
"mode": "0000644",
|
|
@@ -5,7 +5,7 @@ A **generated**, zero-dependency typed client for the Bongos API — produced fr
|
|
|
5
5
|
by hand; it regenerates when the spec changes, so it can never drift from the routes.
|
|
6
6
|
|
|
7
7
|
- API version: **v1** (served at `/api/bongos/v1`)
|
|
8
|
-
-
|
|
8
|
+
- 372 operations across 57 resource groups
|
|
9
9
|
|
|
10
10
|
## Use it from your project
|
|
11
11
|
|
|
@@ -100,11 +100,27 @@ function createClient(opts = {}) {
|
|
|
100
100
|
// GET /achievements — rank: any-builder — GET /achievements
|
|
101
101
|
getAchievements: (args) => request("GET", "/achievements", { hasBody: false }, args),
|
|
102
102
|
},
|
|
103
|
+
"agentRuns": {
|
|
104
|
+
// GET /agent-runs/{id} — rank: any-builder — GET /agent-runs/:id
|
|
105
|
+
getAgentRunsId: (args) => request("GET", "/agent-runs/{id}", { hasBody: false }, args),
|
|
106
|
+
},
|
|
103
107
|
"agents": {
|
|
104
108
|
// GET /agents — rank: any-builder — GET /agents
|
|
105
109
|
getAgents: (args) => request("GET", "/agents", { hasBody: false }, args),
|
|
110
|
+
// POST /agents — rank: metic+archon — POST /agents
|
|
111
|
+
postAgents: (args) => request("POST", "/agents", { hasBody: true }, args),
|
|
112
|
+
// DELETE /agents/{name} — rank: metic+archon — DELETE /agents/:name
|
|
113
|
+
deleteAgentsName: (args) => request("DELETE", "/agents/{name}", { hasBody: false }, args),
|
|
106
114
|
// GET /agents/{name} — rank: any-builder — GET /agents/:name
|
|
107
115
|
getAgentsName: (args) => request("GET", "/agents/{name}", { hasBody: false }, args),
|
|
116
|
+
// PATCH /agents/{name} — rank: metic+archon — PATCH /agents/:name
|
|
117
|
+
patchAgentsName: (args) => request("PATCH", "/agents/{name}", { hasBody: true }, args),
|
|
118
|
+
// POST /agents/{name}/disable — rank: metic+archon — POST /agents/:name/disable
|
|
119
|
+
postAgentsNameDisable: (args) => request("POST", "/agents/{name}/disable", { hasBody: true }, args),
|
|
120
|
+
// POST /agents/{name}/enable — rank: metic+archon — POST /agents/:name/enable
|
|
121
|
+
postAgentsNameEnable: (args) => request("POST", "/agents/{name}/enable", { hasBody: true }, args),
|
|
122
|
+
// POST /agents/{name}/invoke — rank: any-builder — POST /agents/:name/invoke
|
|
123
|
+
postAgentsNameInvoke: (args) => request("POST", "/agents/{name}/invoke", { hasBody: true }, args),
|
|
108
124
|
},
|
|
109
125
|
"analytics": {
|
|
110
126
|
// GET /analytics/builder/{id} — rank: any-builder — GET /analytics/builder/:id
|
|
@@ -99,11 +99,27 @@ function createClient(opts = {}) {
|
|
|
99
99
|
// GET /achievements — rank: any-builder — GET /achievements
|
|
100
100
|
getAchievements: (args) => request("GET", "/achievements", { hasBody: false }, args),
|
|
101
101
|
},
|
|
102
|
+
"agentRuns": {
|
|
103
|
+
// GET /agent-runs/{id} — rank: any-builder — GET /agent-runs/:id
|
|
104
|
+
getAgentRunsId: (args) => request("GET", "/agent-runs/{id}", { hasBody: false }, args),
|
|
105
|
+
},
|
|
102
106
|
"agents": {
|
|
103
107
|
// GET /agents — rank: any-builder — GET /agents
|
|
104
108
|
getAgents: (args) => request("GET", "/agents", { hasBody: false }, args),
|
|
109
|
+
// POST /agents — rank: metic+archon — POST /agents
|
|
110
|
+
postAgents: (args) => request("POST", "/agents", { hasBody: true }, args),
|
|
111
|
+
// DELETE /agents/{name} — rank: metic+archon — DELETE /agents/:name
|
|
112
|
+
deleteAgentsName: (args) => request("DELETE", "/agents/{name}", { hasBody: false }, args),
|
|
105
113
|
// GET /agents/{name} — rank: any-builder — GET /agents/:name
|
|
106
114
|
getAgentsName: (args) => request("GET", "/agents/{name}", { hasBody: false }, args),
|
|
115
|
+
// PATCH /agents/{name} — rank: metic+archon — PATCH /agents/:name
|
|
116
|
+
patchAgentsName: (args) => request("PATCH", "/agents/{name}", { hasBody: true }, args),
|
|
117
|
+
// POST /agents/{name}/disable — rank: metic+archon — POST /agents/:name/disable
|
|
118
|
+
postAgentsNameDisable: (args) => request("POST", "/agents/{name}/disable", { hasBody: true }, args),
|
|
119
|
+
// POST /agents/{name}/enable — rank: metic+archon — POST /agents/:name/enable
|
|
120
|
+
postAgentsNameEnable: (args) => request("POST", "/agents/{name}/enable", { hasBody: true }, args),
|
|
121
|
+
// POST /agents/{name}/invoke — rank: any-builder — POST /agents/:name/invoke
|
|
122
|
+
postAgentsNameInvoke: (args) => request("POST", "/agents/{name}/invoke", { hasBody: true }, args),
|
|
107
123
|
},
|
|
108
124
|
"analytics": {
|
|
109
125
|
// GET /analytics/builder/{id} — rank: any-builder — GET /analytics/builder/:id
|
|
@@ -5,6 +5,7 @@ export declare const DEFAULT_BASE_URL: string;
|
|
|
5
5
|
|
|
6
6
|
// Request-body + shared types, generated from the OpenAPI components.schemas.
|
|
7
7
|
export interface ApiErrorObject { code: string; message: string; details?: unknown }
|
|
8
|
+
export interface DeleteAgentsNameResponse { ok: boolean; deleted: unknown }
|
|
8
9
|
export interface DeleteBoxSshKeyIdResponse { ok: boolean; deleted: unknown }
|
|
9
10
|
export interface DeleteConnectionsIdResponse { outcome: unknown }
|
|
10
11
|
export interface DeleteDependenciesResponse { ok: boolean }
|
|
@@ -19,6 +20,7 @@ export interface ErrorEnvelope { error: ApiErrorObject }
|
|
|
19
20
|
export interface GetAccessRequestsResponse { requests: unknown }
|
|
20
21
|
export interface GetAccessRequestsStatusResponse { github_login: unknown; status: unknown; admitted: unknown }
|
|
21
22
|
export interface GetAchievementsResponse { achievements: unknown }
|
|
23
|
+
export interface GetAgentRunsIdResponse { ok: boolean; run: unknown }
|
|
22
24
|
export interface GetAgentsNameResponse { ok: boolean; agent: unknown }
|
|
23
25
|
export interface GetAgentsResponse { ok: boolean; agents: unknown; counts: unknown; vocabulary: unknown }
|
|
24
26
|
export interface GetAuditLogResponse { rows: unknown; page: unknown }
|
|
@@ -146,6 +148,7 @@ export interface GetVersionsResponse { versions: unknown; page: unknown }
|
|
|
146
148
|
export interface PageInfo { limit: number; offset: number; total?: number }
|
|
147
149
|
export interface PatchAccessRequestsIdRequest { status: string }
|
|
148
150
|
export interface PatchAccessRequestsIdResponse { ok: boolean; request: unknown; unchanged?: boolean }
|
|
151
|
+
export interface PatchAgentsNameResponse { ok: boolean; agent: unknown }
|
|
149
152
|
export interface PatchBoxesBuilderIdBlockRequest { blocked: boolean; reason?: string; close_current?: boolean }
|
|
150
153
|
export interface PatchBoxesBuilderIdBlockResponse { ok: boolean; blocked: unknown; close_queued: unknown }
|
|
151
154
|
export interface PatchBuildersIdBudgetRequest { monthly_budget_usd?: unknown }
|
|
@@ -191,6 +194,11 @@ export interface PostAccessRequestsInviteRequest { github_login: string }
|
|
|
191
194
|
export interface PostAccessRequestsInviteResponse { ok: boolean; already_invited?: boolean; github_login?: unknown; request?: unknown }
|
|
192
195
|
export interface PostAccessRequestsRequest { github_login: string; display_name?: string; note?: string }
|
|
193
196
|
export interface PostAccessRequestsResponse { ok: boolean; request?: unknown; already_pending?: boolean }
|
|
197
|
+
export interface PostAgentsNameDisableResponse { ok: boolean; agent: unknown }
|
|
198
|
+
export interface PostAgentsNameEnableResponse { ok: boolean; agent: unknown }
|
|
199
|
+
export interface PostAgentsNameInvokeRequest { input?: string }
|
|
200
|
+
export interface PostAgentsNameInvokeResponse { ok: boolean; run_id: unknown; poll: unknown; message: unknown }
|
|
201
|
+
export interface PostAgentsResponse { ok: boolean; agent: unknown }
|
|
194
202
|
export interface PostAuthAppPairApproveRequest { pair_code: string }
|
|
195
203
|
export interface PostAuthAppPairApproveResponse { ok: boolean }
|
|
196
204
|
export interface PostAuthAppPairPollRequest { poll_token: string }
|
|
@@ -436,11 +444,27 @@ export interface BongosClient {
|
|
|
436
444
|
/** GET /achievements — rank: any-builder */
|
|
437
445
|
getAchievements(args?: RequestArgs): Promise<GetAchievementsResponse>;
|
|
438
446
|
};
|
|
447
|
+
"agentRuns": {
|
|
448
|
+
/** GET /agent-runs/{id} — rank: any-builder */
|
|
449
|
+
getAgentRunsId(args?: RequestArgs): Promise<GetAgentRunsIdResponse>;
|
|
450
|
+
};
|
|
439
451
|
"agents": {
|
|
440
452
|
/** GET /agents — rank: any-builder */
|
|
441
453
|
getAgents(args?: RequestArgs): Promise<GetAgentsResponse>;
|
|
454
|
+
/** POST /agents — rank: metic+archon */
|
|
455
|
+
postAgents(args?: RequestArgs): Promise<PostAgentsResponse>;
|
|
456
|
+
/** DELETE /agents/{name} — rank: metic+archon */
|
|
457
|
+
deleteAgentsName(args?: RequestArgs): Promise<DeleteAgentsNameResponse>;
|
|
442
458
|
/** GET /agents/{name} — rank: any-builder */
|
|
443
459
|
getAgentsName(args?: RequestArgs): Promise<GetAgentsNameResponse>;
|
|
460
|
+
/** PATCH /agents/{name} — rank: metic+archon */
|
|
461
|
+
patchAgentsName(args?: RequestArgs): Promise<PatchAgentsNameResponse>;
|
|
462
|
+
/** POST /agents/{name}/disable — rank: metic+archon */
|
|
463
|
+
postAgentsNameDisable(args?: RequestArgs): Promise<PostAgentsNameDisableResponse>;
|
|
464
|
+
/** POST /agents/{name}/enable — rank: metic+archon */
|
|
465
|
+
postAgentsNameEnable(args?: RequestArgs): Promise<PostAgentsNameEnableResponse>;
|
|
466
|
+
/** POST /agents/{name}/invoke — rank: any-builder */
|
|
467
|
+
postAgentsNameInvoke(args?: RequestArgs & { body?: PostAgentsNameInvokeRequest }): Promise<PostAgentsNameInvokeResponse>;
|
|
444
468
|
};
|
|
445
469
|
"analytics": {
|
|
446
470
|
/** GET /analytics/builder/{id} — rank: any-builder */
|
|
@@ -96,11 +96,27 @@ export function createClient(opts = {}) {
|
|
|
96
96
|
// GET /achievements — rank: any-builder — GET /achievements
|
|
97
97
|
getAchievements: (args) => request("GET", "/achievements", { hasBody: false }, args),
|
|
98
98
|
},
|
|
99
|
+
"agentRuns": {
|
|
100
|
+
// GET /agent-runs/{id} — rank: any-builder — GET /agent-runs/:id
|
|
101
|
+
getAgentRunsId: (args) => request("GET", "/agent-runs/{id}", { hasBody: false }, args),
|
|
102
|
+
},
|
|
99
103
|
"agents": {
|
|
100
104
|
// GET /agents — rank: any-builder — GET /agents
|
|
101
105
|
getAgents: (args) => request("GET", "/agents", { hasBody: false }, args),
|
|
106
|
+
// POST /agents — rank: metic+archon — POST /agents
|
|
107
|
+
postAgents: (args) => request("POST", "/agents", { hasBody: true }, args),
|
|
108
|
+
// DELETE /agents/{name} — rank: metic+archon — DELETE /agents/:name
|
|
109
|
+
deleteAgentsName: (args) => request("DELETE", "/agents/{name}", { hasBody: false }, args),
|
|
102
110
|
// GET /agents/{name} — rank: any-builder — GET /agents/:name
|
|
103
111
|
getAgentsName: (args) => request("GET", "/agents/{name}", { hasBody: false }, args),
|
|
112
|
+
// PATCH /agents/{name} — rank: metic+archon — PATCH /agents/:name
|
|
113
|
+
patchAgentsName: (args) => request("PATCH", "/agents/{name}", { hasBody: true }, args),
|
|
114
|
+
// POST /agents/{name}/disable — rank: metic+archon — POST /agents/:name/disable
|
|
115
|
+
postAgentsNameDisable: (args) => request("POST", "/agents/{name}/disable", { hasBody: true }, args),
|
|
116
|
+
// POST /agents/{name}/enable — rank: metic+archon — POST /agents/:name/enable
|
|
117
|
+
postAgentsNameEnable: (args) => request("POST", "/agents/{name}/enable", { hasBody: true }, args),
|
|
118
|
+
// POST /agents/{name}/invoke — rank: any-builder — POST /agents/:name/invoke
|
|
119
|
+
postAgentsNameInvoke: (args) => request("POST", "/agents/{name}/invoke", { hasBody: true }, args),
|
|
104
120
|
},
|
|
105
121
|
"analytics": {
|
|
106
122
|
// GET /analytics/builder/{id} — rank: any-builder — GET /analytics/builder/:id
|