@lobu/runtime-device 24.4.0 → 24.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/dist/component.json +1 -1
- package/dist/dependencies.bun.lock +45 -47
- package/dist/verify.mjs +1 -1
- package/npm-shrinkwrap.json +42 -58
- package/package.json +2 -2
- package/vendor/cli/dist/bundled-skills/lobu/SKILL.md +8 -2
- package/vendor/cli/dist/commands/_lib/apply/apply-cmd.js +20 -13
- package/vendor/cli/dist/commands/_lib/apply/client.d.ts +48 -100
- package/vendor/cli/dist/commands/_lib/apply/client.js +76 -27
- package/vendor/cli/dist/commands/_lib/apply/deployment.js +1 -1
- package/vendor/cli/dist/commands/_lib/apply/desired-state.d.ts +7 -11
- package/vendor/cli/dist/commands/_lib/apply/desired-state.js +9 -40
- package/vendor/cli/dist/commands/_lib/apply/diff.d.ts +4 -4
- package/vendor/cli/dist/commands/_lib/apply/diff.js +37 -33
- package/vendor/cli/dist/commands/_lib/apply/map-config.d.ts +1 -1
- package/vendor/cli/dist/commands/_lib/apply/map-config.js +79 -92
- package/vendor/cli/dist/commands/_lib/apply/shared.d.ts +3 -6
- package/vendor/cli/dist/commands/_lib/apply/shared.js +8 -19
- package/vendor/cli/dist/commands/dev.js +21 -7
- package/vendor/cli/dist/commands/doctor.js +1 -8
- package/vendor/cli/dist/commands/init.js +4 -5
- package/vendor/cli/dist/config/define.d.ts +27 -28
- package/vendor/cli/dist/config/define.js +4 -5
- package/vendor/cli/dist/connectors/postgres.ts +77 -48
- package/vendor/cli/dist/internal/api-client.d.ts +2 -0
- package/vendor/cli/dist/internal/api-client.js +6 -1
- package/vendor/cli/dist/internal/node-binary.d.ts +22 -0
- package/vendor/cli/dist/internal/node-binary.js +73 -0
- package/vendor/cli/dist/internal/node-version.d.ts +7 -12
- package/vendor/cli/dist/internal/node-version.js +16 -20
- package/vendor/cli/dist/runtime-components.json +4 -4
- package/vendor/cli/dist/templates/AGENTS.md.tmpl +2 -2
- package/vendor/cli/package.json +2 -2
- package/vendor/connector-sdk/dist/reaction-client-types.d.ts +8 -2
- package/vendor/connector-sdk/dist/reaction-sdk.d.ts +5 -1
- package/vendor/connector-sdk/package.json +1 -1
- package/vendor/connector-worker/dist/daemon/acp-adapters/claude.js +1 -1
- package/vendor/connector-worker/dist/daemon/agent-turn.js +21 -10
- package/vendor/connector-worker/dist/daemon/client.d.ts +25 -8
- package/vendor/connector-worker/dist/daemon/client.js +25 -3
- package/vendor/connector-worker/dist/daemon/mac-device-daemon.js +7 -1
- package/vendor/connector-worker/dist/daemon/poll-loop.d.ts +17 -0
- package/vendor/connector-worker/dist/daemon/poll-loop.js +75 -6
- package/vendor/connector-worker/dist/daemon/resource-admission.d.ts +19 -0
- package/vendor/connector-worker/dist/daemon/resource-admission.js +59 -0
- package/vendor/connector-worker/dist/daemon/resources.d.ts +20 -0
- package/vendor/connector-worker/dist/daemon/resources.js +163 -0
- package/vendor/connector-worker/dist/daemon/start.js +29 -4
- package/vendor/connector-worker/dist/daemon/worker.d.ts +2 -0
- package/vendor/connector-worker/dist/daemon/worker.js +4 -0
- package/vendor/connector-worker/dist/executor/select.d.ts +1 -1
- package/vendor/connector-worker/dist/executor/select.js +1 -1
- package/vendor/connector-worker/dist/isolate/ivm-types.d.ts +1 -2
- package/vendor/connector-worker/dist/isolate/ivm-types.js +1 -2
- package/vendor/connector-worker/dist/isolate/load.d.ts +10 -12
- package/vendor/connector-worker/dist/isolate/load.js +23 -27
- package/vendor/connector-worker/dist/self-check/index.d.ts +2 -2
- package/vendor/connector-worker/dist/self-check/index.js +2 -2
- package/vendor/connector-worker/package.json +3 -4
- package/vendor/core/dist/contracts/agent-settings.d.ts +61 -6
- package/vendor/core/dist/contracts/agent-settings.js +10 -7
- package/vendor/core/dist/contracts/tools/manage-agents.d.ts +473 -98
- package/vendor/core/dist/contracts/tools/manage-agents.js +111 -2
- package/vendor/core/dist/contracts/tools/manage-automations.d.ts +21 -18
- package/vendor/core/dist/contracts/tools/manage-automations.js +15 -15
- package/vendor/core/dist/contracts/tools/manage-entity-schema.js +2 -2
- package/vendor/core/dist/contracts/tools/manage-inference-providers.d.ts +445 -0
- package/vendor/core/dist/contracts/tools/manage-inference-providers.js +133 -0
- package/vendor/core/dist/contracts/tools/manage-views.d.ts +4 -4
- package/vendor/core/dist/contracts/tools/manage-views.js +5 -3
- package/vendor/core/dist/contracts/worker/device-automation.js +4 -2
- package/vendor/core/dist/error-report.d.ts +73 -0
- package/vendor/core/dist/error-report.js +346 -0
- package/vendor/core/dist/index.d.ts +3 -1
- package/vendor/core/dist/index.js +4 -1
- package/vendor/core/dist/logger.js +7 -4
- package/vendor/core/dist/otel-fetch.d.ts +19 -0
- package/vendor/core/dist/otel-fetch.js +96 -0
- package/vendor/core/dist/otel.d.ts +9 -0
- package/vendor/core/dist/otel.js +28 -7
- package/vendor/core/dist/reserved.d.ts +1 -1
- package/vendor/core/dist/reserved.js +6 -4
- package/vendor/core/dist/tool-result.d.ts +8 -0
- package/vendor/core/dist/tool-result.js +61 -0
- package/vendor/core/dist/utils/diagnostic-scrubber.js +1 -1
- package/vendor/core/dist/worker/auth.js +4 -0
- package/vendor/core/package.json +6 -1
- /package/vendor/cli/dist/vendor/ora/{.bun-tag-fde20e9a6df212fa → .bun-tag-77bb9b258a474a18} +0 -0
- /package/vendor/ora/{.bun-tag-fde20e9a6df212fa → .bun-tag-77bb9b258a474a18} +0 -0
- /package/vendor/postgres/{.bun-tag-22d644c2873790db → .bun-tag-c81dacd34e959a7a} +0 -0
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobu/runtime-device",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.5.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@lobu/runtime-device",
|
|
9
|
-
"version": "24.
|
|
9
|
+
"version": "24.5.0",
|
|
10
10
|
"license": "BUSL-1.1",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@lobu/cli": "file:vendor/cli",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"turndown": "7.2.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=26 <27"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"node_modules/@agentclientprotocol/sdk": {
|
|
@@ -385,9 +385,9 @@
|
|
|
385
385
|
}
|
|
386
386
|
},
|
|
387
387
|
"node_modules/@babel/runtime": {
|
|
388
|
-
"version": "7.29.
|
|
389
|
-
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.
|
|
390
|
-
"integrity": "sha512-
|
|
388
|
+
"version": "7.29.13",
|
|
389
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.13.tgz",
|
|
390
|
+
"integrity": "sha512-v+oN26xP4YIlQsbQ/CbTH1WG5m/l/DjKKZNy/Kp3f/AFvbgt7Em/D0FeMM3O2hX0YzeN2M16W8lOpyhIkfCBcQ==",
|
|
391
391
|
"license": "MIT",
|
|
392
392
|
"engines": {
|
|
393
393
|
"node": ">=6.9.0"
|
|
@@ -2785,9 +2785,9 @@
|
|
|
2785
2785
|
}
|
|
2786
2786
|
},
|
|
2787
2787
|
"node_modules/fast-xml-parser": {
|
|
2788
|
-
"version": "5.
|
|
2789
|
-
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.
|
|
2790
|
-
"integrity": "sha512
|
|
2788
|
+
"version": "5.12.0",
|
|
2789
|
+
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.12.0.tgz",
|
|
2790
|
+
"integrity": "sha512-/pXxRBtwxY9w8z7YbgsvIPPcPvFDsTbIkWwTQJhzNJPokj+TbN6ftmcv4j/pEQDvOCNnKGDzuk5Bo2oogIOiFg==",
|
|
2791
2791
|
"funding": [
|
|
2792
2792
|
{
|
|
2793
2793
|
"type": "github",
|
|
@@ -2796,11 +2796,11 @@
|
|
|
2796
2796
|
],
|
|
2797
2797
|
"license": "MIT",
|
|
2798
2798
|
"dependencies": {
|
|
2799
|
-
"@nodable/entities": "^3.0
|
|
2800
|
-
"fast-xml-builder": "^1.
|
|
2801
|
-
"is-unsafe": "^2.0.
|
|
2799
|
+
"@nodable/entities": "^3.1.0",
|
|
2800
|
+
"fast-xml-builder": "^1.3.1",
|
|
2801
|
+
"is-unsafe": "^2.0.3",
|
|
2802
2802
|
"path-expression-matcher": "^1.6.2",
|
|
2803
|
-
"strnum": "^2.
|
|
2803
|
+
"strnum": "^2.5.1",
|
|
2804
2804
|
"xml-naming": "^0.3.0"
|
|
2805
2805
|
},
|
|
2806
2806
|
"bin": {
|
|
@@ -3236,9 +3236,9 @@
|
|
|
3236
3236
|
}
|
|
3237
3237
|
},
|
|
3238
3238
|
"node_modules/ip-address": {
|
|
3239
|
-
"version": "10.7.
|
|
3240
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.
|
|
3241
|
-
"integrity": "sha512-
|
|
3239
|
+
"version": "10.7.6",
|
|
3240
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.6.tgz",
|
|
3241
|
+
"integrity": "sha512-00LYkM6byILa9eQIx6qoaXCM40xTLd56AZ4vyaPW3YTyb49VZYPo5xsiAq4tuQ54GH4R7gVdYScJ1B7B77PuTg==",
|
|
3242
3242
|
"license": "MIT",
|
|
3243
3243
|
"engines": {
|
|
3244
3244
|
"node": ">= 12"
|
|
@@ -3350,9 +3350,9 @@
|
|
|
3350
3350
|
}
|
|
3351
3351
|
},
|
|
3352
3352
|
"node_modules/is-unsafe": {
|
|
3353
|
-
"version": "2.0.
|
|
3354
|
-
"resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-2.0.
|
|
3355
|
-
"integrity": "sha512-
|
|
3353
|
+
"version": "2.0.3",
|
|
3354
|
+
"resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-2.0.3.tgz",
|
|
3355
|
+
"integrity": "sha512-ZBllczCCO267vgdFb6Tq3pv+LhHaCiGMdr+ZsuL+OopruAg7S+3ZDs1vD0RPC0uSrkjzbraxaGjtX1YBxjPeFQ==",
|
|
3356
3356
|
"funding": [
|
|
3357
3357
|
{
|
|
3358
3358
|
"type": "github",
|
|
@@ -3383,21 +3383,6 @@
|
|
|
3383
3383
|
"license": "MIT"
|
|
3384
3384
|
},
|
|
3385
3385
|
"node_modules/isolated-vm": {
|
|
3386
|
-
"version": "6.2.0",
|
|
3387
|
-
"resolved": "https://registry.npmjs.org/isolated-vm/-/isolated-vm-6.2.0.tgz",
|
|
3388
|
-
"integrity": "sha512-UuSlxSHWt2QuJ5WvBhzlIJx2VVZN/a44SqBbEZFKNdvuSyhOvhmyDo8SQ+njVbhnh/njoL/aW0bUTiFYlpweGQ==",
|
|
3389
|
-
"hasInstallScript": true,
|
|
3390
|
-
"license": "ISC",
|
|
3391
|
-
"optional": true,
|
|
3392
|
-
"dependencies": {
|
|
3393
|
-
"node-gyp-build": "^4.8.4"
|
|
3394
|
-
},
|
|
3395
|
-
"engines": {
|
|
3396
|
-
"node": ">=22.0.0"
|
|
3397
|
-
}
|
|
3398
|
-
},
|
|
3399
|
-
"node_modules/isolated-vm-next": {
|
|
3400
|
-
"name": "isolated-vm",
|
|
3401
3386
|
"version": "7.0.2",
|
|
3402
3387
|
"resolved": "https://registry.npmjs.org/isolated-vm/-/isolated-vm-7.0.2.tgz",
|
|
3403
3388
|
"integrity": "sha512-Z1sYxpptGyGiKblG16EJEdP5x9/68C6AuqFFsewnrxlwSlrTLHKqtRMogOjcYZ0f8/cijMaRi+XwiHVQ1+uG+g==",
|
|
@@ -3412,9 +3397,9 @@
|
|
|
3412
3397
|
}
|
|
3413
3398
|
},
|
|
3414
3399
|
"node_modules/isomorphic-git": {
|
|
3415
|
-
"version": "1.44.
|
|
3416
|
-
"resolved": "https://registry.npmjs.org/isomorphic-git/-/isomorphic-git-1.44.
|
|
3417
|
-
"integrity": "sha512-
|
|
3400
|
+
"version": "1.44.10",
|
|
3401
|
+
"resolved": "https://registry.npmjs.org/isomorphic-git/-/isomorphic-git-1.44.10.tgz",
|
|
3402
|
+
"integrity": "sha512-OMlkGP84A84E01mEuXXTzaVJtBqDpK8n8KevA229oVscY4SqgkQ20ByGudME5V6Y2wPpHbH7gYjY5dMK1PXFkQ==",
|
|
3418
3403
|
"license": "MIT",
|
|
3419
3404
|
"dependencies": {
|
|
3420
3405
|
"async-lock": "^1.4.1",
|
|
@@ -4438,9 +4423,9 @@
|
|
|
4438
4423
|
}
|
|
4439
4424
|
},
|
|
4440
4425
|
"node_modules/semver": {
|
|
4441
|
-
"version": "7.8.
|
|
4442
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.
|
|
4443
|
-
"integrity": "sha512-
|
|
4426
|
+
"version": "7.8.6",
|
|
4427
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz",
|
|
4428
|
+
"integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==",
|
|
4444
4429
|
"license": "ISC",
|
|
4445
4430
|
"optional": true,
|
|
4446
4431
|
"bin": {
|
|
@@ -4722,9 +4707,9 @@
|
|
|
4722
4707
|
}
|
|
4723
4708
|
},
|
|
4724
4709
|
"node_modules/strtok3": {
|
|
4725
|
-
"version": "10.
|
|
4726
|
-
"resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.
|
|
4727
|
-
"integrity": "sha512-
|
|
4710
|
+
"version": "10.7.0",
|
|
4711
|
+
"resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.7.0.tgz",
|
|
4712
|
+
"integrity": "sha512-iAqrCpp7UXD2FZiHWhLXqdJ6CmNeVzRkkHAyyhhKMVtbVm2KtPX3D/bJNonvtcyLTHS4rwqP2pz9fsjK1K4z0Q==",
|
|
4728
4713
|
"license": "MIT",
|
|
4729
4714
|
"dependencies": {
|
|
4730
4715
|
"@tokenizer/token": "^0.3.0"
|
|
@@ -4891,12 +4876,12 @@
|
|
|
4891
4876
|
}
|
|
4892
4877
|
},
|
|
4893
4878
|
"node_modules/token-types": {
|
|
4894
|
-
"version": "6.
|
|
4895
|
-
"resolved": "https://registry.npmjs.org/token-types/-/token-types-6.
|
|
4896
|
-
"integrity": "sha512-
|
|
4879
|
+
"version": "6.2.0",
|
|
4880
|
+
"resolved": "https://registry.npmjs.org/token-types/-/token-types-6.2.0.tgz",
|
|
4881
|
+
"integrity": "sha512-s9euYHM//T3loJtbNUYdbAzsMlvKBeRS+XCLFy+UGosMQH19Hwjap5k19i4PPAEJJBsVIpMpVTxl4fIqCuNfUg==",
|
|
4897
4882
|
"license": "MIT",
|
|
4898
4883
|
"dependencies": {
|
|
4899
|
-
"@borewit/text-codec": "^0.2.
|
|
4884
|
+
"@borewit/text-codec": "^0.2.3",
|
|
4900
4885
|
"@tokenizer/token": "^0.3.0",
|
|
4901
4886
|
"ieee754": "^1.2.1"
|
|
4902
4887
|
},
|
|
@@ -4952,9 +4937,9 @@
|
|
|
4952
4937
|
}
|
|
4953
4938
|
},
|
|
4954
4939
|
"node_modules/typebox": {
|
|
4955
|
-
"version": "1.4.
|
|
4956
|
-
"resolved": "https://registry.npmjs.org/typebox/-/typebox-1.4.
|
|
4957
|
-
"integrity": "sha512-
|
|
4940
|
+
"version": "1.4.4",
|
|
4941
|
+
"resolved": "https://registry.npmjs.org/typebox/-/typebox-1.4.4.tgz",
|
|
4942
|
+
"integrity": "sha512-ctPyL8BZibv6HYU6cE3ldDtfCTh7nXM7WPuL3KQVyRRhMnZEzU3o2yLVywxEEFmKEx+8EdeqG1/uTNzazRbxLA==",
|
|
4958
4943
|
"license": "MIT"
|
|
4959
4944
|
},
|
|
4960
4945
|
"node_modules/typed-array-buffer": {
|
|
@@ -5361,7 +5346,7 @@
|
|
|
5361
5346
|
},
|
|
5362
5347
|
"vendor/cli": {
|
|
5363
5348
|
"name": "@lobu/cli",
|
|
5364
|
-
"version": "24.
|
|
5349
|
+
"version": "24.5.0",
|
|
5365
5350
|
"license": "Apache-2.0",
|
|
5366
5351
|
"dependencies": {
|
|
5367
5352
|
"@clack/prompts": "^1.2.0",
|
|
@@ -5387,12 +5372,12 @@
|
|
|
5387
5372
|
"yaml": "^2.7.1"
|
|
5388
5373
|
},
|
|
5389
5374
|
"engines": {
|
|
5390
|
-
"node": ">=
|
|
5375
|
+
"node": ">=26 <27"
|
|
5391
5376
|
}
|
|
5392
5377
|
},
|
|
5393
5378
|
"vendor/connector-sdk": {
|
|
5394
5379
|
"name": "@lobu/connector-sdk",
|
|
5395
|
-
"version": "24.
|
|
5380
|
+
"version": "24.5.0",
|
|
5396
5381
|
"license": "BUSL-1.1",
|
|
5397
5382
|
"dependencies": {
|
|
5398
5383
|
"@lobu/core": "file:../core",
|
|
@@ -5407,7 +5392,7 @@
|
|
|
5407
5392
|
},
|
|
5408
5393
|
"vendor/connector-worker": {
|
|
5409
5394
|
"name": "@lobu/connector-worker",
|
|
5410
|
-
"version": "24.
|
|
5395
|
+
"version": "24.5.0",
|
|
5411
5396
|
"license": "BUSL-1.1",
|
|
5412
5397
|
"dependencies": {
|
|
5413
5398
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
@@ -5424,16 +5409,15 @@
|
|
|
5424
5409
|
"connector-worker": "dist/bin.js"
|
|
5425
5410
|
},
|
|
5426
5411
|
"engines": {
|
|
5427
|
-
"node": ">=
|
|
5412
|
+
"node": ">=26 <27"
|
|
5428
5413
|
},
|
|
5429
5414
|
"optionalDependencies": {
|
|
5430
|
-
"isolated-vm": "
|
|
5431
|
-
"isolated-vm-next": "npm:isolated-vm@^7.0.1"
|
|
5415
|
+
"isolated-vm": "7.0.2"
|
|
5432
5416
|
}
|
|
5433
5417
|
},
|
|
5434
5418
|
"vendor/core": {
|
|
5435
5419
|
"name": "@lobu/core",
|
|
5436
|
-
"version": "24.
|
|
5420
|
+
"version": "24.5.0",
|
|
5437
5421
|
"license": "Apache-2.0",
|
|
5438
5422
|
"dependencies": {
|
|
5439
5423
|
"@opentelemetry/api": "^1.9.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobu/runtime-device",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"npm-shrinkwrap.json"
|
|
15
15
|
],
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
17
|
+
"node": ">=26 <27"
|
|
18
18
|
},
|
|
19
19
|
"overrides": {
|
|
20
20
|
"sharp": "^0.35.3"
|
|
@@ -50,7 +50,7 @@ If the user gave permission to research and has a public domain, research the co
|
|
|
50
50
|
|
|
51
51
|
### 3. Discover the surface before choosing how to scaffold
|
|
52
52
|
|
|
53
|
-
Check Node is
|
|
53
|
+
Check Node is 26.x, then run `lobu context list` and identify the named Lobu Cloud context; do not assume the active context still points to cloud after a local run. If a managed or cloud connector was chosen and there is no session, ask for the login email at that point, explain that Lobu will email an approval link, and run `lobu login --email <confirmed-address> --context <cloud-name>`. The person approving must sign in with that same email; knowing an address never grants access. After a successful login, an empty organization membership list is a tenancy/discovery result, not an authentication failure: call `client.organizations.list()` and explain the result. Never revoke or repeat login with `--force` unless the user separately approves that re-authentication.
|
|
54
54
|
|
|
55
55
|
Use ClientSDK through Lobu MCP with the explicit cloud context. From the CLI, account discovery works before selecting an active org with `lobu memory run query_sdk '{"title":"Find managed connection providers","script":"export default async (_ctx, client) => client.organizations.list()"}'`; `lobu call` over REST requires an active org. Call `client.organizations.list()` to find public organizations offering managed connections. Call `client.catalog.listInstalled({ kinds: ["connectors"] })`; if the connector is not installed, call `client.catalog.listCatalog({ kinds: ["connectors"] })`. Inspect the selected entry's `detail.auth_schema`, `detail.options_schema`, `detail.feeds_schema`, and `detail.automation_events` instead of guessing field names. On account-scoped `/mcp`, select an authorized home workspace first with `const home = await client.org(homeSlug)` and call `home.connections.connectManaged`; put the public provider org in `managed_by_org`, rather than selecting that provider org with `client.org`. This call runs against cloud, not the embedded runtime. If a matching live managed offer exists, explain it and call `client.connections.connectManaged` only after consent. Complete the returned user authorization, then run `lobu context use <cloud-name>` immediately before executing its `local_bootstrap_command` from the parent directory where the new project should be created; use `--here` only after entering an empty directory, and do not create a blank Lobu scaffold first. Ask for bring-your-own OAuth credentials only if no managed offer exists or the user prefers their own app.
|
|
56
56
|
|
|
@@ -236,7 +236,13 @@ Search before create to avoid duplicates. Prefer a read or dry run before mutati
|
|
|
236
236
|
|
|
237
237
|
## Custom Views
|
|
238
238
|
|
|
239
|
-
Before authoring UI, inspect available native entity/event pages, existing views (`client.views.list()` and `client.views.get({ key })`), and the project's shared components and overrides. Honor explicit user designs
|
|
239
|
+
Before authoring UI, inspect available native entity/event pages, existing views (`client.views.list()` and `client.views.get({ key })`), and the project's shared components and overrides. Honor explicit user designs and reuse UI from the top down:
|
|
240
|
+
|
|
241
|
+
1. Use the largest existing surface or component that meets the task. Configure its segment, filters, search, saved preset and layout before replacing its UI.
|
|
242
|
+
2. If that surface cannot meet a concrete requirement, compose its exported parts, such as an individual table, board, graph or shared collection controls when available. Preserve shared selection and action handling instead of rebuilding that logic.
|
|
243
|
+
3. If those parts still do not fit, use smaller shared primitives and write custom UI only for the remaining gap. Explain the unmet requirement that forced each step down.
|
|
244
|
+
|
|
245
|
+
Check the current exports and target host before choosing an import; native renderer registrations do not imply React exports. Surface a missing export as a platform gap rather than inventing an API or silently copying the native implementation. `@lobu/views/components` currently supplies theme-aware defaults such as `Card`, `DataTable`, filters, charts, links and query-state components. When exploration needs specialized linked charts, drilldowns, scenario controls or Canvas/SVG, compose a React view from the suitable existing components.
|
|
240
246
|
|
|
241
247
|
Native JSON templates use the target renderer's registered component names and overrides; inspect what that host actually supplies. React views compose imported components in their own bundle, independently of that native renderer map.
|
|
242
248
|
|
|
@@ -205,7 +205,7 @@ export async function fetchRemoteSnapshot(client, state, only, prune = false) {
|
|
|
205
205
|
const remoteAgentIds = new Set(agents.map((a) => a.agentId));
|
|
206
206
|
const targetAgentIds = desiredAgentIds.filter((id) => remoteAgentIds.has(id));
|
|
207
207
|
for (const agentId of targetAgentIds) {
|
|
208
|
-
agentSettings.set(agentId, await client.getAgentSettings(agentId));
|
|
208
|
+
agentSettings.set(agentId, await client.getAgentSettings(agentId, agents.find((agent) => agent.agentId === agentId)));
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
const entityTypes = only === "agents" ? [] : await client.listEntityTypes();
|
|
@@ -302,6 +302,14 @@ async function installConnectorDefinitions(client, state, catalog, plan) {
|
|
|
302
302
|
const def = row.desired;
|
|
303
303
|
if (!def)
|
|
304
304
|
continue;
|
|
305
|
+
const key = def.key ?? def.declaredKeyHint;
|
|
306
|
+
const remote = catalog.find((entry) => entry.installed && entry.key === key);
|
|
307
|
+
if (row.verb === "update" && !remote?.version) {
|
|
308
|
+
throw new ApiError(`Cannot safely update connector '${key}': its active version is missing. Refresh the catalog and retry.`);
|
|
309
|
+
}
|
|
310
|
+
const target = row.verb === "update" && remote?.version
|
|
311
|
+
? { connector_key: remote.key, expected_version: remote.version }
|
|
312
|
+
: undefined;
|
|
305
313
|
let result;
|
|
306
314
|
if (def.sourcePath) {
|
|
307
315
|
const artifact = def.compiledArtifact;
|
|
@@ -313,16 +321,16 @@ async function installConnectorDefinitions(client, state, catalog, plan) {
|
|
|
313
321
|
compiledCode: artifact.compiledCode,
|
|
314
322
|
sourceFiles: artifact.sourceFiles,
|
|
315
323
|
dependencies: artifact.dependencies,
|
|
316
|
-
});
|
|
324
|
+
}, target);
|
|
317
325
|
}
|
|
318
326
|
else if (def.sourceCode !== undefined) {
|
|
319
327
|
// `source_url` connector: source was fetched into `sourceCode` and has no
|
|
320
328
|
// local project/node_modules to bundle against — upload it raw and let
|
|
321
329
|
// the gateway compile it (the pre-existing path).
|
|
322
|
-
result = await client.installConnector({ sourceCode: def.sourceCode });
|
|
330
|
+
result = await client.installConnector({ sourceCode: def.sourceCode }, target);
|
|
323
331
|
}
|
|
324
332
|
else {
|
|
325
|
-
result = await client.installConnector({ sourceUrl: def.sourceUrl });
|
|
333
|
+
result = await client.installConnector({ sourceUrl: def.sourceUrl }, target);
|
|
326
334
|
}
|
|
327
335
|
if (result.connectorKey) {
|
|
328
336
|
locallySuppliedKeys.add(result.connectorKey);
|
|
@@ -641,8 +649,8 @@ export async function executePlan(ctx, pendingAuth) {
|
|
|
641
649
|
min_cooldown_seconds: w.minCooldownSeconds,
|
|
642
650
|
tags: w.tags,
|
|
643
651
|
agent_kind: w.agentKind,
|
|
644
|
-
execution_config: w.
|
|
645
|
-
? automationExecutionConfig(w.model, undefined, w.
|
|
652
|
+
execution_config: w.executionConfig !== undefined || w.model !== undefined
|
|
653
|
+
? automationExecutionConfig(w.model, undefined, w.executionConfig)
|
|
646
654
|
: undefined,
|
|
647
655
|
outputs: w.outputs,
|
|
648
656
|
});
|
|
@@ -672,7 +680,7 @@ export async function executePlan(ctx, pendingAuth) {
|
|
|
672
680
|
// update reaches the server. Push first (idempotent, no drift signal
|
|
673
681
|
// because it's not returned by Automation lists) so the rule sees it.
|
|
674
682
|
// Removal (`reaction: null`) is handled in step (b2) below, after the
|
|
675
|
-
//
|
|
683
|
+
// scalar updates — never here.
|
|
676
684
|
if (w.reactionScript) {
|
|
677
685
|
await ctx.client.setReactionScript(automationId, w.reactionScript.sourceCode);
|
|
678
686
|
}
|
|
@@ -701,15 +709,14 @@ export async function executePlan(ctx, pendingAuth) {
|
|
|
701
709
|
: {}),
|
|
702
710
|
...(scalarForUpdate.includes("execution_config")
|
|
703
711
|
? {
|
|
704
|
-
execution_config: automationExecutionConfig(w.model, remote?.execution_config, w.
|
|
712
|
+
execution_config: automationExecutionConfig(w.model, remote?.execution_config, w.executionConfig),
|
|
705
713
|
}
|
|
706
714
|
: {}),
|
|
707
715
|
});
|
|
708
716
|
}
|
|
709
|
-
// b2)
|
|
710
|
-
//
|
|
711
|
-
// clears the row via set_reaction_script("")
|
|
712
|
-
// job switching to a script executor never runs both paths.
|
|
717
|
+
// b2) Explicit module removal follows scalar updates so the remaining
|
|
718
|
+
// definition is validated with its final owner and execution settings.
|
|
719
|
+
// `reaction: null` clears the row via set_reaction_script("").
|
|
713
720
|
// Omitted reactions are never touched: the diff only reports
|
|
714
721
|
// `reaction_script` when declared.
|
|
715
722
|
if (changed.has("reaction_script") && w.reactionScript === null) {
|
|
@@ -726,7 +733,7 @@ export async function executePlan(ctx, pendingAuth) {
|
|
|
726
733
|
? { name: w.name }
|
|
727
734
|
: {}),
|
|
728
735
|
...(versionBound.has("description")
|
|
729
|
-
? { description: w.description ??
|
|
736
|
+
? { description: w.description ?? "" }
|
|
730
737
|
: {}),
|
|
731
738
|
...(versionBound.has("prompt") ? { prompt: w.prompt } : {}),
|
|
732
739
|
...(versionBound.has("skills")
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { EntityMetrics } from "@lobu/connector-sdk";
|
|
2
|
-
import type
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
2
|
+
import { type AgentSettings } from "@lobu/core";
|
|
3
|
+
import type { FlatActionInput } from "@lobu/core/contracts/tools/action-input";
|
|
4
|
+
import type { AuthProfileCreateInput, AuthProfileUpdateInput } from "@lobu/core/contracts/tools/manage-auth-profiles";
|
|
5
|
+
import type { LegacyAutomationExecutionConfig, ManageAutomationsArgs } from "@lobu/core/contracts/tools/manage-automations";
|
|
6
|
+
import type { ConnectionCreateInput, ConnectionUpdateInput, InstallConnectorInput, UpdateConnectorSourceInput } from "@lobu/core/contracts/tools/manage-connections";
|
|
7
|
+
import type { FeedCreateInput, FeedUpdateInput } from "@lobu/core/contracts/tools/manage-feeds";
|
|
8
|
+
import type { InferenceCapabilityBlock, InferenceModality, InferenceProviderCreateInput } from "@lobu/core/contracts/tools/manage-inference-providers";
|
|
9
|
+
import type { ViewSetInput } from "@lobu/core/contracts/tools/manage-views";
|
|
6
10
|
import { ApiError } from "../../memory/_lib/errors.js";
|
|
7
11
|
import type { DeploymentSummary } from "./deployment.js";
|
|
8
12
|
import type { DesiredAgentMetadata, DesiredEntityType, DesiredRelationshipType } from "./desired-state.js";
|
|
@@ -124,12 +128,7 @@ export interface RemoteView {
|
|
|
124
128
|
last_writer: string;
|
|
125
129
|
updated_at: string;
|
|
126
130
|
}
|
|
127
|
-
export
|
|
128
|
-
source_code: string;
|
|
129
|
-
compiled_code?: string;
|
|
130
|
-
source_files?: SourceFiles;
|
|
131
|
-
dependencies?: SourceDependencies;
|
|
132
|
-
}
|
|
131
|
+
export type SetViewPayload = ViewSetInput;
|
|
133
132
|
export interface RemoteAutomation {
|
|
134
133
|
slug: string;
|
|
135
134
|
name?: string;
|
|
@@ -138,8 +137,8 @@ export interface RemoteAutomation {
|
|
|
138
137
|
triggers?: import("@lobu/core/contracts/tools/manage-automations").AutomationTrigger[];
|
|
139
138
|
device_worker_id?: string | null;
|
|
140
139
|
goal_id?: number | null;
|
|
141
|
-
agent_kind?:
|
|
142
|
-
execution_config?:
|
|
140
|
+
agent_kind?: ManageAutomationsArgs["agent_kind"];
|
|
141
|
+
execution_config?: LegacyAutomationExecutionConfig | null;
|
|
143
142
|
min_cooldown_seconds?: number | null;
|
|
144
143
|
tags?: string[] | null;
|
|
145
144
|
sources?: AutomationSource[] | null;
|
|
@@ -220,18 +219,17 @@ export interface RemoteFeed {
|
|
|
220
219
|
* diff's changed-field list rather than listing every field unconditionally.
|
|
221
220
|
*/
|
|
222
221
|
export interface UpdateConnectionPayload {
|
|
223
|
-
name?:
|
|
224
|
-
authProfileSlug?:
|
|
225
|
-
appAuthProfileSlug?:
|
|
226
|
-
config?:
|
|
227
|
-
deviceWorkerId?:
|
|
222
|
+
name?: ConnectionUpdateInput["display_name"];
|
|
223
|
+
authProfileSlug?: ConnectionUpdateInput["auth_profile_slug"];
|
|
224
|
+
appAuthProfileSlug?: ConnectionUpdateInput["app_auth_profile_slug"];
|
|
225
|
+
config?: NonNullable<ConnectionUpdateInput["config"]>;
|
|
226
|
+
deviceWorkerId?: ConnectionUpdateInput["device_worker_id"];
|
|
228
227
|
}
|
|
229
228
|
/** The mutable fields of a feed update — same absent-means-unwritten rule. */
|
|
230
229
|
export interface UpdateFeedPayload {
|
|
231
|
-
name?:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
config?: Record<string, unknown>;
|
|
230
|
+
name?: FeedUpdateInput["display_name"];
|
|
231
|
+
schedule?: FeedUpdateInput["schedule"];
|
|
232
|
+
config?: NonNullable<FeedUpdateInput["config"]>;
|
|
235
233
|
}
|
|
236
234
|
interface InstallConnectorResult {
|
|
237
235
|
connectorKey: string;
|
|
@@ -287,6 +285,7 @@ interface ApplyClientConfig {
|
|
|
287
285
|
export declare class ApplyClient {
|
|
288
286
|
private readonly orgSlug;
|
|
289
287
|
private readonly http;
|
|
288
|
+
private readonly agentRevisions;
|
|
290
289
|
constructor(cfg: ApplyClientConfig, fetchImpl?: typeof fetch);
|
|
291
290
|
/**
|
|
292
291
|
* Delegates the fetch/parse/non-ok-error pipeline to the shared
|
|
@@ -317,11 +316,8 @@ export declare class ApplyClient {
|
|
|
317
316
|
* to the org-scoped IDs issue.
|
|
318
317
|
*/
|
|
319
318
|
upsertAgent(agent: DesiredAgentMetadata): Promise<RemoteAgent>;
|
|
320
|
-
patchAgentMetadata(agentId: string,
|
|
321
|
-
|
|
322
|
-
description?: string;
|
|
323
|
-
}): Promise<void>;
|
|
324
|
-
getAgentSettings(agentId: string): Promise<AgentSettings | null>;
|
|
319
|
+
patchAgentMetadata(agentId: string, updates: Partial<DesiredAgentMetadata>): Promise<void>;
|
|
320
|
+
getAgentSettings(agentId: string, metadata?: RemoteAgent): Promise<AgentSettings | null>;
|
|
325
321
|
patchAgentSettings(agentId: string, settings: Partial<AgentSettings>): Promise<void>;
|
|
326
322
|
/**
|
|
327
323
|
* Record this apply run as a deployment (`POST /api/<org>/deployments`).
|
|
@@ -344,13 +340,7 @@ export declare class ApplyClient {
|
|
|
344
340
|
/** List the org's inference providers (never returns the api key). */
|
|
345
341
|
listInferenceProviders(): Promise<RemoteInferenceProvider[]>;
|
|
346
342
|
/** Create an org inference provider. 409 (surfaced as ApiError) on slug conflict. */
|
|
347
|
-
createInferenceProvider(body:
|
|
348
|
-
slug: string;
|
|
349
|
-
kind: string;
|
|
350
|
-
displayName?: string;
|
|
351
|
-
apiKey: string;
|
|
352
|
-
capabilities?: Partial<Record<InferenceModality, InferenceCapabilityBlock>>;
|
|
353
|
-
}): Promise<RemoteInferenceProvider>;
|
|
343
|
+
createInferenceProvider(body: InferenceProviderCreateInput): Promise<RemoteInferenceProvider>;
|
|
354
344
|
/** Upsert one modality's capability block (`{ base_url?, model?, models_endpoint? }`). */
|
|
355
345
|
updateInferenceProviderCapabilities(slug: string, modality: InferenceModality, block: InferenceCapabilityBlock): Promise<void>;
|
|
356
346
|
/**
|
|
@@ -453,26 +443,8 @@ export declare class ApplyClient {
|
|
|
453
443
|
* Create an Automation owned by `agentId`. Duplicate-slug surfaces as a
|
|
454
444
|
* structured error the caller swallows for idempotency.
|
|
455
445
|
*/
|
|
456
|
-
createAutomation(payload: {
|
|
457
|
-
|
|
458
|
-
agentId: string;
|
|
459
|
-
name?: string;
|
|
460
|
-
description?: string;
|
|
461
|
-
prompt: string;
|
|
462
|
-
skills?: Array<{
|
|
463
|
-
name: string;
|
|
464
|
-
content: string;
|
|
465
|
-
}>;
|
|
466
|
-
reaction_script?: string;
|
|
467
|
-
triggers?: import("@lobu/core/contracts/tools/manage-automations").AutomationTrigger[];
|
|
468
|
-
sources?: AutomationSource[];
|
|
469
|
-
reactions_guidance?: string;
|
|
470
|
-
device_worker_id?: string;
|
|
471
|
-
min_cooldown_seconds?: number;
|
|
472
|
-
tags?: string[];
|
|
473
|
-
agent_kind?: string;
|
|
474
|
-
execution_config?: Record<string, unknown> | null;
|
|
475
|
-
outputs?: Record<string, unknown> | null;
|
|
446
|
+
createAutomation(payload: FlatActionInput<ManageAutomationsArgs, "slug" | "name" | "description" | "prompt" | "skills" | "reaction_script" | "triggers" | "sources" | "reactions_guidance" | "device_worker_id" | "min_cooldown_seconds" | "tags" | "agent_kind" | "execution_config" | "outputs", "slug" | "prompt"> & {
|
|
447
|
+
agentId: ManageAutomationsArgs["managed_agent_id"];
|
|
476
448
|
}): Promise<{
|
|
477
449
|
automation_id?: string;
|
|
478
450
|
}>;
|
|
@@ -485,38 +457,14 @@ export declare class ApplyClient {
|
|
|
485
457
|
* `null` clears nullable fields (device_worker_id, agent_kind) per the
|
|
486
458
|
* server contract.
|
|
487
459
|
*/
|
|
488
|
-
updateAutomation(payload:
|
|
489
|
-
automation_id: string;
|
|
490
|
-
triggers?: import("@lobu/core/contracts/tools/manage-automations").AutomationTrigger[];
|
|
491
|
-
managed_agent_id?: string;
|
|
492
|
-
device_worker_id?: string | null;
|
|
493
|
-
min_cooldown_seconds?: number;
|
|
494
|
-
tags?: string[];
|
|
495
|
-
agent_kind?: string | null;
|
|
496
|
-
execution_config?: Record<string, unknown> | null;
|
|
497
|
-
}): Promise<void>;
|
|
460
|
+
updateAutomation(payload: FlatActionInput<ManageAutomationsArgs, "automation_id" | "triggers" | "managed_agent_id" | "device_worker_id" | "min_cooldown_seconds" | "tags" | "agent_kind" | "execution_config", "automation_id">): Promise<void>;
|
|
498
461
|
/**
|
|
499
462
|
* Create a new automation_versions row carrying the version-bound fields, then
|
|
500
463
|
* upgrade the automation's `current_version_id` to that new version. Server
|
|
501
464
|
* inherits unset fields from the previous version row.
|
|
502
465
|
* name/description/prompt/sources are version-owned (update rejects them).
|
|
503
466
|
*/
|
|
504
|
-
createAutomationVersion(payload: {
|
|
505
|
-
automation_id: string;
|
|
506
|
-
name?: string;
|
|
507
|
-
description?: string | null;
|
|
508
|
-
prompt?: string;
|
|
509
|
-
skills?: Array<{
|
|
510
|
-
name: string;
|
|
511
|
-
content: string;
|
|
512
|
-
}>;
|
|
513
|
-
sources?: AutomationSource[];
|
|
514
|
-
outputs?: Record<string, unknown> | null;
|
|
515
|
-
reactions_guidance?: string;
|
|
516
|
-
change_notes?: string;
|
|
517
|
-
/** When set, written atomically with the new version (set_as_current). */
|
|
518
|
-
triggers?: import("@lobu/core/contracts/tools/manage-automations").AutomationTrigger[];
|
|
519
|
-
}): Promise<{
|
|
467
|
+
createAutomationVersion(payload: FlatActionInput<ManageAutomationsArgs, "automation_id" | "name" | "description" | "prompt" | "skills" | "sources" | "outputs" | "reactions_guidance" | "change_notes" | "triggers", "automation_id">): Promise<{
|
|
520
468
|
version?: number;
|
|
521
469
|
}>;
|
|
522
470
|
/**
|
|
@@ -541,7 +489,7 @@ export declare class ApplyClient {
|
|
|
541
489
|
* connector by id or pass connector source; server returns the resolved
|
|
542
490
|
* connectorKey plus updated.
|
|
543
491
|
*/
|
|
544
|
-
installConnector(payload: CliInstallConnectorPayload): Promise<InstallConnectorResult>;
|
|
492
|
+
installConnector(payload: CliInstallConnectorPayload, target?: Required<Pick<UpdateConnectorSourceInput, "connector_key" | "expected_version">>): Promise<InstallConnectorResult>;
|
|
545
493
|
uninstallConnector(connectorKey: string): Promise<void>;
|
|
546
494
|
/**
|
|
547
495
|
* Re-activate a retained connector version (org-local pointer flip — the
|
|
@@ -552,16 +500,16 @@ export declare class ApplyClient {
|
|
|
552
500
|
listAuthProfiles(): Promise<RemoteAuthProfile[]>;
|
|
553
501
|
getAuthProfileBySlug(slug: string): Promise<RemoteAuthProfile | null>;
|
|
554
502
|
createAuthProfile(payload: {
|
|
555
|
-
slug:
|
|
556
|
-
connector:
|
|
557
|
-
kind:
|
|
558
|
-
name?:
|
|
559
|
-
credentials?:
|
|
503
|
+
slug: NonNullable<AuthProfileCreateInput["slug"]>;
|
|
504
|
+
connector: AuthProfileCreateInput["connector_key"];
|
|
505
|
+
kind: AuthProfileCreateInput["profile_kind"];
|
|
506
|
+
name?: AuthProfileCreateInput["display_name"];
|
|
507
|
+
credentials?: AuthProfileCreateInput["credentials"];
|
|
560
508
|
}): Promise<EnsureAuthProfileResult>;
|
|
561
509
|
updateAuthProfile(payload: {
|
|
562
|
-
slug:
|
|
563
|
-
name?:
|
|
564
|
-
credentials?:
|
|
510
|
+
slug: AuthProfileUpdateInput["auth_profile_slug"];
|
|
511
|
+
name?: AuthProfileUpdateInput["display_name"];
|
|
512
|
+
credentials?: AuthProfileUpdateInput["credentials"];
|
|
565
513
|
}): Promise<EnsureAuthProfileResult>;
|
|
566
514
|
/** Re-issue a connect token for an existing interactive-auth profile. */
|
|
567
515
|
reconnectAuthProfile(slug: string): Promise<string | undefined>;
|
|
@@ -586,23 +534,23 @@ export declare class ApplyClient {
|
|
|
586
534
|
changed: boolean;
|
|
587
535
|
}>;
|
|
588
536
|
createConnection(payload: {
|
|
589
|
-
slug:
|
|
590
|
-
connector:
|
|
591
|
-
name?:
|
|
592
|
-
authProfileSlug?:
|
|
593
|
-
appAuthProfileSlug?:
|
|
594
|
-
config?:
|
|
595
|
-
deviceWorkerId?:
|
|
537
|
+
slug: NonNullable<ConnectionCreateInput["slug"]>;
|
|
538
|
+
connector: ConnectionCreateInput["connector_key"];
|
|
539
|
+
name?: ConnectionCreateInput["display_name"];
|
|
540
|
+
authProfileSlug?: ConnectionCreateInput["auth_profile_slug"];
|
|
541
|
+
appAuthProfileSlug?: ConnectionCreateInput["app_auth_profile_slug"];
|
|
542
|
+
config?: ConnectionCreateInput["config"];
|
|
543
|
+
deviceWorkerId?: ConnectionCreateInput["device_worker_id"];
|
|
596
544
|
}): Promise<RemoteConnection>;
|
|
597
545
|
updateConnection(connectionId: number, payload: UpdateConnectionPayload): Promise<RemoteConnection>;
|
|
598
546
|
listFeeds(connectionId: number): Promise<RemoteFeed[]>;
|
|
599
547
|
createFeed(payload: {
|
|
600
|
-
connectionId:
|
|
601
|
-
feedKey:
|
|
602
|
-
name?:
|
|
548
|
+
connectionId: FeedCreateInput["connection_id"];
|
|
549
|
+
feedKey: FeedCreateInput["feed_key"];
|
|
550
|
+
name?: FeedCreateInput["display_name"];
|
|
603
551
|
/** Cron string, or null for manual-only. */
|
|
604
|
-
schedule?:
|
|
605
|
-
config?:
|
|
552
|
+
schedule?: FeedCreateInput["schedule"];
|
|
553
|
+
config?: FeedCreateInput["config"];
|
|
606
554
|
}): Promise<RemoteFeed>;
|
|
607
555
|
updateFeed(feedId: number, payload: UpdateFeedPayload): Promise<RemoteFeed>;
|
|
608
556
|
}
|