@automagik/omni 2.20260218.18

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 (78) hide show
  1. package/bin/omni +2 -0
  2. package/dist/__tests__/mock-api.d.ts +32 -0
  3. package/dist/__tests__/mock-api.d.ts.map +1 -0
  4. package/dist/client.d.ts +21 -0
  5. package/dist/client.d.ts.map +1 -0
  6. package/dist/commands/access.d.ts +13 -0
  7. package/dist/commands/access.d.ts.map +1 -0
  8. package/dist/commands/agent-routes.d.ts +14 -0
  9. package/dist/commands/agent-routes.d.ts.map +1 -0
  10. package/dist/commands/auth.d.ts +10 -0
  11. package/dist/commands/auth.d.ts.map +1 -0
  12. package/dist/commands/automations.d.ts +25 -0
  13. package/dist/commands/automations.d.ts.map +1 -0
  14. package/dist/commands/batch.d.ts +14 -0
  15. package/dist/commands/batch.d.ts.map +1 -0
  16. package/dist/commands/channels.d.ts +12 -0
  17. package/dist/commands/channels.d.ts.map +1 -0
  18. package/dist/commands/chats.d.ts +16 -0
  19. package/dist/commands/chats.d.ts.map +1 -0
  20. package/dist/commands/completions.d.ts +10 -0
  21. package/dist/commands/completions.d.ts.map +1 -0
  22. package/dist/commands/config.d.ts +10 -0
  23. package/dist/commands/config.d.ts.map +1 -0
  24. package/dist/commands/dead-letters.d.ts +13 -0
  25. package/dist/commands/dead-letters.d.ts.map +1 -0
  26. package/dist/commands/events.d.ts +10 -0
  27. package/dist/commands/events.d.ts.map +1 -0
  28. package/dist/commands/instances.d.ts +22 -0
  29. package/dist/commands/instances.d.ts.map +1 -0
  30. package/dist/commands/journey.d.ts +9 -0
  31. package/dist/commands/journey.d.ts.map +1 -0
  32. package/dist/commands/keys.d.ts +8 -0
  33. package/dist/commands/keys.d.ts.map +1 -0
  34. package/dist/commands/logs.d.ts +8 -0
  35. package/dist/commands/logs.d.ts.map +1 -0
  36. package/dist/commands/media.d.ts +13 -0
  37. package/dist/commands/media.d.ts.map +1 -0
  38. package/dist/commands/messages.d.ts +10 -0
  39. package/dist/commands/messages.d.ts.map +1 -0
  40. package/dist/commands/payloads.d.ts +13 -0
  41. package/dist/commands/payloads.d.ts.map +1 -0
  42. package/dist/commands/persons.d.ts +10 -0
  43. package/dist/commands/persons.d.ts.map +1 -0
  44. package/dist/commands/prompts.d.ts +13 -0
  45. package/dist/commands/prompts.d.ts.map +1 -0
  46. package/dist/commands/providers.d.ts +17 -0
  47. package/dist/commands/providers.d.ts.map +1 -0
  48. package/dist/commands/resync.d.ts +12 -0
  49. package/dist/commands/resync.d.ts.map +1 -0
  50. package/dist/commands/send.d.ts +11 -0
  51. package/dist/commands/send.d.ts.map +1 -0
  52. package/dist/commands/settings.d.ts +10 -0
  53. package/dist/commands/settings.d.ts.map +1 -0
  54. package/dist/commands/status.d.ts +8 -0
  55. package/dist/commands/status.d.ts.map +1 -0
  56. package/dist/commands/tts.d.ts +8 -0
  57. package/dist/commands/tts.d.ts.map +1 -0
  58. package/dist/commands/update.d.ts +8 -0
  59. package/dist/commands/update.d.ts.map +1 -0
  60. package/dist/commands/webhooks.d.ts +13 -0
  61. package/dist/commands/webhooks.d.ts.map +1 -0
  62. package/dist/config.d.ts +50 -0
  63. package/dist/config.d.ts.map +1 -0
  64. package/dist/help.d.ts +69 -0
  65. package/dist/help.d.ts.map +1 -0
  66. package/dist/index.d.ts +11 -0
  67. package/dist/index.d.ts.map +1 -0
  68. package/dist/index.js +40047 -0
  69. package/dist/output.d.ts +39 -0
  70. package/dist/output.d.ts.map +1 -0
  71. package/dist/resolve.d.ts +90 -0
  72. package/dist/resolve.d.ts.map +1 -0
  73. package/dist/server/index.js +153866 -0
  74. package/dist/status.d.ts +23 -0
  75. package/dist/status.d.ts.map +1 -0
  76. package/dist/version.d.ts +7 -0
  77. package/dist/version.d.ts.map +1 -0
  78. package/package.json +39 -0
