@automagik/omni 2.260422.3 → 2.260422.4
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/providers.d.ts.map +1 -1
- package/dist/index.js +11 -7
- package/dist/server/index.js +17461 -87085
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/commands/providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/commands/providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA4TpC,wBAAgB,sBAAsB,IAAI,OAAO,CA0JhD"}
|
package/dist/index.js
CHANGED
|
@@ -113804,7 +113804,7 @@ import { fileURLToPath } from "url";
|
|
|
113804
113804
|
// package.json
|
|
113805
113805
|
var package_default = {
|
|
113806
113806
|
name: "@automagik/omni",
|
|
113807
|
-
version: "2.260422.
|
|
113807
|
+
version: "2.260422.4",
|
|
113808
113808
|
description: "LLM-optimized CLI for Omni",
|
|
113809
113809
|
type: "module",
|
|
113810
113810
|
bin: {
|
|
@@ -113824,19 +113824,19 @@ var package_default = {
|
|
|
113824
113824
|
test: "bun test",
|
|
113825
113825
|
"test:integration": "RUN_INTEGRATION_TESTS=1 bun test",
|
|
113826
113826
|
clean: "rm -rf dist db",
|
|
113827
|
-
"build:server": "bun build src/bundled-server-entry.ts --outdir dist/server --entry-naming 'index.[ext]' --asset-naming '[name].[ext]' --target bun --external @anthropic-ai/claude-agent-sdk --external @snazzah/davey --external libsodium-wrappers --external opusscript",
|
|
113827
|
+
"build:server": "bun build src/bundled-server-entry.ts --outdir dist/server --entry-naming 'index.[ext]' --asset-naming '[name].[ext]' --target bun --external @anthropic-ai/claude-agent-sdk --external @snazzah/davey --external libsodium-wrappers --external opusscript --external pdf-parse --external mammoth --external exceljs",
|
|
113828
113828
|
"build:migrations": "rm -rf db/drizzle && mkdir -p db && cp -r ../db/drizzle db/drizzle",
|
|
113829
113829
|
prepack: "bun run build && bun run build:server && bun run build:migrations"
|
|
113830
113830
|
},
|
|
113831
113831
|
dependencies: {
|
|
113832
113832
|
"@anthropic-ai/claude-agent-sdk": "^0.2.62",
|
|
113833
113833
|
"@sentry/bun": "^10.43.0",
|
|
113834
|
-
"@snazzah/davey": "^0.1.11",
|
|
113835
113834
|
chalk: "^5.4.0",
|
|
113836
113835
|
commander: "^13.1.0",
|
|
113837
|
-
|
|
113838
|
-
|
|
113836
|
+
exceljs: "^4.4.0",
|
|
113837
|
+
mammoth: "^1.8.0",
|
|
113839
113838
|
ora: "^8.1.1",
|
|
113839
|
+
"pdf-parse": "^1.1.1",
|
|
113840
113840
|
"qrcode-terminal": "^0.12.0"
|
|
113841
113841
|
},
|
|
113842
113842
|
devDependencies: {
|
|
@@ -122990,9 +122990,9 @@ Example: omni providers create --schema openclaw --default-agent-id sofia ...`;
|
|
|
122990
122990
|
return `Claude Code providers require --project-path.
|
|
122991
122991
|
Example: omni providers create --name "My Project" --schema claude-code --base-url http://localhost:8882 --project-path /home/user/myproject`;
|
|
122992
122992
|
}
|
|
122993
|
-
if (options.schema === "genie" && (!options.agentName || !options.targetAgent)) {
|
|
122993
|
+
if (options.schema === "nats-genie" && (!options.agentName || !options.targetAgent)) {
|
|
122994
122994
|
return `Genie providers require --agent-name and --target-agent.
|
|
122995
|
-
Example: omni providers create --name "My Genie" --schema genie --base-url "file:///home/user/.claude/teams" --agent-name omni --target-agent team-lead --team-name "workspace-{chat_id}"`;
|
|
122995
|
+
Example: omni providers create --name "My Genie" --schema nats-genie --base-url "file:///home/user/.claude/teams" --agent-name omni --target-agent team-lead --team-name "workspace-{chat_id}"`;
|
|
122996
122996
|
}
|
|
122997
122997
|
return null;
|
|
122998
122998
|
}
|
|
@@ -123018,6 +123018,10 @@ function buildNatsGenieConfig(options) {
|
|
|
123018
123018
|
const config2 = {};
|
|
123019
123019
|
if (options.agentName)
|
|
123020
123020
|
config2.agentName = options.agentName;
|
|
123021
|
+
if (options.targetAgent)
|
|
123022
|
+
config2.targetAgent = options.targetAgent;
|
|
123023
|
+
if (options.teamName)
|
|
123024
|
+
config2.teamName = options.teamName;
|
|
123021
123025
|
return config2;
|
|
123022
123026
|
}
|
|
123023
123027
|
function buildSchemaConfig(options) {
|