@automagik/omni 2.260320.1 → 2.260320.2
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/index.js +2 -2
- package/dist/server/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27774,7 +27774,7 @@ import { fileURLToPath } from "url";
|
|
|
27774
27774
|
// package.json
|
|
27775
27775
|
var package_default = {
|
|
27776
27776
|
name: "@automagik/omni",
|
|
27777
|
-
version: "2.260320.
|
|
27777
|
+
version: "2.260320.2",
|
|
27778
27778
|
description: "LLM-optimized CLI for Omni v2",
|
|
27779
27779
|
type: "module",
|
|
27780
27780
|
bin: {
|
|
@@ -41759,7 +41759,7 @@ class GenieClient {
|
|
|
41759
41759
|
this.targetAgentTemplate = config2.targetAgent;
|
|
41760
41760
|
this.agentRole = config2.agentRole;
|
|
41761
41761
|
this.autoSpawn = config2.autoSpawn ?? true;
|
|
41762
|
-
this.autoSpawnDir = config2.autoSpawnDir ??
|
|
41762
|
+
this.autoSpawnDir = config2.autoSpawnDir ?? "";
|
|
41763
41763
|
this.hasTemplates = /\{\w+\}/.test(this.teamNameTemplate) || /\{\w+\}/.test(this.agentNameTemplate) || /\{\w+\}/.test(this.targetAgentTemplate);
|
|
41764
41764
|
}
|
|
41765
41765
|
isTeamKnown(teamName) {
|
package/dist/server/index.js
CHANGED
|
@@ -29523,7 +29523,7 @@ class GenieClient {
|
|
|
29523
29523
|
this.targetAgentTemplate = config2.targetAgent;
|
|
29524
29524
|
this.agentRole = config2.agentRole;
|
|
29525
29525
|
this.autoSpawn = config2.autoSpawn ?? true;
|
|
29526
|
-
this.autoSpawnDir = config2.autoSpawnDir ??
|
|
29526
|
+
this.autoSpawnDir = config2.autoSpawnDir ?? "";
|
|
29527
29527
|
this.hasTemplates = /\{\w+\}/.test(this.teamNameTemplate) || /\{\w+\}/.test(this.agentNameTemplate) || /\{\w+\}/.test(this.targetAgentTemplate);
|
|
29528
29528
|
}
|
|
29529
29529
|
isTeamKnown(teamName) {
|
|
@@ -222917,7 +222917,7 @@ var init_sentry_scrub = __esm(() => {
|
|
|
222917
222917
|
var require_package8 = __commonJS((exports, module) => {
|
|
222918
222918
|
module.exports = {
|
|
222919
222919
|
name: "@omni/api",
|
|
222920
|
-
version: "2.260320.
|
|
222920
|
+
version: "2.260320.2",
|
|
222921
222921
|
type: "module",
|
|
222922
222922
|
exports: {
|
|
222923
222923
|
".": {
|
|
@@ -339208,7 +339208,8 @@ function createGenieProviderInstance(provider, instance4) {
|
|
|
339208
339208
|
}
|
|
339209
339209
|
const teamName = typeof schemaConfig.teamName === "string" ? schemaConfig.teamName : "genie";
|
|
339210
339210
|
const agentRole = typeof schemaConfig.agentRole === "string" ? schemaConfig.agentRole : "team-lead";
|
|
339211
|
-
const
|
|
339211
|
+
const autoSpawnDir = typeof schemaConfig.autoSpawnDir === "string" ? schemaConfig.autoSpawnDir : undefined;
|
|
339212
|
+
const client = createGenieClient({ teamName, agentName, targetAgent, agentRole, autoSpawnDir });
|
|
339212
339213
|
return new GenieAgentProvider(provider.id, provider.name, client, {
|
|
339213
339214
|
prefixSenderName: instance4.agentPrefixSenderName ?? true
|
|
339214
339215
|
});
|