package/bin/omni ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import '../dist/index.js';
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Mock API Server for SDK + CLI Integration Tests
3
+ *
4
+ * Lightweight Bun.serve mock providing canned responses for all endpoints
5
+ * that the SDK and CLI integration tests actually call.
6
+ *
7
+ * Uses zero external dependencies (just Bun.serve) so it can be imported
8
+ * from any package in the monorepo.
9
+ *
10
+ * Shared between:
11
+ * - packages/sdk/src/__tests__/type-safety.test.ts
12
+ * - packages/sdk/src/__tests__/client.test.ts
13
+ * - packages/cli/src/__tests__/cli.test.ts
14
+ */
15
+ export declare const MOCK_API_KEY = "test-mock-api-key-12345";
16
+ interface MockApiHandle {
17
+ url: string;
18
+ port: number;
19
+ close: () => void;
20
+ }
21
+ /**
22
+ * Start the mock API server on a random available port.
23
+ * Returns the base URL and a close function.
24
+ * Idempotent — calling multiple times returns the same server.
25
+ */
26
+ export declare function startMockApi(): Promise<MockApiHandle>;
27
+ /**
28
+ * Stop the mock API server if running.
29
+ */
30
+ export declare function stopMockApi(): void;
31
+ export {};
32
+ //# sourceMappingURL=mock-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mock-api.d.ts","sourceRoot":"","sources":["../../src/__tests__/mock-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,YAAY,4BAA4B,CAAC;AA6KtD,UAAU,aAAa;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAID;;;;GAIG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,aAAa,CAAC,CAyB3D;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAIlC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * CLI Client Helper
3
+ *
4
+ * Creates SDK client from config and handles auth errors.
5
+ */
6
+ import { type OmniClient } from '@omni/sdk';
7
+ /**
8
+ * Get an authenticated SDK client.
9
+ * Exits with error if not authenticated.
10
+ */
11
+ export declare function getClient(): OmniClient;
12
+ /**
13
+ * Get an optional client (doesn't require auth).
14
+ * Returns null if not authenticated.
15
+ */
16
+ export declare function getOptionalClient(): OmniClient | null;
17
+ /**
18
+ * Clear cached client (for testing or re-auth).
19
+ */
20
+ export declare function clearClientCache(): void;
21
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,UAAU,EAAoB,MAAM,WAAW,CAAC;AAQ9D;;;GAGG;AACH,wBAAgB,SAAS,IAAI,UAAU,CAuBtC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,UAAU,GAAG,IAAI,CAuBrD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Access Commands
3
+ *
4
+ * omni access list [--instance <id>] [--type allow|deny]
5
+ * omni access create --type <allow|deny> [--instance <id>] [--phone <pattern>] [--user <id>]
6
+ * omni access delete <id>
7
+ * omni access pending <instanceId>
8
+ * omni access approve <instanceId> <requestId>
9
+ * omni access deny <instanceId> <requestId> [--reason <text>]
10
+ */
11
+ import { Command } from 'commander';
12
+ export declare function createAccessCommand(): Command;
13
+ //# sourceMappingURL=access.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../../src/commands/access.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,mBAAmB,IAAI,OAAO,CA0O7C"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Routes Commands
3
+ *
4
+ * omni routes list --instance <id> [--scope chat|user] [--active]
5
+ * omni routes get --instance <id> <route-id>
6
+ * omni routes create --instance <id> --scope <scope> --chat <id>|--person <id> --provider <id> --agent <id> [options]
7
+ * omni routes update --instance <id> <route-id> [options]
8
+ * omni routes delete --instance <id> <route-id>
9
+ * omni routes test --instance <id> [--chat <id>] [--person <id>]
10
+ * omni routes metrics
11
+ */
12
+ import { Command } from 'commander';
13
+ export declare function createRoutesCommand(): Command;
14
+ //# sourceMappingURL=agent-routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-routes.d.ts","sourceRoot":"","sources":["../../src/commands/agent-routes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwIpC,wBAAgB,mBAAmB,IAAI,OAAO,CAkM7C"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Auth Commands
3
+ *
4
+ * omni auth login --api-key <key> [--api-url <url>]
5
+ * omni auth status
6
+ * omni auth logout
7
+ */
8
+ import { Command } from 'commander';
9
+ export declare function createAuthCommand(): Command;
10
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/commands/auth.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,wBAAgB,iBAAiB,IAAI,OAAO,CAiG3C"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Automations Commands
3
+ *
4
+ * omni automations list [--enabled]
5
+ * omni automations get <id>
6
+ * omni automations create --name <name> --trigger <event> --action <type> [--config <json>]
7
+ * omni automations update <id> [--name <name>] [--enabled]
8
+ * omni automations delete <id>
9
+ * omni automations enable <id>
10
+ * omni automations disable <id>
11
+ * omni automations test <id> --event <json>
12
+ * omni automations execute <id> --event <json>
13
+ * omni automations logs <id> [--limit <n>] [--status <status>]
14
+ *
15
+ * Example: Create call_agent automation (response stored for chaining)
16
+ * omni automations create \
17
+ * --name "Support Bot" \
18
+ * --trigger message.received \
19
+ * --action call_agent \
20
+ * --agent-id support-agent \
21
+ * --response-as agentResponse
22
+ */
23
+ import { Command } from 'commander';
24
+ export declare function createAutomationsCommand(): Command;
25
+ //# sourceMappingURL=automations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../../src/commands/automations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuFpC,wBAAgB,wBAAwB,IAAI,OAAO,CAkTlD"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Batch Commands - manage batch media processing jobs
3
+ *
4
+ * omni batch list [--instance <id>] [--status <status>]
5
+ * omni batch create --instance <id> --type <type> [options]
6
+ * omni batch status <id> [--watch]
7
+ * omni batch cancel <id>
8
+ * omni batch estimate --instance <id> --type <type> [options]
9
+ *
10
+ * @see media-processing-batch wish
11
+ */
12
+ import { Command } from 'commander';
13
+ export declare function createBatchCommand(): Command;
14
+ //# sourceMappingURL=batch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../src/commands/batch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuTpC,wBAAgB,kBAAkB,IAAI,OAAO,CAkG5C"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Channel Commands
3
+ *
4
+ * High-level channel management commands.
5
+ *
6
+ * omni channels list - Show available channel types + instance counts
7
+ * omni channels add <type> [--token <token>] [--name <name>] - Add a new channel instance
8
+ * omni channels status - Overview of all channels and connection states
9
+ */
10
+ import { Command } from 'commander';
11
+ export declare function createChannelsCommand(): Command;
12
+ //# sourceMappingURL=channels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../src/commands/channels.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkDpC,wBAAgB,qBAAqB,IAAI,OAAO,CAqH/C"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Chat Commands
3
+ *
4
+ * omni chats list --instance <id>
5
+ * omni chats get <id>
6
+ * omni chats create --instance <id> --external-id <ext>
7
+ * omni chats update <id> --name <name>
8
+ * omni chats delete <id>
9
+ * omni chats archive <id>
10
+ * omni chats unarchive <id>
11
+ * omni chats messages <id>
12
+ * omni chats participants <id>
13
+ */
14
+ import { Command } from 'commander';
15
+ export declare function createChatsCommand(): Command;
16
+ //# sourceMappingURL=chats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chats.d.ts","sourceRoot":"","sources":["../../src/commands/chats.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+gBpC,wBAAgB,kBAAkB,IAAI,OAAO,CAyf5C"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Shell Completions Command
3
+ *
4
+ * omni completions bash
5
+ * omni completions zsh
6
+ * omni completions fish
7
+ */
8
+ import { Command } from 'commander';
9
+ export declare function createCompletionsCommand(): Command;
10
+ //# sourceMappingURL=completions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../../src/commands/completions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+OpC,wBAAgB,wBAAwB,IAAI,OAAO,CAuClD"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Config Commands
3
+ *
4
+ * omni config list
5
+ * omni config get <key>
6
+ * omni config set <key> [<value>]
7
+ */
8
+ import { Command } from 'commander';
9
+ export declare function createConfigCommand(): Command;
10
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+CpC,wBAAgB,mBAAmB,IAAI,OAAO,CAsF7C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Dead Letters Commands
3
+ *
4
+ * omni dead-letters list [--status <status>] [--type <event-type>]
5
+ * omni dead-letters get <id>
6
+ * omni dead-letters stats
7
+ * omni dead-letters retry <id>
8
+ * omni dead-letters resolve <id> --note <note>
9
+ * omni dead-letters abandon <id>
10
+ */
11
+ import { Command } from 'commander';
12
+ export declare function createDeadLettersCommand(): Command;
13
+ //# sourceMappingURL=dead-letters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dead-letters.d.ts","sourceRoot":"","sources":["../../src/commands/dead-letters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,wBAAwB,IAAI,OAAO,CAkIlD"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Event Commands
3
+ *
4
+ * omni events list --instance <id>
5
+ * omni events search <query>
6
+ * omni events timeline <person-id>
7
+ */
8
+ import { Command } from 'commander';
9
+ export declare function createEventsCommand(): Command;
10
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/commands/events.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkMpC,wBAAgB,mBAAmB,IAAI,OAAO,CA6L7C"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Instance Commands
3
+ *
4
+ * All <id> arguments accept: full UUID, partial UUID prefix, or instance name.
5
+ *
6
+ * omni instances list
7
+ * omni instances get <id>
8
+ * omni instances create --name <name> --channel <type>
9
+ * omni instances delete <id>
10
+ * omni instances status <id>
11
+ * omni instances qr <id>
12
+ * omni instances pair <id> --phone <number>
13
+ * omni instances connect <id>
14
+ * omni instances disconnect <id>
15
+ * omni instances restart <id>
16
+ * omni instances logout <id>
17
+ * omni instances sync <id> --type <type>
18
+ * omni instances syncs <id> [job-id]
19
+ */
20
+ import { Command } from 'commander';
21
+ export declare function createInstancesCommand(): Command;
22
+ //# sourceMappingURL=instances.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instances.d.ts","sourceRoot":"","sources":["../../src/commands/instances.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkIpC,wBAAgB,sBAAsB,IAAI,OAAO,CA6jChD"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Journey Commands
3
+ *
4
+ * omni journey show <correlationId> - Display journey timeline
5
+ * omni journey summary [--since <duration>] - Display aggregated metrics
6
+ */
7
+ import { Command } from 'commander';
8
+ export declare function createJourneyCommand(): Command;
9
+ //# sourceMappingURL=journey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"journey.d.ts","sourceRoot":"","sources":["../../src/commands/journey.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoTpC,wBAAgB,oBAAoB,IAAI,OAAO,CAmB9C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * API Key Management Commands
3
+ *
4
+ * Create, list, update, revoke, and delete API keys.
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createKeysCommand(): Command;
8
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/commands/keys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2JpC,wBAAgB,iBAAiB,IAAI,OAAO,CAiG3C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Logs Commands
3
+ *
4
+ * omni logs [--level <level>] [--modules <modules>] [--limit <n>]
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createLogsCommand(): Command;
8
+ //# sourceMappingURL=logs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../src/commands/logs.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,iBAAiB,IAAI,OAAO,CAkC3C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Media Commands — browse and download media items
3
+ *
4
+ * omni media ls [--instance <id>] [--chat <id>] [--since <dt>] [--until <dt>]
5
+ * [--type <types>] [--limit <n>] [--remote-only] [--cached-only]
6
+ * omni media download --message <uuid>
7
+ * omni media download --chat <uuid> --external <id>
8
+ *
9
+ * @see media-drive-download wish
10
+ */
11
+ import { Command } from 'commander';
12
+ export declare function createMediaCommand(): Command;
13
+ //# sourceMappingURL=media.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/commands/media.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0XpC,wBAAgB,kBAAkB,IAAI,OAAO,CA4C5C"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Messages Commands
3
+ *
4
+ * omni messages search <query> --since 7d --chat <id>
5
+ * omni messages read <id> --instance <id>
6
+ * omni messages read --batch --instance <id> --chat <id> --ids <id1,id2,...>
7
+ */
8
+ import { Command } from 'commander';
9
+ export declare function createMessagesCommand(): Command;
10
+ //# sourceMappingURL=messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/commands/messages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AA6M5C,wBAAgB,qBAAqB,IAAI,OAAO,CA2S/C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Payloads Commands
3
+ *
4
+ * omni payloads list <event-id>
5
+ * omni payloads get <event-id> <stage>
6
+ * omni payloads delete <event-id> --reason <reason>
7
+ * omni payloads config
8
+ * omni payloads config <event-type> --retention <days> [--store-webhook] [--store-agent]
9
+ * omni payloads stats
10
+ */
11
+ import { Command } from 'commander';
12
+ export declare function createPayloadsCommand(): Command;
13
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../src/commands/payloads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgEpC,wBAAgB,qBAAqB,IAAI,OAAO,CA+G/C"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Person Commands
3
+ *
4
+ * omni persons search <query>
5
+ * omni persons get <id>
6
+ * omni persons presence <id>
7
+ */
8
+ import { Command } from 'commander';
9
+ export declare function createPersonsCommand(): Command;
10
+ //# sourceMappingURL=persons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"persons.d.ts","sourceRoot":"","sources":["../../src/commands/persons.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,wBAAgB,oBAAoB,IAAI,OAAO,CAmE9C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Prompts Commands
3
+ *
4
+ * Convenience CLI for managing LLM prompt overrides.
5
+ *
6
+ * omni prompts list
7
+ * omni prompts get <name>
8
+ * omni prompts set <name> [value]
9
+ * omni prompts reset <name>
10
+ */
11
+ import { Command } from 'commander';
12
+ export declare function createPromptsCommand(): Command;
13
+ //# sourceMappingURL=prompts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/commands/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsBpC,wBAAgB,oBAAoB,IAAI,OAAO,CAiH9C"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Providers Commands
3
+ *
4
+ * omni providers list [--active]
5
+ * omni providers get <id>
6
+ * omni providers create --name <name> --schema <schema> --base-url <url> [--api-key <key>]
7
+ * Claude Code: --project-path <path> [--max-turns <n>] [--permission-mode <mode>]
8
+ * OpenClaw: --default-agent-id <id>
9
+ * omni providers agents <id>
10
+ * omni providers teams <id>
11
+ * omni providers workflows <id>
12
+ * omni providers test <id>
13
+ * omni providers delete <id>
14
+ */
15
+ import { Command } from 'commander';
16
+ export declare function createProvidersCommand(): Command;
17
+ //# sourceMappingURL=providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/commands/providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwFpC,wBAAgB,sBAAsB,IAAI,OAAO,CA6OhD"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Resync Command
3
+ *
4
+ * omni resync --instance <id> --since 2h
5
+ * omni resync --instance <id> --since 2026-02-09T10:00:00Z
6
+ * omni resync --all --since 1h
7
+ *
8
+ * Triggers history backfill for instances to recover missed messages.
9
+ */
10
+ import { Command } from 'commander';
11
+ export declare function createResyncCommand(): Command;
12
+ //# sourceMappingURL=resync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resync.d.ts","sourceRoot":"","sources":["../../src/commands/resync.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2HpC,wBAAgB,mBAAmB,IAAI,OAAO,CAwB7C"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Send Commands
3
+ *
4
+ * omni send --instance <id> --to <recipient> --text <text>
5
+ * omni send --instance <id> --to <recipient> --media <path>
6
+ * omni send --instance <id> --to <recipient> --reaction <emoji> --message <id>
7
+ * etc.
8
+ */
9
+ import { Command } from 'commander';
10
+ export declare function createSendCommand(): Command;
11
+ //# sourceMappingURL=send.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../src/commands/send.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmapC,wBAAgB,iBAAiB,IAAI,OAAO,CA0E3C"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Settings Commands
3
+ *
4
+ * omni settings list
5
+ * omni settings get <key>
6
+ * omni settings set <key> <value>
7
+ */
8
+ import { Command } from 'commander';
9
+ export declare function createSettingsCommand(): Command;
10
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/commands/settings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,qBAAqB,IAAI,OAAO,CAiF/C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Status Command
3
+ *
4
+ * omni status - Show API health and connection info
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createStatusCommand(): Command;
8
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/commands/status.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiDpC,wBAAgB,mBAAmB,IAAI,OAAO,CA+B7C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * TTS Commands
3
+ *
4
+ * omni tts voices - List available TTS voices
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createTtsCommand(): Command;
8
+ //# sourceMappingURL=tts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tts.d.ts","sourceRoot":"","sources":["../../src/commands/tts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,gBAAgB,IAAI,OAAO,CAgC1C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Update Command
3
+ *
4
+ * omni update [--dev] [--force]
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createUpdateCommand(): Command;
8
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/commands/update.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyHpC,wBAAgB,mBAAmB,IAAI,OAAO,CAM7C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Webhooks Commands
3
+ *
4
+ * omni webhooks list [--enabled]
5
+ * omni webhooks get <id>
6
+ * omni webhooks create --name <name> [--description <desc>]
7
+ * omni webhooks update <id> [--name <name>] [--enabled]
8
+ * omni webhooks delete <id>
9
+ * omni webhooks trigger --type <event-type> --payload <json> [--instance <id>]
10
+ */
11
+ import { Command } from 'commander';
12
+ export declare function createWebhooksCommand(): Command;
13
+ //# sourceMappingURL=webhooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../../src/commands/webhooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,qBAAqB,IAAI,OAAO,CAgL/C"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * CLI Configuration Management
3
+ *
4
+ * Stores config in ~/.omni/config.json
5
+ */
6
+ /** Command visibility categories */
7
+ export type CommandCategory = 'core' | 'standard' | 'advanced' | 'debug';
8
+ /** Valid config keys */
9
+ export type ConfigKey = 'apiUrl' | 'apiKey' | 'defaultInstance' | 'format' | 'showCommands' | 'updateChannel';
10
+ /** Config file structure */
11
+ export interface Config {
12
+ apiUrl?: string;
13
+ apiKey?: string;
14
+ defaultInstance?: string;
15
+ format?: 'human' | 'json';
16
+ showCommands?: string;
17
+ updateChannel?: 'main' | 'dev';
18
+ }
19
+ /** Valid config keys with descriptions */
20
+ export declare const CONFIG_KEYS: Record<ConfigKey, {
21
+ description: string;
22
+ values?: string[];
23
+ }>;
24
+ /** Get which command categories should be visible */
25
+ export declare function getVisibleCategories(): CommandCategory[] | 'all';
26
+ /** Check if a category should be visible */
27
+ export declare function isCategoryVisible(category: CommandCategory): boolean;
28
+ /** Get config directory path */
29
+ export declare function getConfigDir(): string;
30
+ /** Get config file path */
31
+ export declare function getConfigPath(): string;
32
+ /** Load config from file */
33
+ export declare function loadConfig(): Config;
34
+ /** Save config to file */
35
+ export declare function saveConfig(config: Config): void;
36
+ /** Get a single config value */
37
+ export declare function getConfigValue(key: ConfigKey): string | undefined;
38
+ /** Set a single config value */
39
+ export declare function setConfigValue(key: ConfigKey, value: string): void;
40
+ /** Delete a config value */
41
+ export declare function deleteConfigValue(key: ConfigKey): void;
42
+ /** Check if config key is valid */
43
+ export declare function isValidConfigKey(key: string): key is ConfigKey;
44
+ /** Set runtime format override (e.g., from --json flag) */
45
+ export declare function setRuntimeFormat(format: 'human' | 'json'): void;
46
+ /** Get output format based on precedence: --json flag > ENV > Config > TTY */
47
+ export declare function getOutputFormat(): 'human' | 'json';
48
+ /** Check if auth is configured */
49
+ export declare function hasAuth(): boolean;
50
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,oCAAoC;AACpC,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;AAEzE,wBAAwB;AACxB,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,iBAAiB,GAAG,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC;AAE9G,4BAA4B;AAC5B,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAChC;AAQD,0CAA0C;AAC1C,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,SAAS,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAarF,CAAC;AAKF,qDAAqD;AACrD,wBAAgB,oBAAoB,IAAI,eAAe,EAAE,GAAG,KAAK,CAgBhE;AAED,4CAA4C;AAC5C,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,eAAe,GAAG,OAAO,CAIpE;AAED,gCAAgC;AAChC,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,2BAA2B;AAC3B,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAUD,4BAA4B;AAC5B,wBAAgB,UAAU,IAAI,MAAM,CAcnC;AAED,0BAA0B;AAC1B,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAI/C;AAED,gCAAgC;AAChC,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAGjE;AAED,gCAAgC;AAChC,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAyBlE;AAED,4BAA4B;AAC5B,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAItD;AAED,mCAAmC;AACnC,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,SAAS,CAE9D;AAED,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAE/D;AAED,8EAA8E;AAC9E,wBAAgB,eAAe,IAAI,OAAO,GAAG,MAAM,CAqBlD;AAED,kCAAkC;AAClC,wBAAgB,OAAO,IAAI,OAAO,CAGjC"}