@wayai/cli 0.3.240 → 0.3.241

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/index.js CHANGED
@@ -6485,10 +6485,10 @@ var init_chunk_BEOHBREG = __esm({
6485
6485
  }
6486
6486
  });
6487
6487
 
6488
- // ../../packages/core/dist/chunk-TPFTFBLF.js
6488
+ // ../../packages/core/dist/chunk-C2BKAZB7.js
6489
6489
  var TOOLSET_SLUG_PATTERN, REKOR_STRUCTURAL_ID_PATTERN, baseEnvironmentSchema, toolsetFileToolSchema, toolsetSurfaceSchema, toolsetConnectionBindingSchema, rekorToolsetToolsSchema, rekorBoundAttestation, rekorResolvedToolsetSchema, resolvedRecordTypeSchema, reviewWritersSchema, sharedScopeSchema, resolvedFileToolSchema, rekorToolsetFileSchema, rekorToolsetFileUrlAnswerSchema, rekorToolsetFileListSchema, rekorToolsetFileGetSchema, rekorToolsetFilePutSchema, TOOLSET_CUSTOMER_FACING_REFUSAL_MARK, TOOLSET_CUSTOMER_FACING_REFUSAL;
6490
- var init_chunk_TPFTFBLF = __esm({
6491
- "../../packages/core/dist/chunk-TPFTFBLF.js"() {
6490
+ var init_chunk_C2BKAZB7 = __esm({
6491
+ "../../packages/core/dist/chunk-C2BKAZB7.js"() {
6492
6492
  "use strict";
6493
6493
  init_chunk_BEOHBREG();
6494
6494
  init_chunk_DHPUPI4Y();
@@ -6511,7 +6511,7 @@ var init_chunk_TPFTFBLF = __esm({
6511
6511
  })
6512
6512
  });
6513
6513
  toolsetSurfaceSchema = external_exports.object({
6514
- /** Any record, composite or relationship tool: the toolset reaches records. */
6514
+ /** Any record, composite, relationship or SQL Action tool: the toolset reaches records. */
6515
6515
  records: external_exports.boolean(),
6516
6516
  sql_query: external_exports.boolean(),
6517
6517
  batch: external_exports.boolean(),
@@ -6550,7 +6550,8 @@ var init_chunk_TPFTFBLF = __esm({
6550
6550
  /**
6551
6551
  * Every record type the toolset reaches, at least one, is reviewed (`x-review`), holds no customer data
6552
6552
  * (`shared`), and does not name it among its writers: each call reads only that type's approved
6553
- * records (#5083 decision 182, Q9). Absent on a surface recorded before it was, which reads as false.
6553
+ * records (#5083 decision 182, Q9). Never with a SQL Action, whose query reads its types' every
6554
+ * record, drafts included. Absent on a surface recorded before it was, which reads as false.
6554
6555
  */
6555
6556
  approved_reads_only: external_exports.boolean().optional(),
6556
6557
  /**
@@ -6631,6 +6632,11 @@ var init_chunk_TPFTFBLF = __esm({
6631
6632
  actions: external_exports.array(external_exports.unknown()).optional(),
6632
6633
  composites: external_exports.array(external_exports.unknown()).optional(),
6633
6634
  relationships: external_exports.array(external_exports.unknown()).optional(),
6635
+ /**
6636
+ * The toolset's SQL Actions (#5311): each a fixed, read-only query over the record types it
6637
+ * declares, which the resolve also carries in `record_types` and `record_type_scopes`.
6638
+ */
6639
+ sql_actions: external_exports.array(external_exports.unknown()).optional(),
6634
6640
  files: external_exports.array(external_exports.unknown()).optional(),
6635
6641
  batch: external_exports.object({ enabled: external_exports.boolean().optional() }).passthrough().nullable().optional(),
6636
6642
  sql_query: external_exports.boolean().optional(),
@@ -6638,14 +6644,14 @@ var init_chunk_TPFTFBLF = __esm({
6638
6644
  customer_scope: external_exports.boolean().optional(),
6639
6645
  /**
6640
6646
  * Record types the toolset reaches, by id, as the data product stores them (`json_schema`
6641
- * included): each one its actions and composite record steps reach, and each reviewed one it
6647
+ * included): each one its actions, composite record steps and SQL Actions reach, and each reviewed one it
6642
6648
  * reaches otherwise (relationship ends, `batch` entries, every one through `sql_query`; #5083
6643
6649
  * decision 198). An unreviewed type it reaches only otherwise is not here. A reviewed type's
6644
6650
  * `x-review` names its writers (RK4).
6645
6651
  */
6646
6652
  record_types: external_exports.record(external_exports.unknown()).optional(),
6647
6653
  /**
6648
- * What each record type the toolset's actions, composite steps and relationship tools reach is to a
6654
+ * What each record type the toolset's actions, composite steps, SQL Actions and relationship tools reach is to a
6649
6655
  * customer scope (`{ role }`, or null), by id (#5083 RK2). A reviewed type `record_types` carries
6650
6656
  * because only a `batch` entry or `sql_query` reaches it has none.
6651
6657
  */
@@ -6685,7 +6691,7 @@ var init_chunk_TPFTFBLF = __esm({
6685
6691
  });
6686
6692
  rekorToolsetFilePutSchema = external_exports.object({ data: rekorToolsetFileSchema });
6687
6693
  TOOLSET_CUSTOMER_FACING_REFUSAL_MARK = "A customer-facing agent (a pilot, pilot specialist or pilot advisor) can use a toolset only when it exposes files alone: no record, composite or relationship tools, and neither sql_query nor batch";
6688
- TOOLSET_CUSTOMER_FACING_REFUSAL = `${TOOLSET_CUSTOMER_FACING_REFUSAL_MARK}, nor a file put, delete or put_url, nor a write of a reviewed record type \u2014 unless the toolset is customer-scoped, which admits its record, composite and relationship tools, since each of their calls reaches only the conversation's customer and shared records, or they only read approved records of reviewed shared record types`;
6694
+ TOOLSET_CUSTOMER_FACING_REFUSAL = `${TOOLSET_CUSTOMER_FACING_REFUSAL_MARK}, nor a file put, delete or put_url, nor a write of a reviewed record type \u2014 unless the toolset is customer-scoped, which admits its record, composite, relationship and SQL Action tools, since each of their calls reaches only the conversation's customer and shared records, or they only read approved records of reviewed shared record types`;
6689
6695
  }
6690
6696
  });
6691
6697
 
@@ -15073,7 +15079,7 @@ var init_contracts = __esm({
15073
15079
  init_chunk_Y7CFCYX4();
15074
15080
  init_chunk_5DGHIY7L();
15075
15081
  init_chunk_N4FMK4UY();
15076
- init_chunk_TPFTFBLF();
15082
+ init_chunk_C2BKAZB7();
15077
15083
  init_chunk_BEOHBREG();
15078
15084
  init_chunk_IPDOHAZ5();
15079
15085
  init_chunk_YUZFHVB2();