sim 2.1.0-preview.34.1 → 2.1.0-preview.37.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 (2) hide show
  1. package/dist/index.js +31 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9348,6 +9348,10 @@ var V2_OPERATIONS = {
9348
9348
  description: {
9349
9349
  kind: "string",
9350
9350
  describe: "What the secret is for, shown to teammates. Workspace scope only — sending it for a personal secret is rejected. Omit it to leave an existing description untouched; send null or an empty string to clear one."
9351
+ },
9352
+ unredacted: {
9353
+ kind: "boolean",
9354
+ describe: "Opt the workspace secret out of redaction: its value then appears in plaintext in run logs, model-visible content, and files, including publicly shared log links. Workspace scope only — sending it for a personal secret is rejected. Omit it to leave the current setting untouched."
9351
9355
  }
9352
9356
  }
9353
9357
  },
@@ -9474,7 +9478,7 @@ var V2_OPERATIONS = {
9474
9478
  },
9475
9479
  sourceConfig: {
9476
9480
  kind: "object",
9477
- describe: "Replacement source selection and filtering configuration."
9481
+ describe: "Replacement source selection and filtering configuration. Updating a runnable connector queues synchronization; paused connectors remain paused."
9478
9482
  },
9479
9483
  syncIntervalMinutes: {
9480
9484
  kind: "integer",
@@ -10315,15 +10319,34 @@ var CLI_CONTRACT = {
10315
10319
  selectAll: { boolean: true, describe: "Apply to every document in the knowledge base" }
10316
10320
  }
10317
10321
  },
10322
+ createKnowledgeConnector: {
10323
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
10324
+ },
10325
+ listKnowledgeConnectors: {
10326
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
10327
+ },
10328
+ getKnowledgeConnector: {
10329
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
10330
+ },
10318
10331
  listKnowledgeConnectorDocuments: {
10319
- command: "knowledge connectors documents list"
10332
+ command: "knowledge connectors documents list",
10333
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
10334
+ },
10335
+ updateKnowledgeConnector: {
10336
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
10320
10337
  },
10321
10338
  updateKnowledgeConnectorDocuments: {
10322
10339
  command: "knowledge connectors documents update",
10340
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT,
10323
10341
  flags: {
10324
10342
  documentIds: { name: "document", list: true }
10325
10343
  }
10326
10344
  },
10345
+ syncKnowledgeConnector: {
10346
+ command: "knowledge connectors sync",
10347
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT,
10348
+ describe: "Queue a knowledge connector synchronization"
10349
+ },
10327
10350
  undeployWorkflow: {
10328
10351
  command: "workflows undeploy",
10329
10352
  describe: "Take a workflow out of deployment"
@@ -10346,6 +10369,7 @@ var CLI_CONTRACT = {
10346
10369
  confirm: "This deletes the document and its embeddings."
10347
10370
  },
10348
10371
  deleteKnowledgeConnector: {
10372
+ pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT,
10349
10373
  confirm: "This deletes the connector; --delete-documents also deletes its synchronized documents."
10350
10374
  },
10351
10375
  deleteFile: { confirm: "This archives the file." },
@@ -13460,8 +13484,11 @@ function addLeafCommand(groups, operation, spec, segments) {
13460
13484
  throw new Error(`${operation} leaf command must include a verb`);
13461
13485
  const group2 = groupFor(groups, groupName);
13462
13486
  if (rest.length > 1) {
13463
- const [subName, ...tail] = rest;
13464
- nestedGroup(group2, subName).addCommand(buildLeaf(operation, spec, tail.join(" ")));
13487
+ let parent = group2;
13488
+ for (const segment of rest.slice(0, -1)) {
13489
+ parent = nestedGroup(parent, segment);
13490
+ }
13491
+ parent.addCommand(buildLeaf(operation, spec, rest[rest.length - 1]));
13465
13492
  return;
13466
13493
  }
13467
13494
  group2.addCommand(buildLeaf(operation, spec, rest[0]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sim",
3
- "version": "2.1.0-preview.34.1",
3
+ "version": "2.1.0-preview.37.1",
4
4
  "description": "Sim CLI - talk to the Sim API from your terminal",
5
5
  "type": "module",
6
6
  "bin": {