sim 2.1.0-preview.34.1 → 2.1.0-preview.35.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.
- package/dist/index.js +27 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9474,7 +9474,7 @@ var V2_OPERATIONS = {
|
|
|
9474
9474
|
},
|
|
9475
9475
|
sourceConfig: {
|
|
9476
9476
|
kind: "object",
|
|
9477
|
-
describe: "Replacement source selection and filtering configuration."
|
|
9477
|
+
describe: "Replacement source selection and filtering configuration. Updating a runnable connector queues synchronization; paused connectors remain paused."
|
|
9478
9478
|
},
|
|
9479
9479
|
syncIntervalMinutes: {
|
|
9480
9480
|
kind: "integer",
|
|
@@ -10315,15 +10315,34 @@ var CLI_CONTRACT = {
|
|
|
10315
10315
|
selectAll: { boolean: true, describe: "Apply to every document in the knowledge base" }
|
|
10316
10316
|
}
|
|
10317
10317
|
},
|
|
10318
|
+
createKnowledgeConnector: {
|
|
10319
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
|
|
10320
|
+
},
|
|
10321
|
+
listKnowledgeConnectors: {
|
|
10322
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
|
|
10323
|
+
},
|
|
10324
|
+
getKnowledgeConnector: {
|
|
10325
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
|
|
10326
|
+
},
|
|
10318
10327
|
listKnowledgeConnectorDocuments: {
|
|
10319
|
-
command: "knowledge connectors documents list"
|
|
10328
|
+
command: "knowledge connectors documents list",
|
|
10329
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
|
|
10330
|
+
},
|
|
10331
|
+
updateKnowledgeConnector: {
|
|
10332
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT
|
|
10320
10333
|
},
|
|
10321
10334
|
updateKnowledgeConnectorDocuments: {
|
|
10322
10335
|
command: "knowledge connectors documents update",
|
|
10336
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT,
|
|
10323
10337
|
flags: {
|
|
10324
10338
|
documentIds: { name: "document", list: true }
|
|
10325
10339
|
}
|
|
10326
10340
|
},
|
|
10341
|
+
syncKnowledgeConnector: {
|
|
10342
|
+
command: "knowledge connectors sync",
|
|
10343
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT,
|
|
10344
|
+
describe: "Queue a knowledge connector synchronization"
|
|
10345
|
+
},
|
|
10327
10346
|
undeployWorkflow: {
|
|
10328
10347
|
command: "workflows undeploy",
|
|
10329
10348
|
describe: "Take a workflow out of deployment"
|
|
@@ -10346,6 +10365,7 @@ var CLI_CONTRACT = {
|
|
|
10346
10365
|
confirm: "This deletes the document and its embeddings."
|
|
10347
10366
|
},
|
|
10348
10367
|
deleteKnowledgeConnector: {
|
|
10368
|
+
pathArgumentNames: KNOWLEDGE_BASE_PATH_ARGUMENT,
|
|
10349
10369
|
confirm: "This deletes the connector; --delete-documents also deletes its synchronized documents."
|
|
10350
10370
|
},
|
|
10351
10371
|
deleteFile: { confirm: "This archives the file." },
|
|
@@ -13460,8 +13480,11 @@ function addLeafCommand(groups, operation, spec, segments) {
|
|
|
13460
13480
|
throw new Error(`${operation} leaf command must include a verb`);
|
|
13461
13481
|
const group2 = groupFor(groups, groupName);
|
|
13462
13482
|
if (rest.length > 1) {
|
|
13463
|
-
|
|
13464
|
-
|
|
13483
|
+
let parent = group2;
|
|
13484
|
+
for (const segment of rest.slice(0, -1)) {
|
|
13485
|
+
parent = nestedGroup(parent, segment);
|
|
13486
|
+
}
|
|
13487
|
+
parent.addCommand(buildLeaf(operation, spec, rest[rest.length - 1]));
|
|
13465
13488
|
return;
|
|
13466
13489
|
}
|
|
13467
13490
|
group2.addCommand(buildLeaf(operation, spec, rest[0]));
|