@takeshape/schema 11.105.0 → 11.106.1

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.
Files changed (89) hide show
  1. package/dist/agents.d.ts +4 -4
  2. package/dist/agents.js +4 -4
  3. package/dist/migration/index.d.ts +1 -0
  4. package/dist/migration/index.js +3 -1
  5. package/dist/migration/to/v3.57.0.d.ts +4 -0
  6. package/dist/migration/to/v3.57.0.js +18 -0
  7. package/dist/migration/types.d.ts +7 -4
  8. package/dist/migration/types.js +3 -3
  9. package/dist/project-schema/index.d.ts +4 -1
  10. package/dist/project-schema/index.js +2 -1
  11. package/dist/project-schema/latest.d.ts +452 -260
  12. package/dist/project-schema/migrate.js +4 -1
  13. package/dist/project-schema/v3.57.0.d.ts +2597 -0
  14. package/dist/project-schema/v3.57.0.js +7 -0
  15. package/dist/refs.js +2 -2
  16. package/dist/schema-util.d.ts +2 -2
  17. package/dist/schemas/index.d.ts +2 -2
  18. package/dist/schemas/index.js +5 -3
  19. package/dist/schemas/project-schema/{experimental.json → experimental-2025-07.json} +1 -2
  20. package/dist/schemas/project-schema/latest.d.ts +180 -0
  21. package/dist/schemas/project-schema/latest.js +11 -0
  22. package/dist/schemas/project-schema/latest.json +1292 -12
  23. package/dist/schemas/project-schema/v3.48.0.json +2 -2
  24. package/dist/schemas/project-schema/v3.49.0.json +2 -2
  25. package/dist/schemas/project-schema/v3.50.0.json +3 -3
  26. package/dist/schemas/project-schema/v3.51.0.json +3 -3
  27. package/dist/schemas/project-schema/v3.52.0.json +3 -3
  28. package/dist/schemas/project-schema/v3.53.0.json +3 -3
  29. package/dist/schemas/project-schema/v3.54.0.json +3 -3
  30. package/dist/schemas/project-schema/v3.55.0.json +3 -3
  31. package/dist/schemas/project-schema/v3.56.0.json +7 -7
  32. package/dist/schemas/project-schema/v3.57.0.json +4810 -0
  33. package/dist/schemas/project-schema.json +3 -0
  34. package/dist/util/mcp.d.ts +1 -1
  35. package/dist/util/mcp.js +2 -2
  36. package/dist/validate/validate.d.ts +2 -1
  37. package/dist/validate/validate.js +15 -13
  38. package/examples/latest/agent-schema.json +174 -176
  39. package/examples/latest/all-fields-shapes-inline.json +1 -1
  40. package/examples/latest/all-fields-shapes.json +1 -1
  41. package/examples/latest/betzino.json +1 -1
  42. package/examples/latest/blog-schema.json +1 -1
  43. package/examples/latest/brewery-schema.json +1 -1
  44. package/examples/latest/clear-cache-schema.json +1 -1
  45. package/examples/latest/complex-project-schema.json +1 -1
  46. package/examples/latest/complex-schema.json +1 -1
  47. package/examples/latest/edit-schema.json +1 -1
  48. package/examples/latest/fabric-ecommerce.json +1 -1
  49. package/examples/latest/frank-and-fred-schema.json +1 -1
  50. package/examples/latest/klirr-schema.json +1 -1
  51. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  52. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  53. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  54. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  55. package/examples/latest/massive-schema.json +1 -1
  56. package/examples/latest/mill-components-schema.json +1 -1
  57. package/examples/latest/nested-shape-arrays.json +1 -1
  58. package/examples/latest/one-earth.json +1 -1
  59. package/examples/latest/pet-oneof-array.json +1 -1
  60. package/examples/latest/post-schema.json +1 -1
  61. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  62. package/examples/latest/rag-example.json +1 -1
  63. package/examples/latest/real-world-schema.json +1 -1
  64. package/examples/latest/recursive-repeater-schema.json +1 -1
  65. package/examples/latest/recursive-schema.json +1 -1
  66. package/examples/latest/rick-and-morty-ast.json +1 -1
  67. package/examples/latest/rick-and-morty-graphql.json +1 -1
  68. package/examples/latest/rick-and-morty-rest.json +1 -1
  69. package/examples/latest/rick-and-morty-user-schema.json +1 -1
  70. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  71. package/examples/latest/schema-where-filter.json +1 -1
  72. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  73. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  74. package/examples/latest/shape-books-v3_2_0.json +1 -1
  75. package/examples/latest/shape-books.json +1 -1
  76. package/examples/latest/shape-editor-schema-edited.json +1 -1
  77. package/examples/latest/shape-editor-schema-initial.json +1 -1
  78. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  79. package/examples/latest/shopify-lookbook.json +1 -1
  80. package/examples/latest/shopify-product-2022-07.json +1 -1
  81. package/examples/latest/shopify-product-2023-04.json +1 -1
  82. package/examples/latest/shopify-store-with-widget.json +1 -1
  83. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  84. package/examples/latest/stripe-starter-resolved.json +1 -1
  85. package/examples/latest/user-schema-no-required.json +1 -1
  86. package/examples/latest/user-schema-with-defaults.json +1 -1
  87. package/examples/latest/valvoline-ai-demo.json +1 -1
  88. package/examples/latest/vector-search-schema.json +1 -1
  89. package/package.json +27 -28
@@ -924,7 +924,7 @@
924
924
  "$ref": "#/definitions/aiParseFileResolver"
