sim 2.3.0-preview.327.1 → 2.3.0-preview.329.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/commands/protocol/source-check.d.ts +10 -4
- package/dist/commands/protocol/source-status.d.ts +5 -6
- package/dist/commands/protocol/source-write.d.ts +5 -0
- package/dist/commands/protocol/workflow-dir.d.ts +5 -0
- package/dist/commands/protocol/workflow-run-get.d.ts +19 -0
- package/dist/commands/protocol/workspace-source-dir.d.ts +5 -0
- package/dist/generated/v2-api.d.ts +14 -12
- package/dist/index.js +594 -201
- package/dist/program.d.ts +1 -1
- package/dist/runtime.js +594 -201
- package/package.json +2 -1
package/dist/program.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command } from 'commander';
|
|
2
2
|
/** Root program description, shared by `--help` and the generated docs. */
|
|
3
3
|
export declare const PROGRAM_DESCRIPTION = "Talk to the Sim API from your terminal";
|
|
4
|
-
export declare const HELP_EPILOGUE = "\nProfiles work like the AWS CLI: settings live in ~/.sim/config, keys in\n~/.sim/credentials (0600), or under SIM_CONFIG_DIR when it is set. Select one\nwith -P, --profile, or SIM_PROFILE.\n\nWorkflow, knowledge-base and workspace IDs are bare UUIDs. Table IDs carry a\ntbl_ prefix and file IDs a wf_ one, so wf_ never names a workflow. An audit-log\nor custom-tool ID can open with a dash, which reads as a flag; put -- in front\nof it, as in sim audit-logs get -- -HlDcD1z76nK6R4crsUp0.\n\nExamples:\n $ sim cli search \"cancel a workflow run\" Find the command for a task\n $ sim login Authorize the default profile\n $ sim login --profile dev --endpoint http://localhost:3000\n $ sim profile add acme --workspace 7e2d9c14-6b83-4a55-8f01-c4d3e9a76b28\n $ sim workflows list\n $ sim logs list --level error --limit 20\n $ sim configure --set-output table Prefer tables over the JSON default\n $ sim --output table tables get tbl_9f3c1a05d4b7426e8c2f0917ab35de64\n $ sim knowledge search --query \"refund policy\" --kb 4c1b7f60-2d55-4a3e-9c18-70b6ea2f9d31\n $ sim workflows export 3a9e21d8-5f47-4c0b-b2ea-91d7c6034ef8 > wf.json\n $ sim workflows import --workflow @wf.json\n $ sim workflows source get 3a9e21d8-5f47-4c0b-b2ea-91d7c6034ef8 --dir ./wf\n $ sim knowledge export 4c1b7f60-2d55-4a3e-9c18-70b6ea2f9d31 -o ./kb.simkb.zip\n $ sim knowledge import ./kb.simkb.zip --name \"Docs (copy)\"\n $ sim whoami --profile dev\n";
|
|
4
|
+
export declare const HELP_EPILOGUE = "\nProfiles work like the AWS CLI: settings live in ~/.sim/config, keys in\n~/.sim/credentials (0600), or under SIM_CONFIG_DIR when it is set. Select one\nwith -P, --profile, or SIM_PROFILE.\n\nA command targets the profile's workspace unless -w <id> (--workspace <id>) or\nSIM_WORKSPACE names another. A source directory records its own: a workflow\ndirectory acts on the workflow its .sim/base.json names, a workspace directory\non the workspace its base names (refusing a -w naming another), and a starter\non the one .sim/starter.json names unless -w names another. In a script, export\nSIM_WORKSPACE=<id> once, or keep only the ID in a variable and write -w \"$WS\".\nA variable holding \"--workspace <id>\" is one argument: alone it is an unknown\noption, and after -w all of it is taken as the ID.\n\nWorkflow, knowledge-base and workspace IDs are bare UUIDs. Table IDs carry a\ntbl_ prefix and file IDs a wf_ one, so wf_ never names a workflow. An audit-log\nor custom-tool ID can open with a dash, which reads as a flag; put -- in front\nof it, as in sim audit-logs get -- -HlDcD1z76nK6R4crsUp0.\n\nExamples:\n $ sim cli search \"cancel a workflow run\" Find the command for a task\n $ sim login Authorize the default profile\n $ sim login --profile dev --endpoint http://localhost:3000\n $ sim profile add acme --workspace 7e2d9c14-6b83-4a55-8f01-c4d3e9a76b28\n $ sim workflows list\n $ sim logs list --level error --limit 20\n $ sim configure --set-output table Prefer tables over the JSON default\n $ sim --output table tables get tbl_9f3c1a05d4b7426e8c2f0917ab35de64\n $ sim knowledge search --query \"refund policy\" --kb 4c1b7f60-2d55-4a3e-9c18-70b6ea2f9d31\n $ sim workflows export 3a9e21d8-5f47-4c0b-b2ea-91d7c6034ef8 > wf.json\n $ sim workflows import --workflow @wf.json\n $ sim workflows source get 3a9e21d8-5f47-4c0b-b2ea-91d7c6034ef8 --dir ./wf\n $ sim knowledge export 4c1b7f60-2d55-4a3e-9c18-70b6ea2f9d31 -o ./kb.simkb.zip\n $ sim knowledge import ./kb.simkb.zip --name \"Docs (copy)\"\n $ sim whoami --profile dev\n";
|
|
5
5
|
/**
|
|
6
6
|
* Printed above group-level help when a coding agent runs the CLI.
|
|
7
7
|
*
|