@flowrunner/cli 0.1.11 → 0.1.12
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/ai-docs/instructions/service-code-format/01-service-structure.md +1 -0
- package/ai-docs/instructions/service-code-format/11-output-model.md +1 -1
- package/dist/cli.js +34 -10390
- package/dist/cli.js.map +4 -4
- package/dist/index.js +27 -10359
- package/dist/index.js.map +4 -4
- package/dist/types/flow-extension-runner/src/v2/model/model-types.d.ts +1 -1
- package/dist/types/flow-extension-runner/src/v2/types.d.ts +5 -0
- package/dist/types/shared/src/scheme/flowrunner/custom-elements.d.ts +8 -8
- package/dist/types/shared/src/scheme/shared-extensions/base.d.ts +1 -1
- package/dist/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +8 -8
- package/dist/types/shared/src/scheme/shared-extensions/extension.d.ts +8 -8
- package/dist/types/shared/src/scheme/shared-extensions/resolve.d.ts +6 -6
- package/dist/types/shared/src/scheme/shared-extensions/search.d.ts +4 -4
- package/dist/types/shared/src/scheme/shared-extensions/service-info.d.ts +1 -1
- package/package.json +4 -1
- package/runtime/index.js +5 -10347
- package/runtime/index.js.map +4 -4
- package/runtime/types/flow-extension-runner/src/v2/model/model-types.d.ts +1 -1
- package/runtime/types/flow-extension-runner/src/v2/types.d.ts +5 -0
- package/runtime/types/shared/src/scheme/flowrunner/custom-elements.d.ts +8 -8
- package/runtime/types/shared/src/scheme/shared-extensions/base.d.ts +1 -1
- package/runtime/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +8 -8
- package/runtime/types/shared/src/scheme/shared-extensions/extension.d.ts +8 -8
- package/runtime/types/shared/src/scheme/shared-extensions/resolve.d.ts +6 -6
- package/runtime/types/shared/src/scheme/shared-extensions/search.d.ts +4 -4
- package/runtime/types/shared/src/scheme/shared-extensions/service-info.d.ts +1 -1
|
@@ -61,6 +61,7 @@ logo for that one item. Omit it and the item inherits the service's.
|
|
|
61
61
|
| `logo` | string | ✓ | Icon path, resolved **inside the service's `public/` folder** — see [Folder layout](#folder-layout). |
|
|
62
62
|
| `appearanceColors` | `[string, string]` | – | `[primary, secondary]`. |
|
|
63
63
|
| `usesFileStorage` | boolean | – | `true` provisions `ctx.files`; when false, `ctx.files` is a proxy that throws. Default false. See [10-files-api.md](10-files-api.md). |
|
|
64
|
+
| `serviceClassName` | string | – | **Deprecated — will be removed soon. Shared extensions only.** The class name of a shared extension rewritten from the legacy JSDoc class format (`'GeminiAIService'`). It is published as `serviceInfo.serviceClassName` (absent otherwise), so flows, configs and connections saved against the old service keep resolving to this one. Keep it unchanged once set. Never set it on a new service or a custom extension. |
|
|
64
65
|
| `configItems` | `z.object` | – | App + shared config (see [02-zod-types.md](02-zod-types.md)). → `appConfigDescriptions` / `sharedConfigDescriptions`. Omit when the service needs none — see [Services with no credentials](#services-with-no-credentials); a plain object of fields is **not** accepted (see [03-parameters.md](03-parameters.md)). |
|
|
65
66
|
| `initContext` | fn | – | `({ config, oauth }) => context`; runs once per invocation. Runs for OAuth flows too (`oauth` may be empty). |
|
|
66
67
|
| `apiRequest` | fn | – | Shared HTTP helper (envelope-unwrap, error-normalize, redacted logging). See [04-http-requests.md](04-http-requests.md). |
|
|
@@ -23,7 +23,7 @@ The names change on the way out, which matters when you inspect a built model:
|
|
|
23
23
|
|
|
24
24
|
| Authored | Published as |
|
|
25
25
|
|---|---|
|
|
26
|
-
| `
|
|
26
|
+
| `serviceClassName` (deprecated) | `serviceInfo.serviceClassName` — absent when not declared: `id` is not published on `serviceInfo` |
|
|
27
27
|
| `name` | `serviceInfo.integrationName` |
|
|
28
28
|
| `logo` | `serviceInfo.integrationIcon` |
|
|
29
29
|
| `description` | `serviceInfo.description` — shown under the extension's name in the console and the block palette |
|