925
925
  },
926
926
  {
927
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
927
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
928
928
  }
929
929
  ]
930
930
  },
@@ -3165,7 +3165,7 @@
3165
3165
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3166
3166
  },
3167
3167
  "ai-experimental": {
3168
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3168
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3169
3169
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3170
3170
  },
3171
3171
  "forms": {
@@ -924,7 +924,7 @@
924
924
  "$ref": "#/definitions/aiParseFileResolver"
925
925
  },
926
926
  {
927
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
927
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
928
928
  }
929
929
  ]
930
930
  },
@@ -3208,7 +3208,7 @@
3208
3208
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3209
3209
  },
3210
3210
  "ai-experimental": {
3211
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3211
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3212
3212
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3213
3213
  },
3214
3214
  "forms": {
@@ -930,10 +930,10 @@
930
930
  "$ref": "#/definitions/aiParseFileResolver"
931
931
  },
932
932
  {
933
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
933
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
934
934
  },
935
935
  {
936
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiInspectAgentResolver"
936
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiInspectAgentResolver"
937
937
  }
938
938
  ]
939
939
  },
@@ -3289,7 +3289,7 @@
3289
3289
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3290
3290
  },
3291
3291
  "ai-experimental": {
3292
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3292
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3293
3293
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3294
3294
  },
3295
3295
  "forms": {
@@ -930,10 +930,10 @@
930
930
  "$ref": "#/definitions/aiParseFileResolver"
931
931
  },
932
932
  {
933
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
933
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
934
934
  },
935
935
  {
936
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiInspectAgentResolver"
936
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiInspectAgentResolver"
937
937
  }
938
938
  ]
939
939
  },
@@ -3295,7 +3295,7 @@
3295
3295
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3296
3296
  },
3297
3297
  "ai-experimental": {
3298
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3298
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3299
3299
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3300
3300
  },
3301
3301
  "forms": {
@@ -930,10 +930,10 @@
930
930
  "$ref": "#/definitions/aiParseFileResolver"
931
931
  },
932
932
  {
933
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
933
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
934
934
  },
935
935
  {
936
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiInspectAgentResolver"
936
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiInspectAgentResolver"
937
937
  }
938
938
  ]
939
939
  },
@@ -3295,7 +3295,7 @@
3295
3295
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3296
3296
  },
3297
3297
  "ai-experimental": {
3298
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3298
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3299
3299
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3300
3300
  },
3301
3301
  "forms": {
@@ -933,10 +933,10 @@
933
933
  "$ref": "#/definitions/utilChunkResolver"
934
934
  },
935
935
  {
936
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
936
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
937
937
  },
938
938
  {
939
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiInspectAgentResolver"
939
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiInspectAgentResolver"
940
940
  }
941
941
  ]
942
942
  },
@@ -3445,7 +3445,7 @@
3445
3445
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3446
3446
  },
3447
3447
  "ai-experimental": {
3448
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3448
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3449
3449
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3450
3450
  },
3451
3451
  "forms": {
@@ -936,10 +936,10 @@
936
936
  "$ref": "#/definitions/utilChunkResolver"
937
937
  },
938
938
  {
939
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
939
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
940
940
  },
941
941
  {
942
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiInspectAgentResolver"
942
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiInspectAgentResolver"
943
943
  }
944
944
  ]
945
945
  },
@@ -3481,7 +3481,7 @@
3481
3481
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3482
3482
  },
3483
3483
  "ai-experimental": {
3484
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3484
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3485
3485
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3486
3486
  },
3487
3487
  "forms": {
@@ -936,10 +936,10 @@
936
936
  "$ref": "#/definitions/utilChunkResolver"
937
937
  },
938
938
  {
939
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
939
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
940
940
  },
941
941
  {
942
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiInspectAgentResolver"
942
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiInspectAgentResolver"
943
943
  }
944
944
  ]
945
945
  },
@@ -3484,7 +3484,7 @@
3484
3484
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3485
3485
  },
3486
3486
  "ai-experimental": {
3487
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3487
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3488
3488
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3489
3489
  },
3490
3490
  "forms": {
@@ -939,22 +939,22 @@
939
939
  "$ref": "#/definitions/utilChunkResolver"
940
940
  },
941
941
  {
942
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiRunAgentResolver"
942
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiRunAgentResolver"
943
943
  },
944
944
  {
945
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiInspectAgentResolver"
945
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiInspectAgentResolver"
946
946
  },
947
947
  {
948
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiCreateAgentSessionResolver"
948
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiCreateAgentSessionResolver"
949
949
  },
950
950
  {
951
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiGetAgentMessageResolver"
951
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiGetAgentMessageResolver"
952
952
  },
953
953
  {
954
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiAbortAgentMessageResolver"
954
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiAbortAgentMessageResolver"
955
955
  },
956
956
  {
957
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiSendAgentFeedbackResolver"
957
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiSendAgentFeedbackResolver"
958
958
  }
959
959
  ]
960
960
  },
@@ -3499,7 +3499,7 @@
3499
3499
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3500
3500
  },
3501
3501
  "ai-experimental": {
3502
- "$ref": "https://schema.takeshape.io/project-schema/experimental#/definitions/aiExperimental",
3502
+ "$ref": "https://schema.takeshape.io/project-schema/experimental-2025-07#/definitions/aiExperimental",
3503
3503
  "description": "Unstable AI features that will not be migrated when removed. Not suitable for production use."
3504
3504
  },
3505
3505
  "forms": {