@automagik/omni 2.260223.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 (92) 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 +17 -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/install.d.ts +20 -0
  29. package/dist/commands/install.d.ts.map +1 -0
  30. package/dist/commands/instances.d.ts +22 -0
  31. package/dist/commands/instances.d.ts.map +1 -0
  32. package/dist/commands/journey.d.ts +9 -0
  33. package/dist/commands/journey.d.ts.map +1 -0
  34. package/dist/commands/keys.d.ts +8 -0
  35. package/dist/commands/keys.d.ts.map +1 -0
  36. package/dist/commands/logs.d.ts +9 -0
  37. package/dist/commands/logs.d.ts.map +1 -0
  38. package/dist/commands/media.d.ts +13 -0
  39. package/dist/commands/media.d.ts.map +1 -0
  40. package/dist/commands/messages.d.ts +10 -0
  41. package/dist/commands/messages.d.ts.map +1 -0
  42. package/dist/commands/payloads.d.ts +13 -0
  43. package/dist/commands/payloads.d.ts.map +1 -0
  44. package/dist/commands/persons.d.ts +10 -0
  45. package/dist/commands/persons.d.ts.map +1 -0
  46. package/dist/commands/prompts.d.ts +13 -0
  47. package/dist/commands/prompts.d.ts.map +1 -0
  48. package/dist/commands/providers.d.ts +17 -0
  49. package/dist/commands/providers.d.ts.map +1 -0
  50. package/dist/commands/restart.d.ts +8 -0
  51. package/dist/commands/restart.d.ts.map +1 -0
  52. package/dist/commands/resync.d.ts +12 -0
  53. package/dist/commands/resync.d.ts.map +1 -0
  54. package/dist/commands/send.d.ts +11 -0
  55. package/dist/commands/send.d.ts.map +1 -0
  56. package/dist/commands/settings.d.ts +10 -0
  57. package/dist/commands/settings.d.ts.map +1 -0
  58. package/dist/commands/start.d.ts +8 -0
  59. package/dist/commands/start.d.ts.map +1 -0
  60. package/dist/commands/status.d.ts +8 -0
  61. package/dist/commands/status.d.ts.map +1 -0
  62. package/dist/commands/stop.d.ts +8 -0
  63. package/dist/commands/stop.d.ts.map +1 -0
  64. package/dist/commands/tts.d.ts +8 -0
  65. package/dist/commands/tts.d.ts.map +1 -0
  66. package/dist/commands/update.d.ts +12 -0
  67. package/dist/commands/update.d.ts.map +1 -0
  68. package/dist/commands/webhooks.d.ts +13 -0
  69. package/dist/commands/webhooks.d.ts.map +1 -0
  70. package/dist/config.d.ts +61 -0
  71. package/dist/config.d.ts.map +1 -0
  72. package/dist/health.d.ts +13 -0
  73. package/dist/health.d.ts.map +1 -0
  74. package/dist/help.d.ts +47 -0
  75. package/dist/help.d.ts.map +1 -0
  76. package/dist/index.d.ts +11 -0
  77. package/dist/index.d.ts.map +1 -0
  78. package/dist/index.js +43138 -0
  79. package/dist/output.d.ts +39 -0
  80. package/dist/output.d.ts.map +1 -0
  81. package/dist/pm2.d.ts +24 -0
  82. package/dist/pm2.d.ts.map +1 -0
  83. package/dist/resolve.d.ts +90 -0
  84. package/dist/resolve.d.ts.map +1 -0
  85. package/dist/server/index.js +160335 -0
  86. package/dist/server-bundle.d.ts +10 -0
  87. package/dist/server-bundle.d.ts.map +1 -0
  88. package/dist/status.d.ts +23 -0
  89. package/dist/status.d.ts.map +1 -0
  90. package/dist/version.d.ts +7 -0
  91. package/dist/version.d.ts.map +1 -0
  92. package/package.json +39 -0
package/bin/omni ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bun
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,17 @@
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
+ //# 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"}
@@ -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;AAyKpC,wBAAgB,mBAAmB,IAAI,OAAO,CAqM7C"}
@@ -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;AA8CpC,wBAAgB,mBAAmB,IAAI,OAAO,CAoF7C"}
@@ -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,20 @@
1
+ /**
2
+ * Install Command
3
+ *
4
+ * omni install [--non-interactive] [--systemd] [--port <port>]
5
+ *
6
+ * Interactive setup wizard that bootstraps a full Omni server from zero:
7
+ * 1. Banner + version
8
+ * 2. System check (bun, port availability)
9
+ * 3. NATS download (if not present)
10
+ * 4. Process manager choice (PM2 or systemd or manual)
11
+ * 5. Config (port, data dir)
12
+ * 6. API key (generate or provide)
13
+ * 7. Start services via PM2 (or write systemd unit)
14
+ * 8. Health check
15
+ * 9. Write ~/.omni/config.json
16
+ * 10. Done banner + next steps
17
+ */
18
+ import { Command } from 'commander';
19
+ export declare function createInstallCommand(): Command;
20
+ //# sourceMappingURL=install.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwjBpC,wBAAgB,oBAAoB,IAAI,OAAO,CAO9C"}
@@ -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;AAqIpC,wBAAgB,sBAAsB,IAAI,OAAO,CAqkChD"}
@@ -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,9 @@
1
+ /**
2
+ * Logs Commands
3
+ *
4
+ * omni logs [--level <level>] [--modules <modules>] [--limit <n>]
5
+ * omni logs --process [service] - Stream PM2 process logs
6
+ */
7
+ import { Command } from 'commander';
8
+ export declare function createLogsCommand(): Command;
9
+ //# sourceMappingURL=logs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../src/commands/logs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyCpC,wBAAgB,iBAAiB,IAAI,OAAO,CA4C3C"}
@@ -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,CA8OhD"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Restart Command
3
+ *
4
+ * omni restart — Restart omni PM2 processes and wait for health check
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createRestartCommand(): Command;
8
+ //# sourceMappingURL=restart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restart.d.ts","sourceRoot":"","sources":["../../src/commands/restart.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuEpC,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C"}
@@ -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
+ * Start Command
3
+ *
4
+ * omni start — Start API and NATS via PM2 using ~/.omni/config.json
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createStartCommand(): Command;
8
+ //# sourceMappingURL=start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/commands/start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA6FpC,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C"}
@@ -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;AAkLpC,wBAAgB,mBAAmB,IAAI,OAAO,CAU7C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Stop Command
3
+ *
4
+ * omni stop — Stop all omni PM2 processes (including legacy names)
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare function createStopCommand(): Command;
8
+ //# sourceMappingURL=stop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stop.d.ts","sourceRoot":"","sources":["../../src/commands/stop.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuCpC,wBAAgB,iBAAiB,IAAI,OAAO,CAE3C"}
@@ -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,12 @@
1
+ /**
2
+ * Update Command
3
+ *
4
+ * omni update [--yes] [--no-restart]
5
+ *
6
+ * Self-update from npm: checks latest @automagik/omni version, prompts the
7
+ * user (unless --yes), installs with `bun add -g`, and restarts PM2 services
8
+ * if they were running.
9
+ */
10
+ import { Command } from 'commander';
11
+ export declare function createUpdateCommand(): Command;
12
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/commands/update.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoKpC,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"}