@celigo/api-specs 0.2.75 → 0.2.77
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/ai-agent.yml +48 -24
- package/dist/connection.yml +415 -0
- package/dist/flow.yml +81 -24
- package/dist/guardrail.yml +33 -21
- package/dist/import.yml +206 -89
- package/dist/tool.yml +112 -50
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/tool.yml
CHANGED
|
@@ -5577,11 +5577,25 @@ components:
|
|
|
5577
5577
|
- manual
|
|
5578
5578
|
- json
|
|
5579
5579
|
x-enumDescriptions:
|
|
5580
|
-
manual: The
|
|
5581
|
-
json: The
|
|
5580
|
+
manual: The UI opens `schema` in the visual field-by-field editor
|
|
5581
|
+
json: The UI opens `schema` in the raw JSON editor
|
|
5582
5582
|
description: |-
|
|
5583
|
-
|
|
5584
|
-
the
|
|
5583
|
+
Which editor the UI opens `schema` in; invocation input validates the same either way.
|
|
5584
|
+
Unset opens the visual editor, and an edit there rebuilds `schema` from the field list,
|
|
5585
|
+
keeping only `type`, `properties`, `required`, `items`, `description`, `enum`, `pattern`,
|
|
5586
|
+
`minLength`/`maxLength`, `minimum`/`maximum`, `exclusiveMinimum`/`exclusiveMaximum`,
|
|
5587
|
+
`multipleOf`, `minItems`/`maxItems` and a `"null"` type — `format`, `const`, `default`,
|
|
5588
|
+
`additionalProperties`, `$ref` and `allOf`/`anyOf`/`oneOf`/`if` are dropped without a
|
|
5589
|
+
prompt, and `integer` becomes `number`.
|
|
5590
|
+
x-celigo-ai-guidance:
|
|
5591
|
+
- |-
|
|
5592
|
+
Set `json` on any schema written as raw JSON so the UI opens the JSON editor and warns
|
|
5593
|
+
before a switch to the visual editor can drop keywords; keep `manual` on a schema a
|
|
5594
|
+
user built in the visual editor and stay inside the keywords it keeps.
|
|
5595
|
+
- |-
|
|
5596
|
+
A full PUT that omits this field clears it — resend the stored value on every update.
|
|
5597
|
+
PATCH rejects the path ("/input/schemaMode is not a whitelisted property"), and a value
|
|
5598
|
+
outside the enum fails the save with 422 `enum` on `input.schemaMode`.
|
|
5585
5599
|
examples:
|
|
5586
5600
|
- json
|
|
5587
5601
|
transform:
|
|
@@ -5662,11 +5676,25 @@ components:
|
|
|
5662
5676
|
- manual
|
|
5663
5677
|
- json
|
|
5664
5678
|
x-enumDescriptions:
|
|
5665
|
-
manual: The
|
|
5666
|
-
json: The
|
|
5679
|
+
manual: The UI opens `schema` in the visual field-by-field editor
|
|
5680
|
+
json: The UI opens `schema` in the raw JSON editor
|
|
5667
5681
|
description: |-
|
|
5668
|
-
|
|
5669
|
-
the
|
|
5682
|
+
Which editor the UI opens `schema` in; the output validates the same either way. Unset
|
|
5683
|
+
opens the visual editor, and an edit there rebuilds `schema` from the field list, keeping
|
|
5684
|
+
only `type`, `properties`, `required`, `items`, `description`, `enum`, `pattern`,
|
|
5685
|
+
`minLength`/`maxLength`, `minimum`/`maximum`, `exclusiveMinimum`/`exclusiveMaximum`,
|
|
5686
|
+
`multipleOf`, `minItems`/`maxItems` and a `"null"` type — `format`, `const`, `default`,
|
|
5687
|
+
`additionalProperties`, `$ref` and `allOf`/`anyOf`/`oneOf`/`if` are dropped without a
|
|
5688
|
+
prompt, and `integer` becomes `number`.
|
|
5689
|
+
x-celigo-ai-guidance:
|
|
5690
|
+
- |-
|
|
5691
|
+
Set `json` on any schema written as raw JSON so the UI opens the JSON editor and warns
|
|
5692
|
+
before a switch to the visual editor can drop keywords; keep `manual` on a schema a
|
|
5693
|
+
user built in the visual editor and stay inside the keywords it keeps.
|
|
5694
|
+
- |-
|
|
5695
|
+
A full PUT that omits this field clears it — resend the stored value on every update.
|
|
5696
|
+
PATCH rejects the path ("/output/schemaMode is not a whitelisted property"), and a
|
|
5697
|
+
value outside the enum fails the save with 422 `enum` on `output.schemaMode`.
|
|
5670
5698
|
examples:
|
|
5671
5699
|
- manual
|
|
5672
5700
|
mappings:
|
|
@@ -19416,8 +19444,9 @@ components:
|
|
|
19416
19444
|
|
|
19417
19445
|
A `_connectionId` on the parent import selects bring-your-own-key (BYOK)
|
|
19418
19446
|
credentials. Without one, built-in providers run on platform-managed
|
|
19419
|
-
credentials; catalog providers have no platform-managed credentials, so
|
|
19420
|
-
save without
|
|
19447
|
+
credentials; catalog providers have no platform-managed credentials, so the
|
|
19448
|
+
save requires one — without it the agent fails to save with 422
|
|
19449
|
+
`connection_required` on `_connectionId`.
|
|
19421
19450
|
required:
|
|
19422
19451
|
- provider
|
|
19423
19452
|
properties:
|
|
@@ -19454,10 +19483,11 @@ components:
|
|
|
19454
19483
|
generic flat format — `model` and `modelOptions` directly on this object,
|
|
19455
19484
|
never an `openai` or `litellm` block.
|
|
19456
19485
|
- |-
|
|
19457
|
-
Catalog providers are BYOK-only
|
|
19458
|
-
|
|
19459
|
-
key
|
|
19460
|
-
|
|
19486
|
+
Catalog providers are BYOK-only, and the save enforces it: without a `_connectionId`
|
|
19487
|
+
the agent fails to save with 422 `connection_required` on `_connectionId` ("No API
|
|
19488
|
+
key is available for provider 'xai'. Add a connection for this provider with your
|
|
19489
|
+
API key and select it on this agent."). Attach an HTTP connection to the vendor's
|
|
19490
|
+
API (token auth) before saving a catalog-provider agent.
|
|
19461
19491
|
model:
|
|
19462
19492
|
type: string
|
|
19463
19493
|
description: |-
|
|
@@ -19469,11 +19499,11 @@ components:
|
|
|
19469
19499
|
Required for every catalog provider — omitting it or sending an empty string
|
|
19470
19500
|
fails the save with 422 `missing_required_field`.
|
|
19471
19501
|
- |-
|
|
19472
|
-
|
|
19473
|
-
|
|
19474
|
-
`
|
|
19475
|
-
`_connectionId` (BYOK) any model string saves — the server does not
|
|
19476
|
-
against the catalog or the vendor.
|
|
19502
|
+
The connection is checked before the model: without a `_connectionId` on the
|
|
19503
|
+
parent import a catalog-provider agent fails to save with 422
|
|
19504
|
+
`connection_required` whatever the model string (an unknown id included).
|
|
19505
|
+
With a `_connectionId` (BYOK) any model string saves — the server does not
|
|
19506
|
+
check it against the catalog or the vendor.
|
|
19477
19507
|
modelOptions:
|
|
19478
19508
|
type: object
|
|
19479
19509
|
description: |-
|
|
@@ -19797,12 +19827,22 @@ components:
|
|
|
19797
19827
|
- manual
|
|
19798
19828
|
- json
|
|
19799
19829
|
x-enumDescriptions:
|
|
19800
|
-
manual: The
|
|
19801
|
-
json: The
|
|
19830
|
+
manual: The UI opens `jsonSchema` in the visual field-by-field editor
|
|
19831
|
+
json: The UI opens `jsonSchema` in the raw JSON editor
|
|
19802
19832
|
description: |-
|
|
19803
|
-
|
|
19804
|
-
|
|
19805
|
-
|
|
19833
|
+
Which editor the UI opens `jsonSchema` in; the schema sent to the provider
|
|
19834
|
+
is the same either way, and the field is only meaningful when `type` is
|
|
19835
|
+
"json_schema". Unset opens the visual editor, and an edit there rebuilds
|
|
19836
|
+
`jsonSchema` from the field list, keeping only `type`, `properties`,
|
|
19837
|
+
`required`, `items`, `description`, `enum`, `pattern`, length and numeric
|
|
19838
|
+
bounds, `multipleOf`, `minItems`/`maxItems` and a `"null"` type — other
|
|
19839
|
+
keywords are dropped without a prompt, and `integer` becomes `number`.
|
|
19840
|
+
x-celigo-ai-guidance:
|
|
19841
|
+
- |-
|
|
19842
|
+
Set `json` on a schema written as raw JSON; keep a user's `manual` and stay
|
|
19843
|
+
inside the keywords the visual editor keeps. A full PUT that omits the field
|
|
19844
|
+
clears it, and a value outside the enum fails the save with 422 `enum` on
|
|
19845
|
+
`aiAgent.openai.output.format.schemaMode`.
|
|
19806
19846
|
name:
|
|
19807
19847
|
type: string
|
|
19808
19848
|
description: Name for the output format (used with json_schema)
|
|
@@ -20155,12 +20195,22 @@ components:
|
|
|
20155
20195
|
- manual
|
|
20156
20196
|
- json
|
|
20157
20197
|
x-enumDescriptions:
|
|
20158
|
-
manual: The
|
|
20159
|
-
json: The
|
|
20198
|
+
manual: The UI opens `jsonSchema` in the visual field-by-field editor
|
|
20199
|
+
json: The UI opens `jsonSchema` in the raw JSON editor
|
|
20160
20200
|
description: |-
|
|
20161
|
-
|
|
20162
|
-
|
|
20163
|
-
|
|
20201
|
+
Which editor the UI opens `jsonSchema` in; the schema sent to the provider is
|
|
20202
|
+
the same either way, and the field is only meaningful when `type` is
|
|
20203
|
+
"json_schema". Unset opens the visual editor, and an edit there rebuilds
|
|
20204
|
+
`jsonSchema` from the field list, keeping only `type`, `properties`, `required`,
|
|
20205
|
+
`items`, `description`, `enum`, `pattern`, length and numeric bounds,
|
|
20206
|
+
`multipleOf`, `minItems`/`maxItems` and a `"null"` type — other keywords are
|
|
20207
|
+
dropped without a prompt, and `integer` becomes `number`.
|
|
20208
|
+
x-celigo-ai-guidance:
|
|
20209
|
+
- |-
|
|
20210
|
+
Set `json` on a schema written as raw JSON; keep a user's `manual` and stay inside
|
|
20211
|
+
the keywords the visual editor keeps. A full PUT that omits the field clears it,
|
|
20212
|
+
and a value outside the enum fails the save with 422 `enum` on
|
|
20213
|
+
`aiAgent.litellm.responseFormat.schemaMode`.
|
|
20164
20214
|
name:
|
|
20165
20215
|
type: string
|
|
20166
20216
|
description: Name for the output format (used with json_schema).
|
|
@@ -20837,8 +20887,9 @@ components:
|
|
|
20837
20887
|
|
|
20838
20888
|
A `_connectionId` on the parent import selects bring-your-own-key (BYOK)
|
|
20839
20889
|
credentials. Without one, built-in providers run on platform-managed
|
|
20840
|
-
credentials; catalog providers have no platform-managed credentials, so
|
|
20841
|
-
save without
|
|
20890
|
+
credentials; catalog providers have no platform-managed credentials, so the
|
|
20891
|
+
save requires one — without it the guardrail fails to save with 422
|
|
20892
|
+
`connection_required` on `_connectionId`.
|
|
20842
20893
|
x-celigo-ai-guidance:
|
|
20843
20894
|
- |-
|
|
20844
20895
|
Do not send `tools` on any block. A non-empty array at `tools`, `openai.tools`,
|
|
@@ -20881,10 +20932,11 @@ components:
|
|
|
20881
20932
|
generic flat format — `model` and `modelOptions` directly on this object,
|
|
20882
20933
|
never an `openai` or `litellm` block.
|
|
20883
20934
|
- |-
|
|
20884
|
-
Catalog providers are BYOK-only
|
|
20885
|
-
|
|
20886
|
-
key
|
|
20887
|
-
|
|
20935
|
+
Catalog providers are BYOK-only, and the save enforces it: without a `_connectionId`
|
|
20936
|
+
the guardrail fails to save with 422 `connection_required` on `_connectionId` ("No
|
|
20937
|
+
API key is available for provider 'xai'. Add a connection for this provider with
|
|
20938
|
+
your API key and select it on this agent."). Attach an HTTP connection to the
|
|
20939
|
+
vendor's API (token auth) before saving a catalog-provider guardrail.
|
|
20888
20940
|
model:
|
|
20889
20941
|
type: string
|
|
20890
20942
|
description: |-
|
|
@@ -20896,11 +20948,11 @@ components:
|
|
|
20896
20948
|
Required for every catalog provider — omitting it or sending an empty string
|
|
20897
20949
|
fails the save with 422 `missing_required_field`.
|
|
20898
20950
|
- |-
|
|
20899
|
-
|
|
20900
|
-
|
|
20901
|
-
`
|
|
20902
|
-
`_connectionId` (BYOK) any model string saves — the server does not
|
|
20903
|
-
against the catalog or the vendor.
|
|
20951
|
+
The connection is checked before the model: without a `_connectionId` on the
|
|
20952
|
+
parent import a catalog-provider guardrail fails to save with 422
|
|
20953
|
+
`connection_required` whatever the model string (an unknown id included).
|
|
20954
|
+
With a `_connectionId` (BYOK) any model string saves — the server does not
|
|
20955
|
+
check it against the catalog or the vendor.
|
|
20904
20956
|
modelOptions:
|
|
20905
20957
|
type: object
|
|
20906
20958
|
description: |-
|
|
@@ -21165,12 +21217,17 @@ components:
|
|
|
21165
21217
|
- manual
|
|
21166
21218
|
- json
|
|
21167
21219
|
x-enumDescriptions:
|
|
21168
|
-
manual: The schema
|
|
21169
|
-
json: The schema
|
|
21220
|
+
manual: The schema editor opens `jsonSchema` in the visual field-by-field view
|
|
21221
|
+
json: The schema editor opens `jsonSchema` in the raw JSON view
|
|
21170
21222
|
description: |-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21223
|
+
Which view a schema editor opens `jsonSchema` in; the schema sent to the
|
|
21224
|
+
provider is the same either way. Stored and echoed on guardrails for parity
|
|
21225
|
+
with the AI-agent format block — the guardrail form does not set it today.
|
|
21226
|
+
x-celigo-ai-guidance:
|
|
21227
|
+
- |-
|
|
21228
|
+
Resend the stored value on every update — a full PUT that omits the field
|
|
21229
|
+
clears it — and never invent one: a value outside the enum fails the save with
|
|
21230
|
+
422 `enum` on `guardrail.aiAgent.openai.output.format.schemaMode`.
|
|
21174
21231
|
name:
|
|
21175
21232
|
type: string
|
|
21176
21233
|
description: Name for the output format (used with json_schema)
|
|
@@ -21359,12 +21416,17 @@ components:
|
|
|
21359
21416
|
- manual
|
|
21360
21417
|
- json
|
|
21361
21418
|
x-enumDescriptions:
|
|
21362
|
-
manual: The schema
|
|
21363
|
-
json: The schema
|
|
21419
|
+
manual: The schema editor opens `jsonSchema` in the visual field-by-field view
|
|
21420
|
+
json: The schema editor opens `jsonSchema` in the raw JSON view
|
|
21364
21421
|
description: |-
|
|
21365
|
-
|
|
21366
|
-
|
|
21367
|
-
|
|
21422
|
+
Which view a schema editor opens `jsonSchema` in; the schema sent to the provider
|
|
21423
|
+
is the same either way. Stored and echoed on guardrails for parity with the
|
|
21424
|
+
AI-agent format block — the guardrail form does not set it today.
|
|
21425
|
+
x-celigo-ai-guidance:
|
|
21426
|
+
- |-
|
|
21427
|
+
Resend the stored value on every update — a full PUT that omits the field clears
|
|
21428
|
+
it — and never invent one: a value outside the enum fails the save with 422 `enum`
|
|
21429
|
+
on `guardrail.aiAgent.litellm.responseFormat.schemaMode`.
|
|
21368
21430
|
name:
|
|
21369
21431
|
type: string
|
|
21370
21432
|
description: Name for the output format (used with json_schema).
|
package/package.json
CHANGED