@wayai/cli 0.3.245 → 0.3.247

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
@@ -5396,10 +5396,10 @@ var init_chunk_RACEDHG6 = __esm({
5396
5396
  }
5397
5397
  });
5398
5398
 
5399
- // ../../packages/core/dist/chunk-GXY7XACJ.js
5399
+ // ../../packages/core/dist/chunk-K2UY4M4E.js
5400
5400
  var accessExplainQuery;
5401
- var init_chunk_GXY7XACJ = __esm({
5402
- "../../packages/core/dist/chunk-GXY7XACJ.js"() {
5401
+ var init_chunk_K2UY4M4E = __esm({
5402
+ "../../packages/core/dist/chunk-K2UY4M4E.js"() {
5403
5403
  "use strict";
5404
5404
  init_chunk_HZ6CADSY();
5405
5405
  init_zod();
@@ -6504,7 +6504,7 @@ var init_chunk_TANTZFI3 = __esm({
6504
6504
  }
6505
6505
  });
6506
6506
 
6507
- // ../../packages/core/dist/chunk-ZLGONLDP.js
6507
+ // ../../packages/core/dist/chunk-OEDDM5YN.js
6508
6508
  function writeWithinRead(assignment) {
6509
6509
  return Object.values(assignment).every(({ read, write }) => read.includes(ACCESS_UNRESTRICTED) || !write.includes(ACCESS_UNRESTRICTED) && write.every((id) => read.includes(id)));
6510
6510
  }
@@ -6521,8 +6521,8 @@ function assignmentHasUnrestricted(assignment) {
6521
6521
  return Object.values(assignment).some((lists) => lists.read.includes(ACCESS_UNRESTRICTED) || lists.write.includes(ACCESS_UNRESTRICTED));
6522
6522
  }
6523
6523
  var ACCESS_UNRESTRICTED, ACCESS_ID_REGEX, ACCESS_ID_MAX_LENGTH, MAX_ACCESS_DIMENSIONS_PER_ORG, MAX_ACCESS_VALUES_PER_DIMENSION, ACCESS_LABEL_MAX_LENGTH, accessIdSchema, accessLabelSchema, accessValueListSchema, accessAssignmentSchema, accessSetSchema, accessDimensionParam, accessValueParam, orgMemberParam, orgHubParam, createAccessDimensionBody, updateAccessDimensionBody, createAccessValueBody, updateAccessValueBody, setMemberAccessValuesBody, HUB_PERSON_KINDS, ACCESS_PERSON_KINDS, setHubUserAccessValuesBody, setAgentAccessValuesBody;
6524
- var init_chunk_ZLGONLDP = __esm({
6525
- "../../packages/core/dist/chunk-ZLGONLDP.js"() {
6524
+ var init_chunk_OEDDM5YN = __esm({
6525
+ "../../packages/core/dist/chunk-OEDDM5YN.js"() {
6526
6526
  "use strict";
6527
6527
  init_chunk_TANTZFI3();
6528
6528
  init_chunk_HZ6CADSY();
@@ -6595,12 +6595,12 @@ var init_chunk_ZLGONLDP = __esm({
6595
6595
  }
6596
6596
  });
6597
6597
 
6598
- // ../../packages/core/dist/chunk-7CDVZN6T.js
6598
+ // ../../packages/core/dist/chunk-7DA4MW5T.js
6599
6599
  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;
6600
- var init_chunk_7CDVZN6T = __esm({
6601
- "../../packages/core/dist/chunk-7CDVZN6T.js"() {
6600
+ var init_chunk_7DA4MW5T = __esm({
6601
+ "../../packages/core/dist/chunk-7DA4MW5T.js"() {
6602
6602
  "use strict";
6603
- init_chunk_ZLGONLDP();
6603
+ init_chunk_OEDDM5YN();
6604
6604
  init_chunk_TANTZFI3();
6605
6605
  init_chunk_WNLWNFHH();
6606
6606
  init_zod();
@@ -12383,7 +12383,7 @@ var init_chunk_C4EMATJL = __esm({
12383
12383
  }
12384
12384
  });
12385
12385
 
12386
- // ../../packages/core/dist/chunk-NDCGHRCD.js
12386
+ // ../../packages/core/dist/chunk-7NGYX3UI.js
12387
12387
  function refineHubAsCodeCustomTools(config, ctx) {
12388
12388
  const agents = config.agents;
12389
12389
  if (!Array.isArray(agents)) return;
@@ -12983,11 +12983,11 @@ function skillSectionsAsResources(scope) {
12983
12983
  };
12984
12984
  }
12985
12985
  var MAX_10MB_BASE64_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_CARRIERS, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES, MAX_RESOURCE_ENCODED_BYTES, MAX_HUB_AS_CODE_RESOURCES, MAX_HUB_AS_CODE_RESOURCE_FILES, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES, MAX_CI_CONFIG_BODY_BYTES, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, boundedHubAsCodeResourcesSchema, isPlainObject, MIN_SKILLS_LAYOUT_CLI, hubAsCodeConfigSchema, ciPullHubIdParam, ciBranchParam, ciPullQuery, ciHubsQuery, ciLookupQuery, ciBranchesQuery, ciSyncBody, ciPushBody, ciDiffBody, ciPublishBody, ciPublishPreviewBody, ciSyncMcpBody, ciOrgResourcesParam, orgResourcesConfigSchema, ciOrgResourcesPushBody, ciOrgResourcesDiffBody, CI_APPLY_ENTITY_KINDS, CI_APPLY_OPERATIONS, ciApplyErrorBaseSchema, ciApplyErrorSchema, ciSyncCountSchema, ciSyncChangesSchema, ciSyncWarningSchema, ciSyncResponseSchema;
12986
- var init_chunk_NDCGHRCD = __esm({
12987
- "../../packages/core/dist/chunk-NDCGHRCD.js"() {
12986
+ var init_chunk_7NGYX3UI = __esm({
12987
+ "../../packages/core/dist/chunk-7NGYX3UI.js"() {
12988
12988
  "use strict";
12989
12989
  init_chunk_HCE5YOBD();
12990
- init_chunk_ZLGONLDP();
12990
+ init_chunk_OEDDM5YN();
12991
12991
  init_chunk_VQIITUAJ();
12992
12992
  init_chunk_VU7E2RFY();
12993
12993
  init_chunk_LBDH7LCG();
@@ -15263,7 +15263,7 @@ var init_contracts = __esm({
15263
15263
  init_chunk_YVY2TZK2();
15264
15264
  init_chunk_VXEAR36B();
15265
15265
  init_chunk_RACEDHG6();
15266
- init_chunk_GXY7XACJ();
15266
+ init_chunk_K2UY4M4E();
15267
15267
  init_chunk_WBFLPPDI();
15268
15268
  init_chunk_IPXBFWUU();
15269
15269
  init_chunk_GPM7PE44();
@@ -15274,7 +15274,7 @@ var init_contracts = __esm({
15274
15274
  init_chunk_Y7CFCYX4();
15275
15275
  init_chunk_5DGHIY7L();
15276
15276
  init_chunk_TUHJ5PQH();
15277
- init_chunk_7CDVZN6T();
15277
+ init_chunk_7DA4MW5T();
15278
15278
  init_chunk_IPDOHAZ5();
15279
15279
  init_chunk_YUZFHVB2();
15280
15280
  init_chunk_I3O2RACG();
@@ -15292,9 +15292,9 @@ var init_contracts = __esm({
15292
15292
  init_chunk_KSTYTQ7I();
15293
15293
  init_chunk_LKBSHANA();
15294
15294
  init_chunk_BPCNB5RT();
15295
- init_chunk_NDCGHRCD();
15295
+ init_chunk_7NGYX3UI();
15296
15296
  init_chunk_HCE5YOBD();
15297
- init_chunk_ZLGONLDP();
15297
+ init_chunk_OEDDM5YN();
15298
15298
  init_chunk_TANTZFI3();
15299
15299
  init_chunk_VQIITUAJ();
15300
15300
  init_chunk_JDJ4EUOL();
@@ -33984,9 +33984,9 @@ Usage:
33984
33984
  wayai dimensions restore-value <dimension> <value> [--org <org_id>] [--json]
33985
33985
 
33986
33986
  A record type in one of the organization's bases names a dimension in its x-access
33987
- declaration (for example "class"). Once that declaration can be enforced, a call will
33988
- reach only the records whose value (for example "7A") is among the caller's; nothing
33989
- filters any record yet. A dimension's and a value's id is
33987
+ declaration (for example "class"). Where that declaration is in enforce mode, a call
33988
+ reaches only the records whose value (for example "7A") is among the caller's; in report
33989
+ mode it only counts what enforcing would hide. A dimension's and a value's id is
33990
33990
  fixed once created: change what people read with relabel. A value is never deleted:
33991
33991
  retire-value stops it from being assigned again, and records holding it still match.
33992
33992
  An organization holds at most ${MAX_ACCESS_DIMENSIONS_PER_ORG} dimensions of at most ${MAX_ACCESS_VALUES_PER_DIMENSION} values each, retired ones
@@ -34073,7 +34073,7 @@ function formatExplanation(data) {
34073
34073
  lines.push(` ${text(removal.value_id)} read, not written: removed by ${removal.layers.map((layer) => LAYER_NAMES[layer]).join(", ")}`);
34074
34074
  }
34075
34075
  }
34076
- lines.push("", "Nothing filters any record by this set yet.");
34076
+ lines.push("", "This set filters records only on record types a base enforces (x-access in enforce mode).");
34077
34077
  return lines;
34078
34078
  }
34079
34079
  function failure3(err) {
@@ -34140,7 +34140,8 @@ delegation's, and a background agent's side-call's to its host turn's agent's va
34140
34140
  are not shown here. Explaining someone else matches no unredeemed team invite by their
34141
34141
  email: once they redeem one, its values apply.
34142
34142
 
34143
- Nothing filters any record by these sets yet.
34143
+ These sets filter records only on record types a base enforces (x-access in enforce mode);
34144
+ a record type in report mode only counts what enforcing would hide.
34144
34145
 
34145
34146
  The hub is --hub, else this workspace's. --user for anyone but yourself needs an
34146
34147
  organization admin.