@startanaicompany/techsaac-cli 0.0.4 → 0.0.5

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/cli.js +8 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -245,6 +245,10 @@ const COMMANDS = {
245
245
  'connect': { tool: 'connect_integration', desc: 'Connect integration', positionalArgs: ['agent_id', 'provider'] },
246
246
  'disconnect': { tool: 'disconnect_integration', desc: 'Disconnect integration', positionalArgs: ['connection_id'] },
247
247
  'integration-status': { tool: 'get_integration_status', desc: 'Get integration status', positionalArgs: ['connection_id'] },
248
+ // Documents
249
+ 'list-docs': { tool: 'list_documents', desc: 'List company documents', positionalArgs: ['organization_id'] },
250
+ 'get-doc': { tool: 'get_document', desc: 'Get document content', positionalArgs: ['organization_id', 'document_name'] },
251
+ 'update-doc': { tool: 'update_document', desc: 'Update document content', positionalArgs: ['organization_id', 'document_name'] },
248
252
  // Workspace
249
253
  'workspace-keys': { tool: 'get_workspace_keys', desc: 'List Workspace API keys for all orgs' },
250
254
  // Usage & diagnostics
@@ -273,7 +277,7 @@ Commands:`);
273
277
  'Organizations', 'Products', 'Agents', 'Config & Status', 'Context',
274
278
  'Lifecycle', 'Prompts', 'Activation Rules', 'Container & Accounts',
275
279
  'Communication', 'HIVE', 'GitHub', 'Scripts & Cron',
276
- 'Personas & Company', 'Integrations', 'Workspace', 'Usage & Diagnostics',
280
+ 'Personas & Company', 'Integrations', 'Documents', 'Workspace', 'Usage & Diagnostics',
277
281
  ];
278
282
  const commandGroups = {};
279
283
  for (const cmd of Object.keys(COMMANDS)) {
@@ -308,6 +312,8 @@ Commands:`);
308
312
  group = 'Personas & Company';
309
313
  else if (cmd.includes('integr') || cmd === 'connect' || cmd === 'disconnect')
310
314
  group = 'Integrations';
315
+ else if (cmd.includes('doc'))
316
+ group = 'Documents';
311
317
  else if (cmd === 'workspace-keys')
312
318
  group = 'Workspace';
313
319
  else if (['usage', 'usage-range', 'diagnose', 'logs'].includes(cmd))
@@ -338,7 +344,7 @@ Examples:
338
344
  `);
339
345
  }
340
346
  // ─── Main ───────────────────────────────────────────────────────────────────
341
- const VERSION = '0.0.4';
347
+ const VERSION = '0.0.5';
342
348
  async function main() {
343
349
  const args = process.argv.slice(2);
344
350
  if (args.length === 0 || args[0] === 'help' || args[0] === '--help' || args[0] === '-h') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startanaicompany/techsaac-cli",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "CLI for the TechSAAC AI Agent Orchestrator",
5
5
  "type": "module",
6
6
  "bin": {