@takeshape/schema 12.1.1 → 12.1.5
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/agents.d.ts +62 -0
- package/dist/agents.js +346 -0
- package/dist/api-version.d.ts +5 -0
- package/dist/api-version.js +17 -0
- package/dist/auth-schemas.d.ts +144 -0
- package/dist/auth-schemas.js +7 -0
- package/dist/auth-utils.d.ts +19 -0
- package/dist/auth-utils.js +26 -0
- package/dist/builtin-schema.d.ts +18 -0
- package/dist/builtin-schema.js +710 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/content-schema-transform.d.ts +35 -0
- package/dist/content-schema-transform.js +162 -0
- package/dist/create-input-schema.d.ts +9 -0
- package/dist/create-input-schema.js +68 -0
- package/dist/enum.d.ts +2 -0
- package/dist/enum.js +9 -0
- package/dist/flatten-templates.d.ts +2 -0
- package/dist/flatten-templates.js +20 -0
- package/dist/get-is-leaf.d.ts +3 -0
- package/dist/get-is-leaf.js +56 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.js +61 -0
- package/dist/interfaces.d.ts +14 -0
- package/dist/interfaces.js +86 -0
- package/dist/layers/layers.d.ts +26 -0
- package/dist/layers/layers.js +301 -0
- package/dist/layers/refs.d.ts +102 -0
- package/dist/layers/refs.js +220 -0
- package/dist/layers/type-utils.d.ts +59 -0
- package/dist/layers/type-utils.js +118 -0
- package/dist/layers/visitor.d.ts +5 -0
- package/dist/layers/visitor.js +38 -0
- package/dist/migration/index.d.ts +79 -0
- package/dist/migration/index.js +110 -0
- package/dist/migration/to/v3.0.0.d.ts +4 -0
- package/dist/migration/to/v3.0.0.js +212 -0
- package/dist/migration/to/v3.1.0.d.ts +4 -0
- package/dist/migration/to/v3.1.0.js +194 -0
- package/dist/migration/to/v3.10.0.d.ts +4 -0
- package/dist/migration/to/v3.10.0.js +67 -0
- package/dist/migration/to/v3.11.0.d.ts +4 -0
- package/dist/migration/to/v3.11.0.js +85 -0
- package/dist/migration/to/v3.12.3.d.ts +4 -0
- package/dist/migration/to/v3.12.3.js +87 -0
- package/dist/migration/to/v3.13.0.d.ts +4 -0
- package/dist/migration/to/v3.13.0.js +17 -0
- package/dist/migration/to/v3.17.0.d.ts +4 -0
- package/dist/migration/to/v3.17.0.js +22 -0
- package/dist/migration/to/v3.18.0.d.ts +4 -0
- package/dist/migration/to/v3.18.0.js +64 -0
- package/dist/migration/to/v3.18.1.d.ts +4 -0
- package/dist/migration/to/v3.18.1.js +12 -0
- package/dist/migration/to/v3.18.2.d.ts +4 -0
- package/dist/migration/to/v3.18.2.js +19 -0
- package/dist/migration/to/v3.20.0.d.ts +4 -0
- package/dist/migration/to/v3.20.0.js +24 -0
- package/dist/migration/to/v3.22.0.d.ts +4 -0
- package/dist/migration/to/v3.22.0.js +25 -0
- package/dist/migration/to/v3.24.0.d.ts +4 -0
- package/dist/migration/to/v3.24.0.js +11 -0
- package/dist/migration/to/v3.25.0.d.ts +4 -0
- package/dist/migration/to/v3.25.0.js +11 -0
- package/dist/migration/to/v3.3.0.d.ts +4 -0
- package/dist/migration/to/v3.3.0.js +13 -0
- package/dist/migration/to/v3.31.0.d.ts +4 -0
- package/dist/migration/to/v3.31.0.js +38 -0
- package/dist/migration/to/v3.32.0.d.ts +4 -0
- package/dist/migration/to/v3.32.0.js +59 -0
- package/dist/migration/to/v3.34.0.d.ts +6 -0
- package/dist/migration/to/v3.34.0.js +111 -0
- package/dist/migration/to/v3.36.0.d.ts +4 -0
- package/dist/migration/to/v3.36.0.js +22 -0
- package/dist/migration/to/v3.39.0.d.ts +4 -0
- package/dist/migration/to/v3.39.0.js +45 -0
- package/dist/migration/to/v3.40.0.d.ts +4 -0
- package/dist/migration/to/v3.40.0.js +26 -0
- package/dist/migration/to/v3.46.0.d.ts +4 -0
- package/dist/migration/to/v3.46.0.js +35 -0
- package/dist/migration/to/v3.57.0.d.ts +4 -0
- package/dist/migration/to/v3.57.0.js +18 -0
- package/dist/migration/to/v3.60.0.d.ts +4 -0
- package/dist/migration/to/v3.60.0.js +129 -0
- package/dist/migration/to/v3.9.0.d.ts +4 -0
- package/dist/migration/to/v3.9.0.js +79 -0
- package/dist/migration/types.d.ts +26 -0
- package/dist/migration/types.js +3 -0
- package/dist/migration/utils.d.ts +2 -0
- package/dist/migration/utils.js +6 -0
- package/dist/mocks.d.ts +14 -0
- package/dist/mocks.js +58 -0
- package/dist/models/agent.d.ts +3 -0
- package/dist/models/agent.js +73 -0
- package/dist/models/project-schema.d.ts +28 -0
- package/dist/models/project-schema.js +186 -0
- package/dist/models/query.d.ts +3 -0
- package/dist/models/query.js +46 -0
- package/dist/models/runtime-schema.d.ts +9 -0
- package/dist/models/runtime-schema.js +20 -0
- package/dist/models/shape.d.ts +4 -0
- package/dist/models/shape.js +36 -0
- package/dist/models/tool.d.ts +4 -0
- package/dist/models/tool.js +147 -0
- package/dist/models/types.d.ts +97 -0
- package/dist/models/types.js +1 -0
- package/dist/models/user-schema.d.ts +7 -0
- package/dist/models/user-schema.js +9 -0
- package/dist/patterns.d.ts +12 -0
- package/dist/patterns.js +1 -0
- package/dist/project-schema/index.d.ts +229 -0
- package/dist/project-schema/index.js +89 -0
- package/dist/project-schema/latest.d.ts +2762 -0
- package/dist/project-schema/latest.js +7 -0
- package/dist/project-schema/migrate.d.ts +4 -0
- package/dist/project-schema/migrate.js +236 -0
- package/dist/project-schema/v1.0.0.d.ts +299 -0
- package/dist/project-schema/v1.0.0.js +7 -0
- package/dist/project-schema/v3.0.0.d.ts +478 -0
- package/dist/project-schema/v3.0.0.js +7 -0
- package/dist/project-schema/v3.1.0.d.ts +621 -0
- package/dist/project-schema/v3.1.0.js +7 -0
- package/dist/project-schema/v3.10.0.d.ts +1201 -0
- package/dist/project-schema/v3.10.0.js +7 -0
- package/dist/project-schema/v3.11.0.d.ts +1210 -0
- package/dist/project-schema/v3.11.0.js +7 -0
- package/dist/project-schema/v3.12.0.d.ts +1214 -0
- package/dist/project-schema/v3.12.0.js +7 -0
- package/dist/project-schema/v3.12.1.d.ts +1273 -0
- package/dist/project-schema/v3.12.1.js +7 -0
- package/dist/project-schema/v3.12.2.d.ts +1283 -0
- package/dist/project-schema/v3.12.2.js +7 -0
- package/dist/project-schema/v3.12.3.d.ts +1306 -0
- package/dist/project-schema/v3.12.3.js +7 -0
- package/dist/project-schema/v3.13.0.d.ts +1317 -0
- package/dist/project-schema/v3.13.0.js +7 -0
- package/dist/project-schema/v3.13.1.d.ts +1412 -0
- package/dist/project-schema/v3.13.1.js +7 -0
- package/dist/project-schema/v3.14.0.d.ts +1436 -0
- package/dist/project-schema/v3.14.0.js +7 -0
- package/dist/project-schema/v3.15.0.d.ts +1458 -0
- package/dist/project-schema/v3.15.0.js +7 -0
- package/dist/project-schema/v3.16.0.d.ts +1470 -0
- package/dist/project-schema/v3.16.0.js +7 -0
- package/dist/project-schema/v3.17.0.d.ts +1467 -0
- package/dist/project-schema/v3.17.0.js +7 -0
- package/dist/project-schema/v3.17.1.d.ts +1468 -0
- package/dist/project-schema/v3.17.1.js +7 -0
- package/dist/project-schema/v3.18.0.d.ts +1333 -0
- package/dist/project-schema/v3.18.0.js +7 -0
- package/dist/project-schema/v3.18.1.d.ts +1332 -0
- package/dist/project-schema/v3.18.1.js +7 -0
- package/dist/project-schema/v3.18.2.d.ts +1332 -0
- package/dist/project-schema/v3.18.2.js +7 -0
- package/dist/project-schema/v3.19.0.d.ts +1336 -0
- package/dist/project-schema/v3.19.0.js +7 -0
- package/dist/project-schema/v3.2.0.d.ts +632 -0
- package/dist/project-schema/v3.2.0.js +7 -0
- package/dist/project-schema/v3.20.0.d.ts +1336 -0
- package/dist/project-schema/v3.20.0.js +7 -0
- package/dist/project-schema/v3.21.0.d.ts +1338 -0
- package/dist/project-schema/v3.21.0.js +7 -0
- package/dist/project-schema/v3.22.0.d.ts +1344 -0
- package/dist/project-schema/v3.22.0.js +7 -0
- package/dist/project-schema/v3.23.0.d.ts +1376 -0
- package/dist/project-schema/v3.23.0.js +7 -0
- package/dist/project-schema/v3.24.0.d.ts +1364 -0
- package/dist/project-schema/v3.24.0.js +7 -0
- package/dist/project-schema/v3.25.0.d.ts +1363 -0
- package/dist/project-schema/v3.25.0.js +7 -0
- package/dist/project-schema/v3.26.0.d.ts +1388 -0
- package/dist/project-schema/v3.26.0.js +7 -0
- package/dist/project-schema/v3.27.0.d.ts +1397 -0
- package/dist/project-schema/v3.27.0.js +7 -0
- package/dist/project-schema/v3.28.0.d.ts +1416 -0
- package/dist/project-schema/v3.28.0.js +7 -0
- package/dist/project-schema/v3.29.0.d.ts +1423 -0
- package/dist/project-schema/v3.29.0.js +7 -0
- package/dist/project-schema/v3.3.0.d.ts +632 -0
- package/dist/project-schema/v3.3.0.js +7 -0
- package/dist/project-schema/v3.30.0.d.ts +1416 -0
- package/dist/project-schema/v3.30.0.js +7 -0
- package/dist/project-schema/v3.31.0.d.ts +1448 -0
- package/dist/project-schema/v3.31.0.js +7 -0
- package/dist/project-schema/v3.32.0.d.ts +1439 -0
- package/dist/project-schema/v3.32.0.js +7 -0
- package/dist/project-schema/v3.33.0.d.ts +1445 -0
- package/dist/project-schema/v3.33.0.js +7 -0
- package/dist/project-schema/v3.34.0.d.ts +1445 -0
- package/dist/project-schema/v3.34.0.js +7 -0
- package/dist/project-schema/v3.35.0.d.ts +1464 -0
- package/dist/project-schema/v3.35.0.js +7 -0
- package/dist/project-schema/v3.36.0.d.ts +1470 -0
- package/dist/project-schema/v3.36.0.js +7 -0
- package/dist/project-schema/v3.37.0.d.ts +1522 -0
- package/dist/project-schema/v3.37.0.js +7 -0
- package/dist/project-schema/v3.38.0.d.ts +1522 -0
- package/dist/project-schema/v3.38.0.js +7 -0
- package/dist/project-schema/v3.39.0.d.ts +1529 -0
- package/dist/project-schema/v3.39.0.js +7 -0
- package/dist/project-schema/v3.4.0.d.ts +624 -0
- package/dist/project-schema/v3.4.0.js +7 -0
- package/dist/project-schema/v3.40.0.d.ts +1530 -0
- package/dist/project-schema/v3.40.0.js +7 -0
- package/dist/project-schema/v3.41.0.d.ts +1530 -0
- package/dist/project-schema/v3.41.0.js +7 -0
- package/dist/project-schema/v3.42.0.d.ts +1534 -0
- package/dist/project-schema/v3.42.0.js +7 -0
- package/dist/project-schema/v3.43.0.d.ts +1536 -0
- package/dist/project-schema/v3.43.0.js +7 -0
- package/dist/project-schema/v3.44.0.d.ts +1621 -0
- package/dist/project-schema/v3.44.0.js +7 -0
- package/dist/project-schema/v3.45.0.d.ts +1650 -0
- package/dist/project-schema/v3.45.0.js +7 -0
- package/dist/project-schema/v3.46.0.d.ts +1703 -0
- package/dist/project-schema/v3.46.0.js +7 -0
- package/dist/project-schema/v3.47.0.d.ts +1736 -0
- package/dist/project-schema/v3.47.0.js +7 -0
- package/dist/project-schema/v3.48.0.d.ts +2208 -0
- package/dist/project-schema/v3.48.0.js +7 -0
- package/dist/project-schema/v3.49.0.d.ts +2217 -0
- package/dist/project-schema/v3.49.0.js +7 -0
- package/dist/project-schema/v3.5.0.d.ts +649 -0
- package/dist/project-schema/v3.5.0.js +7 -0
- package/dist/project-schema/v3.5.1.d.ts +649 -0
- package/dist/project-schema/v3.5.1.js +7 -0
- package/dist/project-schema/v3.50.0.d.ts +2269 -0
- package/dist/project-schema/v3.50.0.js +7 -0
- package/dist/project-schema/v3.51.0.d.ts +2269 -0
- package/dist/project-schema/v3.51.0.js +7 -0
- package/dist/project-schema/v3.52.0.d.ts +2269 -0
- package/dist/project-schema/v3.52.0.js +7 -0
- package/dist/project-schema/v3.53.0.d.ts +2350 -0
- package/dist/project-schema/v3.53.0.js +7 -0
- package/dist/project-schema/v3.54.0.d.ts +2369 -0
- package/dist/project-schema/v3.54.0.js +7 -0
- package/dist/project-schema/v3.55.0.d.ts +2369 -0
- package/dist/project-schema/v3.55.0.js +7 -0
- package/dist/project-schema/v3.56.0.d.ts +2405 -0
- package/dist/project-schema/v3.56.0.js +7 -0
- package/dist/project-schema/v3.57.0.d.ts +2601 -0
- package/dist/project-schema/v3.57.0.js +7 -0
- package/dist/project-schema/v3.58.0.d.ts +2601 -0
- package/dist/project-schema/v3.58.0.js +7 -0
- package/dist/project-schema/v3.59.0.d.ts +2650 -0
- package/dist/project-schema/v3.59.0.js +7 -0
- package/dist/project-schema/v3.6.0.d.ts +658 -0
- package/dist/project-schema/v3.6.0.js +7 -0
- package/dist/project-schema/v3.60.0.d.ts +2678 -0
- package/dist/project-schema/v3.60.0.js +7 -0
- package/dist/project-schema/v3.61.0.d.ts +2678 -0
- package/dist/project-schema/v3.61.0.js +7 -0
- package/dist/project-schema/v3.62.0.d.ts +2693 -0
- package/dist/project-schema/v3.62.0.js +7 -0
- package/dist/project-schema/v3.63.0.d.ts +2701 -0
- package/dist/project-schema/v3.63.0.js +7 -0
- package/dist/project-schema/v3.64.0.d.ts +2710 -0
- package/dist/project-schema/v3.64.0.js +7 -0
- package/dist/project-schema/v3.65.0.d.ts +2762 -0
- package/dist/project-schema/v3.65.0.js +7 -0
- package/dist/project-schema/v3.7.0.d.ts +961 -0
- package/dist/project-schema/v3.7.0.js +7 -0
- package/dist/project-schema/v3.8.0.d.ts +979 -0
- package/dist/project-schema/v3.8.0.js +7 -0
- package/dist/project-schema/v3.9.0.d.ts +1178 -0
- package/dist/project-schema/v3.9.0.js +7 -0
- package/dist/project-schema/v4.0.0.d.ts +1328 -0
- package/dist/project-schema/v4.0.0.js +7 -0
- package/dist/refs.d.ts +220 -0
- package/dist/refs.js +648 -0
- package/dist/relationships.d.ts +40 -0
- package/dist/relationships.js +302 -0
- package/dist/resolvers/ai/abort-agent-message-args.d.ts +16 -0
- package/dist/resolvers/ai/abort-agent-message-args.js +13 -0
- package/dist/resolvers/ai/abort-agent-message-response.d.ts +39 -0
- package/dist/resolvers/ai/abort-agent-message-response.js +19 -0
- package/dist/resolvers/ai/agent-attachment.d.ts +27 -0
- package/dist/resolvers/ai/agent-attachment.js +22 -0
- package/dist/resolvers/ai/agent-chat-args.d.ts +62 -0
- package/dist/resolvers/ai/agent-chat-args.js +30 -0
- package/dist/resolvers/ai/agent-chat-payload.d.ts +35 -0
- package/dist/resolvers/ai/agent-chat-payload.js +26 -0
- package/dist/resolvers/ai/agent-chat-response.d.ts +366 -0
- package/dist/resolvers/ai/agent-chat-response.js +21 -0
- package/dist/resolvers/ai/agent-generate-args.d.ts +62 -0
- package/dist/resolvers/ai/agent-generate-args.js +30 -0
- package/dist/resolvers/ai/agent-message-input.d.ts +73 -0
- package/dist/resolvers/ai/agent-message-input.js +39 -0
- package/dist/resolvers/ai/agent-message-output.d.ts +169 -0
- package/dist/resolvers/ai/agent-message-output.js +77 -0
- package/dist/resolvers/ai/agent-message-payload.d.ts +849 -0
- package/dist/resolvers/ai/agent-message-payload.js +167 -0
- package/dist/resolvers/ai/agent-run-mode.d.ts +8 -0
- package/dist/resolvers/ai/agent-run-mode.js +9 -0
- package/dist/resolvers/ai/agent-session-payload.d.ts +840 -0
- package/dist/resolvers/ai/agent-session-payload.js +218 -0
- package/dist/resolvers/ai/ai-usage-item.d.ts +70 -0
- package/dist/resolvers/ai/ai-usage-item.js +70 -0
- package/dist/resolvers/ai/create-agent-session-response.d.ts +276 -0
- package/dist/resolvers/ai/create-agent-session-response.js +9 -0
- package/dist/resolvers/ai/embedding-search.d.ts +54 -0
- package/dist/resolvers/ai/embedding-search.js +46 -0
- package/dist/resolvers/ai/get-agent-message-args.d.ts +16 -0
- package/dist/resolvers/ai/get-agent-message-args.js +13 -0
- package/dist/resolvers/ai/get-agent-message-response.d.ts +1253 -0
- package/dist/resolvers/ai/get-agent-message-response.js +79 -0
- package/dist/resolvers/ai/inspect-agent-args.d.ts +16 -0
- package/dist/resolvers/ai/inspect-agent-args.js +13 -0
- package/dist/resolvers/ai/inspect-agent-response.d.ts +631 -0
- package/dist/resolvers/ai/inspect-agent-response.js +48 -0
- package/dist/resolvers/ai/send-agent-feedback-args.d.ts +52 -0
- package/dist/resolvers/ai/send-agent-feedback-args.js +16 -0
- package/dist/resolvers/ai/send-agent-message-args.d.ts +48 -0
- package/dist/resolvers/ai/send-agent-message-args.js +36 -0
- package/dist/resolvers/ai/send-agent-message-response.d.ts +432 -0
- package/dist/resolvers/ai/send-agent-message-response.js +51 -0
- package/dist/resolvers/ai/types.d.ts +8 -0
- package/dist/resolvers/ai/types.js +1 -0
- package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +79 -0
- package/dist/resolvers/takeshape/assets/asset-image-meta.js +98 -0
- package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +901 -0
- package/dist/resolvers/takeshape/assets/asset-image-params.js +726 -0
- package/dist/resolvers/takeshape/assets/asset-image.d.ts +17 -0
- package/dist/resolvers/takeshape/assets/asset-image.js +15 -0
- package/dist/resolvers/takeshape/assets/asset.d.ts +125 -0
- package/dist/resolvers/takeshape/assets/asset.js +107 -0
- package/dist/resolvers/takeshape/assets/constants.d.ts +11 -0
- package/dist/resolvers/takeshape/assets/constants.js +11 -0
- package/dist/resolvers/takeshape/builtins/constants.d.ts +1 -0
- package/dist/resolvers/takeshape/builtins/constants.js +1 -0
- package/dist/runtime-schema.d.ts +6 -0
- package/dist/runtime-schema.js +85 -0
- package/dist/scalars.d.ts +2 -0
- package/dist/scalars.js +4 -0
- package/dist/schema-transform.d.ts +19 -0
- package/dist/schema-transform.js +74 -0
- package/dist/schema-util.d.ts +266 -0
- package/dist/schema-util.js +1127 -0
- package/dist/schemas/auth-schemas.json +400 -0
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.js +182 -0
- package/dist/schemas/project-schema/experimental-2025-07.json +1297 -0
- package/dist/schemas/project-schema/latest.d.ts +245 -0
- package/dist/schemas/project-schema/latest.js +25 -0
- package/dist/schemas/project-schema/latest.json +5109 -0
- package/dist/schemas/project-schema/meta-schema-v1.0.0.json +193 -0
- package/dist/schemas/project-schema/meta-schema-v3.0.0.json +608 -0
- package/dist/schemas/project-schema/meta-schema-v3.1.0.json +608 -0
- package/dist/schemas/project-schema/meta-schema-v3.2.0.json +612 -0
- package/dist/schemas/project-schema/meta-schema-v3.3.0.json +612 -0
- package/dist/schemas/project-schema/meta-schema-v3.4.0.json +637 -0
- package/dist/schemas/project-schema/meta-schema-v3.5.0.json +626 -0
- package/dist/schemas/project-schema/meta-schema-v3.5.1.json +626 -0
- package/dist/schemas/project-schema/meta-schema-v3.6.0.json +629 -0
- package/dist/schemas/project-schema/meta-schema-v3.7.0.json +1137 -0
- package/dist/schemas/project-schema/meta-schema-v3.8.0.json +1137 -0
- package/dist/schemas/project-schema/meta-schema-v3.9.0.json +1477 -0
- package/dist/schemas/project-schema/v1.0.0.json +321 -0
- package/dist/schemas/project-schema/v3.0.0.json +414 -0
- package/dist/schemas/project-schema/v3.1.0.json +572 -0
- package/dist/schemas/project-schema/v3.10.0.json +2097 -0
- package/dist/schemas/project-schema/v3.11.0.json +2141 -0
- package/dist/schemas/project-schema/v3.12.0.json +2144 -0
- package/dist/schemas/project-schema/v3.12.1.json +2282 -0
- package/dist/schemas/project-schema/v3.12.2.json +2304 -0
- package/dist/schemas/project-schema/v3.12.3.json +2357 -0
- package/dist/schemas/project-schema/v3.13.0.json +2377 -0
- package/dist/schemas/project-schema/v3.14.0.json +2385 -0
- package/dist/schemas/project-schema/v3.15.0.json +2365 -0
- package/dist/schemas/project-schema/v3.16.0.json +2373 -0
- package/dist/schemas/project-schema/v3.17.0.json +2378 -0
- package/dist/schemas/project-schema/v3.17.1.json +2380 -0
- package/dist/schemas/project-schema/v3.18.0.json +2356 -0
- package/dist/schemas/project-schema/v3.18.1.json +2357 -0
- package/dist/schemas/project-schema/v3.18.2.json +2357 -0
- package/dist/schemas/project-schema/v3.19.0.json +2369 -0
- package/dist/schemas/project-schema/v3.2.0.json +580 -0
- package/dist/schemas/project-schema/v3.20.0.json +2369 -0
- package/dist/schemas/project-schema/v3.21.0.json +2376 -0
- package/dist/schemas/project-schema/v3.22.0.json +2381 -0
- package/dist/schemas/project-schema/v3.23.0.json +2456 -0
- package/dist/schemas/project-schema/v3.24.0.json +2556 -0
- package/dist/schemas/project-schema/v3.25.0.json +2552 -0
- package/dist/schemas/project-schema/v3.26.0.json +2599 -0
- package/dist/schemas/project-schema/v3.27.0.json +2611 -0
- package/dist/schemas/project-schema/v3.28.0.json +2656 -0
- package/dist/schemas/project-schema/v3.29.0.json +2670 -0
- package/dist/schemas/project-schema/v3.3.0.json +581 -0
- package/dist/schemas/project-schema/v3.30.0.json +2656 -0
- package/dist/schemas/project-schema/v3.31.0.json +2714 -0
- package/dist/schemas/project-schema/v3.32.0.json +2708 -0
- package/dist/schemas/project-schema/v3.33.0.json +2715 -0
- package/dist/schemas/project-schema/v3.34.0.json +2715 -0
- package/dist/schemas/project-schema/v3.35.0.json +2748 -0
- package/dist/schemas/project-schema/v3.36.0.json +2756 -0
- package/dist/schemas/project-schema/v3.37.0.json +2821 -0
- package/dist/schemas/project-schema/v3.38.0.json +2819 -0
- package/dist/schemas/project-schema/v3.39.0.json +2827 -0
- package/dist/schemas/project-schema/v3.4.0.json +571 -0
- package/dist/schemas/project-schema/v3.40.0.json +2830 -0
- package/dist/schemas/project-schema/v3.41.0.json +2830 -0
- package/dist/schemas/project-schema/v3.42.0.json +2835 -0
- package/dist/schemas/project-schema/v3.43.0.json +2841 -0
- package/dist/schemas/project-schema/v3.44.0.json +3013 -0
- package/dist/schemas/project-schema/v3.45.0.json +3064 -0
- package/dist/schemas/project-schema/v3.46.0.json +3136 -0
- package/dist/schemas/project-schema/v3.47.0.json +3189 -0
- package/dist/schemas/project-schema/v3.48.0.json +3196 -0
- package/dist/schemas/project-schema/v3.49.0.json +3239 -0
- package/dist/schemas/project-schema/v3.5.0.json +571 -0
- package/dist/schemas/project-schema/v3.5.1.json +571 -0
- package/dist/schemas/project-schema/v3.50.0.json +3320 -0
- package/dist/schemas/project-schema/v3.51.0.json +3326 -0
- package/dist/schemas/project-schema/v3.52.0.json +3326 -0
- package/dist/schemas/project-schema/v3.53.0.json +3476 -0
- package/dist/schemas/project-schema/v3.54.0.json +3512 -0
- package/dist/schemas/project-schema/v3.55.0.json +3515 -0
- package/dist/schemas/project-schema/v3.56.0.json +3530 -0
- package/dist/schemas/project-schema/v3.57.0.json +4815 -0
- package/dist/schemas/project-schema/v3.58.0.json +4815 -0
- package/dist/schemas/project-schema/v3.59.0.json +4912 -0
- package/dist/schemas/project-schema/v3.6.0.json +587 -0
- package/dist/schemas/project-schema/v3.60.0.json +4974 -0
- package/dist/schemas/project-schema/v3.61.0.json +4974 -0
- package/dist/schemas/project-schema/v3.62.0.json +5007 -0
- package/dist/schemas/project-schema/v3.63.0.json +5020 -0
- package/dist/schemas/project-schema/v3.64.0.json +5032 -0
- package/dist/schemas/project-schema/v3.65.0.json +5109 -0
- package/dist/schemas/project-schema/v3.7.0.json +587 -0
- package/dist/schemas/project-schema/v3.8.0.json +604 -0
- package/dist/schemas/project-schema/v3.9.0.json +604 -0
- package/dist/schemas/project-schema/v4.0.0.json +2316 -0
- package/dist/schemas/project-schema.json +232 -0
- package/dist/service-dependencies.d.ts +13 -0
- package/dist/service-dependencies.js +165 -0
- package/dist/services/services.d.ts +31 -0
- package/dist/services/services.js +145 -0
- package/dist/services/types.d.ts +11 -0
- package/dist/services/types.js +1 -0
- package/dist/services/util.d.ts +16 -0
- package/dist/services/util.js +36 -0
- package/dist/shape-paths.d.ts +7 -0
- package/dist/shape-paths.js +40 -0
- package/dist/taxonomies.d.ts +15 -0
- package/dist/taxonomies.js +24 -0
- package/dist/template-shapes/index.d.ts +7 -0
- package/dist/template-shapes/index.js +33 -0
- package/dist/template-shapes/names.d.ts +10 -0
- package/dist/template-shapes/names.js +21 -0
- package/dist/template-shapes/templates.d.ts +32 -0
- package/dist/template-shapes/templates.js +316 -0
- package/dist/template-shapes/types.d.ts +15 -0
- package/dist/template-shapes/types.js +7 -0
- package/dist/template-shapes/where.d.ts +37 -0
- package/dist/template-shapes/where.js +415 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +2 -0
- package/dist/types/transforms.d.ts +15 -0
- package/dist/types/transforms.js +1 -0
- package/dist/types/types.d.ts +206 -0
- package/dist/types/types.js +10 -0
- package/dist/types/utils.d.ts +112 -0
- package/dist/types/utils.js +269 -0
- package/dist/unions.d.ts +14 -0
- package/dist/unions.js +77 -0
- package/dist/util/agent-utils.d.ts +2 -0
- package/dist/util/agent-utils.js +7 -0
- package/dist/util/api-indexing.d.ts +9 -0
- package/dist/util/api-indexing.js +57 -0
- package/dist/util/coerce-value.d.ts +9 -0
- package/dist/util/coerce-value.js +32 -0
- package/dist/util/detect-cycles.d.ts +7 -0
- package/dist/util/detect-cycles.js +45 -0
- package/dist/util/expressions.d.ts +34 -0
- package/dist/util/expressions.js +350 -0
- package/dist/util/find-shape-at-path.d.ts +21 -0
- package/dist/util/find-shape-at-path.js +53 -0
- package/dist/util/form-config.d.ts +11 -0
- package/dist/util/form-config.js +62 -0
- package/dist/util/get-conflicting-properties.d.ts +6 -0
- package/dist/util/get-conflicting-properties.js +55 -0
- package/dist/util/get-return-shape.d.ts +4 -0
- package/dist/util/get-return-shape.js +30 -0
- package/dist/util/graphql-string.d.ts +6 -0
- package/dist/util/graphql-string.js +75 -0
- package/dist/util/has-arg.d.ts +6 -0
- package/dist/util/has-arg.js +25 -0
- package/dist/util/is-asset-property.d.ts +3 -0
- package/dist/util/is-asset-property.js +11 -0
- package/dist/util/merge.d.ts +17 -0
- package/dist/util/merge.js +278 -0
- package/dist/util/patch-schema.d.ts +13 -0
- package/dist/util/patch-schema.js +89 -0
- package/dist/util/query-field-path.d.ts +9 -0
- package/dist/util/query-field-path.js +23 -0
- package/dist/util/shapes.d.ts +5 -0
- package/dist/util/shapes.js +22 -0
- package/dist/util/tools.d.ts +10 -0
- package/dist/util/tools.js +39 -0
- package/dist/validate/ai.d.ts +6 -0
- package/dist/validate/ai.js +221 -0
- package/dist/validate/errors.d.ts +3 -0
- package/dist/validate/errors.js +20 -0
- package/dist/validate/types.d.ts +43 -0
- package/dist/validate/types.js +1 -0
- package/dist/validate/util.d.ts +9 -0
- package/dist/validate/util.js +62 -0
- package/dist/validate/validate.d.ts +41 -0
- package/dist/validate/validate.js +1042 -0
- package/dist/versions.d.ts +4 -0
- package/dist/versions.js +4 -0
- package/dist/workflows.d.ts +14 -0
- package/dist/workflows.js +66 -0
- package/package.json +6 -6
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import type { FromSchema } from 'json-schema-to-ts';
|
|
2
|
+
export declare const shapeName = "TSAgentMessageOutput";
|
|
3
|
+
export declare const generateStateOutputSchema: {
|
|
4
|
+
readonly title: "TSAgentGenerateStateOutput";
|
|
5
|
+
readonly type: "object";
|
|
6
|
+
readonly properties: {
|
|
7
|
+
readonly type: {
|
|
8
|
+
readonly const: "generate";
|
|
9
|
+
};
|
|
10
|
+
readonly data: {};
|
|
11
|
+
};
|
|
12
|
+
readonly required: ["type", "data"];
|
|
13
|
+
readonly additionalProperties: false;
|
|
14
|
+
};
|
|
15
|
+
export declare const graphQLStateOutputSchema: {
|
|
16
|
+
readonly title: "TSAgentGraphQLStateOutput";
|
|
17
|
+
readonly type: "object";
|
|
18
|
+
readonly properties: {
|
|
19
|
+
readonly type: {
|
|
20
|
+
readonly const: "graphql";
|
|
21
|
+
};
|
|
22
|
+
readonly data: {};
|
|
23
|
+
};
|
|
24
|
+
readonly required: ["type", "data"];
|
|
25
|
+
readonly additionalProperties: false;
|
|
26
|
+
};
|
|
27
|
+
export declare const chatStateOutputSchema: {
|
|
28
|
+
readonly title: "TSAgentChatStateOutput";
|
|
29
|
+
readonly type: "object";
|
|
30
|
+
readonly properties: {
|
|
31
|
+
readonly type: {
|
|
32
|
+
readonly const: "chat";
|
|
33
|
+
};
|
|
34
|
+
readonly data: {
|
|
35
|
+
readonly type: "object";
|
|
36
|
+
readonly properties: {
|
|
37
|
+
readonly content: {
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
};
|
|
40
|
+
readonly artifact: {
|
|
41
|
+
readonly type: "object";
|
|
42
|
+
};
|
|
43
|
+
readonly references: {
|
|
44
|
+
readonly type: "array";
|
|
45
|
+
readonly items: {
|
|
46
|
+
readonly type: "object";
|
|
47
|
+
readonly properties: {
|
|
48
|
+
readonly _tid: {
|
|
49
|
+
readonly type: "string";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
readonly required: ["_tid"];
|
|
53
|
+
readonly additionalProperties: false;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
readonly required: ["content", "references"];
|
|
58
|
+
readonly additionalProperties: false;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly required: ["type", "data"];
|
|
62
|
+
readonly additionalProperties: false;
|
|
63
|
+
};
|
|
64
|
+
export declare const unknownStateOutputSchema: {
|
|
65
|
+
readonly title: "TSAgentUnknownStateOutput";
|
|
66
|
+
readonly type: "object";
|
|
67
|
+
readonly properties: {
|
|
68
|
+
readonly type: {
|
|
69
|
+
readonly const: "unknown";
|
|
70
|
+
};
|
|
71
|
+
readonly data: {};
|
|
72
|
+
};
|
|
73
|
+
readonly required: ["type", "data"];
|
|
74
|
+
readonly additionalProperties: false;
|
|
75
|
+
};
|
|
76
|
+
export declare const schema: {
|
|
77
|
+
readonly title: "TSAgentMessageOutput";
|
|
78
|
+
readonly description: "The output schema for agent messages.";
|
|
79
|
+
readonly discriminator: {
|
|
80
|
+
readonly propertyName: "type";
|
|
81
|
+
};
|
|
82
|
+
readonly oneOf: [{
|
|
83
|
+
readonly title: "TSAgentGenerateStateOutput";
|
|
84
|
+
readonly type: "object";
|
|
85
|
+
readonly properties: {
|
|
86
|
+
readonly type: {
|
|
87
|
+
readonly const: "generate";
|
|
88
|
+
};
|
|
89
|
+
readonly data: {};
|
|
90
|
+
};
|
|
91
|
+
readonly required: ["type", "data"];
|
|
92
|
+
readonly additionalProperties: false;
|
|
93
|
+
}, {
|
|
94
|
+
readonly title: "TSAgentGraphQLStateOutput";
|
|
95
|
+
readonly type: "object";
|
|
96
|
+
readonly properties: {
|
|
97
|
+
readonly type: {
|
|
98
|
+
readonly const: "graphql";
|
|
99
|
+
};
|
|
100
|
+
readonly data: {};
|
|
101
|
+
};
|
|
102
|
+
readonly required: ["type", "data"];
|
|
103
|
+
readonly additionalProperties: false;
|
|
104
|
+
}, {
|
|
105
|
+
readonly title: "TSAgentChatStateOutput";
|
|
106
|
+
readonly type: "object";
|
|
107
|
+
readonly properties: {
|
|
108
|
+
readonly type: {
|
|
109
|
+
readonly const: "chat";
|
|
110
|
+
};
|
|
111
|
+
readonly data: {
|
|
112
|
+
readonly type: "object";
|
|
113
|
+
readonly properties: {
|
|
114
|
+
readonly content: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
};
|
|
117
|
+
readonly artifact: {
|
|
118
|
+
readonly type: "object";
|
|
119
|
+
};
|
|
120
|
+
readonly references: {
|
|
121
|
+
readonly type: "array";
|
|
122
|
+
readonly items: {
|
|
123
|
+
readonly type: "object";
|
|
124
|
+
readonly properties: {
|
|
125
|
+
readonly _tid: {
|
|
126
|
+
readonly type: "string";
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
readonly required: ["_tid"];
|
|
130
|
+
readonly additionalProperties: false;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
readonly required: ["content", "references"];
|
|
135
|
+
readonly additionalProperties: false;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
readonly required: ["type", "data"];
|
|
139
|
+
readonly additionalProperties: false;
|
|
140
|
+
}, {
|
|
141
|
+
readonly title: "TSAgentUnknownStateOutput";
|
|
142
|
+
readonly type: "object";
|
|
143
|
+
readonly properties: {
|
|
144
|
+
readonly type: {
|
|
145
|
+
readonly const: "unknown";
|
|
146
|
+
};
|
|
147
|
+
readonly data: {};
|
|
148
|
+
};
|
|
149
|
+
readonly required: ["type", "data"];
|
|
150
|
+
readonly additionalProperties: false;
|
|
151
|
+
}];
|
|
152
|
+
};
|
|
153
|
+
export type AgentMessageOutput = FromSchema<typeof schema>;
|
|
154
|
+
export declare const shapeSchema: {
|
|
155
|
+
readonly oneOf: [{
|
|
156
|
+
readonly '@ref': "TSAgentGenerateStateOutput";
|
|
157
|
+
}, {
|
|
158
|
+
readonly '@ref': "TSAgentGraphQLStateOutput";
|
|
159
|
+
}, {
|
|
160
|
+
readonly '@ref': "TSAgentChatStateOutput";
|
|
161
|
+
}, {
|
|
162
|
+
readonly '@ref': "TSAgentUnknownStateOutput";
|
|
163
|
+
}];
|
|
164
|
+
readonly title: "TSAgentMessageOutput";
|
|
165
|
+
readonly description: "The output schema for agent messages.";
|
|
166
|
+
readonly discriminator: {
|
|
167
|
+
readonly propertyName: "type";
|
|
168
|
+
};
|
|
169
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export const shapeName = 'TSAgentMessageOutput';
|
|
2
|
+
export const generateStateOutputSchema = {
|
|
3
|
+
title: 'TSAgentGenerateStateOutput',
|
|
4
|
+
type: 'object',
|
|
5
|
+
properties: {
|
|
6
|
+
type: { const: 'generate' },
|
|
7
|
+
data: {}
|
|
8
|
+
},
|
|
9
|
+
required: ['type', 'data'],
|
|
10
|
+
additionalProperties: false
|
|
11
|
+
};
|
|
12
|
+
export const graphQLStateOutputSchema = {
|
|
13
|
+
title: 'TSAgentGraphQLStateOutput',
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
type: { const: 'graphql' },
|
|
17
|
+
data: {}
|
|
18
|
+
},
|
|
19
|
+
required: ['type', 'data'],
|
|
20
|
+
additionalProperties: false
|
|
21
|
+
};
|
|
22
|
+
export const chatStateOutputSchema = {
|
|
23
|
+
title: 'TSAgentChatStateOutput',
|
|
24
|
+
type: 'object',
|
|
25
|
+
properties: {
|
|
26
|
+
type: { const: 'chat' },
|
|
27
|
+
data: {
|
|
28
|
+
type: 'object',
|
|
29
|
+
properties: {
|
|
30
|
+
content: { type: 'string' },
|
|
31
|
+
artifact: { type: 'object' },
|
|
32
|
+
references: {
|
|
33
|
+
type: 'array',
|
|
34
|
+
items: {
|
|
35
|
+
type: 'object',
|
|
36
|
+
properties: {
|
|
37
|
+
_tid: { type: 'string' }
|
|
38
|
+
},
|
|
39
|
+
required: ['_tid'],
|
|
40
|
+
additionalProperties: false
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
required: ['content', 'references'],
|
|
45
|
+
additionalProperties: false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
required: ['type', 'data'],
|
|
49
|
+
additionalProperties: false
|
|
50
|
+
};
|
|
51
|
+
export const unknownStateOutputSchema = {
|
|
52
|
+
title: 'TSAgentUnknownStateOutput',
|
|
53
|
+
type: 'object',
|
|
54
|
+
properties: {
|
|
55
|
+
type: { const: 'unknown' },
|
|
56
|
+
data: {}
|
|
57
|
+
},
|
|
58
|
+
required: ['type', 'data'],
|
|
59
|
+
additionalProperties: false
|
|
60
|
+
};
|
|
61
|
+
export const schema = {
|
|
62
|
+
title: shapeName,
|
|
63
|
+
description: 'The output schema for agent messages.',
|
|
64
|
+
discriminator: {
|
|
65
|
+
propertyName: 'type'
|
|
66
|
+
},
|
|
67
|
+
oneOf: [generateStateOutputSchema, graphQLStateOutputSchema, chatStateOutputSchema, unknownStateOutputSchema]
|
|
68
|
+
};
|
|
69
|
+
export const shapeSchema = {
|
|
70
|
+
...schema,
|
|
71
|
+
oneOf: [
|
|
72
|
+
{ '@ref': generateStateOutputSchema.title },
|
|
73
|
+
{ '@ref': graphQLStateOutputSchema.title },
|
|
74
|
+
{ '@ref': chatStateOutputSchema.title },
|
|
75
|
+
{ '@ref': unknownStateOutputSchema.title }
|
|
76
|
+
]
|
|
77
|
+
};
|