@stratusagent/cli 0.11.3 → 0.11.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.
- package/README.md +15 -3
- package/dist/approvals.d.ts +7 -1
- package/dist/approvals.d.ts.map +1 -1
- package/dist/approvals.js +59 -6
- package/dist/approvals.js.map +1 -1
- package/dist/commands/agent-new.d.ts.map +1 -1
- package/dist/commands/agent-new.js +12 -7
- package/dist/commands/agent-new.js.map +1 -1
- package/dist/commands/chat.d.ts +1 -1
- package/dist/commands/chat.d.ts.map +1 -1
- package/dist/commands/chat.js +7 -4
- package/dist/commands/chat.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +32 -5
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/grants.d.ts.map +1 -1
- package/dist/commands/grants.js +8 -3
- package/dist/commands/grants.js.map +1 -1
- package/dist/commands/memory.d.ts +16 -3
- package/dist/commands/memory.d.ts.map +1 -1
- package/dist/commands/memory.js +322 -16
- package/dist/commands/memory.js.map +1 -1
- package/dist/commands/plugins.d.ts +12 -0
- package/dist/commands/plugins.d.ts.map +1 -1
- package/dist/commands/plugins.js +30 -7
- package/dist/commands/plugins.js.map +1 -1
- package/dist/commands/schedules.d.ts.map +1 -1
- package/dist/commands/schedules.js +136 -31
- package/dist/commands/schedules.js.map +1 -1
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +51 -3
- package/dist/commands/serve.js.map +1 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +87 -17
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/template.d.ts.map +1 -1
- package/dist/commands/template.js +28 -7
- package/dist/commands/template.js.map +1 -1
- package/dist/commands/update.d.ts +0 -17
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +63 -31
- package/dist/commands/update.js.map +1 -1
- package/dist/companions.d.ts +34 -0
- package/dist/companions.d.ts.map +1 -0
- package/dist/companions.js +45 -0
- package/dist/companions.js.map +1 -0
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +3 -0
- package/dist/daemon.js.map +1 -1
- package/dist/environment.d.ts +6 -0
- package/dist/environment.d.ts.map +1 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +27 -9
- package/dist/events.js.map +1 -1
- package/dist/help.d.ts +1 -1
- package/dist/help.d.ts.map +1 -1
- package/dist/help.js +41 -7
- package/dist/help.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +20 -5
- package/dist/main.js.map +1 -1
- package/dist/npm.d.ts +1 -1
- package/dist/npm.js +1 -1
- package/dist/parse.d.ts +42 -5
- package/dist/parse.d.ts.map +1 -1
- package/dist/parse.js +90 -17
- package/dist/parse.js.map +1 -1
- package/dist/plugin-catalog.d.ts +9 -0
- package/dist/plugin-catalog.d.ts.map +1 -1
- package/dist/plugin-catalog.js +12 -0
- package/dist/plugin-catalog.js.map +1 -1
- package/dist/runtime.d.ts +28 -11
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +178 -71
- package/dist/runtime.js.map +1 -1
- package/dist/service.d.ts +23 -0
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +41 -2
- package/dist/service.js.map +1 -1
- package/dist/trusted-config.d.ts +43 -1
- package/dist/trusted-config.d.ts.map +1 -1
- package/dist/trusted-config.js +99 -5
- package/dist/trusted-config.js.map +1 -1
- package/package.json +25 -23
package/dist/trusted-config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ApiConfig, type ApprovalsConfig, type PrincipalsConfig, type PluginsConfig } from '@stratusagent/state';
|
|
1
|
+
import { type ApiConfig, type ApprovalsConfig, type PrincipalsConfig, type PluginsConfig, type SlackConfig } from '@stratusagent/state';
|
|
2
2
|
import type { CliEnvironment } from './environment.ts';
|
|
3
3
|
/**
|
|
4
4
|
* A credential that exists only in this shell cannot reach the daemon: a
|
|
@@ -51,6 +51,14 @@ export declare const loadServeApprovals: (env: CliEnvironment, configPath: strin
|
|
|
51
51
|
* `user` in every Slack thread the daemon serves.
|
|
52
52
|
*/
|
|
53
53
|
export declare const loadServePrincipals: (env: CliEnvironment, configPath: string | undefined, warn: (line: string) => void) => Promise<PrincipalsConfig>;
|
|
54
|
+
/**
|
|
55
|
+
* The `slack` block — how agents present themselves in Slack — under the
|
|
56
|
+
* `principals` rule: a project-local config is refused with a warning and
|
|
57
|
+
* the operator's global one read instead, so a cloned repository neither
|
|
58
|
+
* sets it nor makes it disappear. A block that will not read is a warning
|
|
59
|
+
* and the defaults, since nothing here is a boundary.
|
|
60
|
+
*/
|
|
61
|
+
export declare const loadServeSlack: (env: CliEnvironment, configPath: string | undefined, warn: (line: string) => void) => Promise<SlackConfig>;
|
|
54
62
|
/**
|
|
55
63
|
* The daemon's `api` block, from the config file the daemon itself would
|
|
56
64
|
* load — and only from a trusted location.
|
|
@@ -68,4 +76,38 @@ export declare const loadServeApi: (env: CliEnvironment, configPath: string | un
|
|
|
68
76
|
* in a cloned repository must not be able to write it.
|
|
69
77
|
*/
|
|
70
78
|
export declare const loadServePlugins: (env: CliEnvironment, configPath: string | undefined, warn: (line: string) => void) => Promise<PluginsConfig>;
|
|
79
|
+
/**
|
|
80
|
+
* The daemon's `maxTurns` ceiling — how many provider turns one dispatched
|
|
81
|
+
* turn may take before it is failed as a runaway.
|
|
82
|
+
*
|
|
83
|
+
* Under the same trust rule as the blocks above, and it needs both
|
|
84
|
+
* directions of it. Raising the ceiling spends the operator's tokens on
|
|
85
|
+
* however long a loop a cloned repository asks for; lowering it to 1
|
|
86
|
+
* leaves an agent on a kernel-driven provider unable to use a tool at
|
|
87
|
+
* all, since the ceiling is tested before each provider call and the
|
|
88
|
+
* second one is what reads the tool's result. The harness runtimes take
|
|
89
|
+
* the same number as an inner budget — codex spends it on hosted tool
|
|
90
|
+
* calls — so there a low ceiling truncates the work instead of failing
|
|
91
|
+
* the turn, which is quieter and no less a decision. So an untrusted
|
|
92
|
+
* config naming it falls through to
|
|
93
|
+
* the global file rather than to the built-in — the fall-through
|
|
94
|
+
* `principals` and `executor` use, for the same reason they use it.
|
|
95
|
+
*
|
|
96
|
+
* Absent, or ignored, means the kernel's own default; the caller leaves
|
|
97
|
+
* the option off and the runner supplies it.
|
|
98
|
+
*/
|
|
99
|
+
export declare const loadServeMaxTurns: (env: CliEnvironment, configPath: string | undefined, warn: (line: string) => void) => Promise<number | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* The daemon's `executor` or `memoryStore` selection — a name a plugin
|
|
102
|
+
* registered — under the trust rule `plugins` has, and for the same
|
|
103
|
+
* reason one step on: the plugins block decides which code runs, and
|
|
104
|
+
* these decide which of that code an agent's commands run in and where its
|
|
105
|
+
* memories are written. A cloned repository swapping a sandbox executor
|
|
106
|
+
* for the host's is the downgrade this refuses.
|
|
107
|
+
*
|
|
108
|
+
* Absent, or ignored, means the built-in — the caller substitutes it. A
|
|
109
|
+
* project config that says nothing leaves the global file's choice in
|
|
110
|
+
* force, as every trusted block does.
|
|
111
|
+
*/
|
|
112
|
+
export declare const loadServeRuntimeSelection: (key: "executor" | "memoryStore", env: CliEnvironment, configPath: string | undefined, warn: (line: string) => void) => Promise<string | undefined>;
|
|
71
113
|
//# sourceMappingURL=trusted-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trusted-config.d.ts","sourceRoot":"","sources":["../src/trusted-config.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"trusted-config.d.ts","sourceRoot":"","sources":["../src/trusted-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,qBAAqB,CAAC;AAC7B,O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;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,GACpC,KAAK,UAAU,GAAG,aAAa,EAC/B,KAAK,cAAc,EACnB,YAAY,MAAM,GAAG,SAAS,EAC9B,MAAM,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,KAC3B,OAAO,CAAC,MAAM,GAAG,SAAS,CAoB5B,CAAC"}
|
package/dist/trusted-config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readTrustedConfigBlock, } from '@stratusagent/state';
|
|
1
|
+
import { readGlobalConfigBlock, readTrustedConfigBlock, } from '@stratusagent/state';
|
|
2
2
|
/**
|
|
3
3
|
* A credential that exists only in this shell cannot reach the daemon: a
|
|
4
4
|
* service manager starts with its own environment and never sources a
|
|
@@ -62,14 +62,44 @@ export const loadServeApprovals = async (env, configPath, warn) => {
|
|
|
62
62
|
* `user` in every Slack thread the daemon serves.
|
|
63
63
|
*/
|
|
64
64
|
export const loadServePrincipals = async (env, configPath, warn) => {
|
|
65
|
-
|
|
65
|
+
let block = await readTrustedConfigBlock('principals', env, configPath);
|
|
66
66
|
if (block.status === 'untrusted') {
|
|
67
|
+
// An auto-discovered project config shadows the global one in
|
|
68
|
+
// discovery, and a daemon started inside a cloned repository would
|
|
69
|
+
// otherwise run with no principals policy at all — a cloned repo that
|
|
70
|
+
// cannot define the policy must not be able to suppress it either. The
|
|
71
|
+
// global file is the trusted answer; it is read instead.
|
|
67
72
|
warn(`ignoring the principals config in ${block.path}: a project-local config cannot decide whose messages `
|
|
68
|
-
+ 'this daemon\'s agents treat as their operator\'s.
|
|
69
|
-
|
|
73
|
+
+ 'this daemon\'s agents treat as their operator\'s. Using ~/.stratus/config.json instead.');
|
|
74
|
+
block = await readGlobalConfigBlock('principals', env);
|
|
70
75
|
}
|
|
71
76
|
if (block.status === 'unreadable') {
|
|
72
|
-
|
|
77
|
+
// Closed, not open: the one thing in this block that can fail to
|
|
78
|
+
// parse is `admit`, whose misspelling would otherwise mean `anyone` —
|
|
79
|
+
// the setting exists so that a typo does not open the door, and a
|
|
80
|
+
// warning that opens it anyway is the door with a note on it.
|
|
81
|
+
warn(`the principals config could not be read (${block.error instanceof Error ? block.error.message : String(block.error)}); `
|
|
82
|
+
+ 'refusing every Slack sender until it is fixed');
|
|
83
|
+
return { admit: 'principals' };
|
|
84
|
+
}
|
|
85
|
+
return block.status === 'present' ? block.value : {};
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* The `slack` block — how agents present themselves in Slack — under the
|
|
89
|
+
* `principals` rule: a project-local config is refused with a warning and
|
|
90
|
+
* the operator's global one read instead, so a cloned repository neither
|
|
91
|
+
* sets it nor makes it disappear. A block that will not read is a warning
|
|
92
|
+
* and the defaults, since nothing here is a boundary.
|
|
93
|
+
*/
|
|
94
|
+
export const loadServeSlack = async (env, configPath, warn) => {
|
|
95
|
+
let block = await readTrustedConfigBlock('slack', env, configPath);
|
|
96
|
+
if (block.status === 'untrusted') {
|
|
97
|
+
warn(`ignoring the slack config in ${block.path}: a project-local config cannot decide how this daemon's agents `
|
|
98
|
+
+ 'post in Slack. Using ~/.stratus/config.json instead.');
|
|
99
|
+
block = await readGlobalConfigBlock('slack', env);
|
|
100
|
+
}
|
|
101
|
+
if (block.status === 'unreadable') {
|
|
102
|
+
warn(`ignoring the slack config (${block.error instanceof Error ? block.error.message : String(block.error)}); using the defaults`);
|
|
73
103
|
return {};
|
|
74
104
|
}
|
|
75
105
|
return block.status === 'present' ? block.value : {};
|
|
@@ -115,4 +145,68 @@ export const loadServePlugins = async (env, configPath, warn) => {
|
|
|
115
145
|
}
|
|
116
146
|
return block.status === 'present' ? block.value : {};
|
|
117
147
|
};
|
|
148
|
+
/**
|
|
149
|
+
* The daemon's `maxTurns` ceiling — how many provider turns one dispatched
|
|
150
|
+
* turn may take before it is failed as a runaway.
|
|
151
|
+
*
|
|
152
|
+
* Under the same trust rule as the blocks above, and it needs both
|
|
153
|
+
* directions of it. Raising the ceiling spends the operator's tokens on
|
|
154
|
+
* however long a loop a cloned repository asks for; lowering it to 1
|
|
155
|
+
* leaves an agent on a kernel-driven provider unable to use a tool at
|
|
156
|
+
* all, since the ceiling is tested before each provider call and the
|
|
157
|
+
* second one is what reads the tool's result. The harness runtimes take
|
|
158
|
+
* the same number as an inner budget — codex spends it on hosted tool
|
|
159
|
+
* calls — so there a low ceiling truncates the work instead of failing
|
|
160
|
+
* the turn, which is quieter and no less a decision. So an untrusted
|
|
161
|
+
* config naming it falls through to
|
|
162
|
+
* the global file rather than to the built-in — the fall-through
|
|
163
|
+
* `principals` and `executor` use, for the same reason they use it.
|
|
164
|
+
*
|
|
165
|
+
* Absent, or ignored, means the kernel's own default; the caller leaves
|
|
166
|
+
* the option off and the runner supplies it.
|
|
167
|
+
*/
|
|
168
|
+
export const loadServeMaxTurns = async (env, configPath, warn) => {
|
|
169
|
+
let block = await readTrustedConfigBlock('maxTurns', env, configPath);
|
|
170
|
+
if (block.status === 'untrusted') {
|
|
171
|
+
warn(`ignoring maxTurns in ${block.path}: a project-local config cannot decide how many provider turns `
|
|
172
|
+
+ 'this daemon spends on one message. Using ~/.stratus/config.json instead.');
|
|
173
|
+
block = await readGlobalConfigBlock('maxTurns', env);
|
|
174
|
+
}
|
|
175
|
+
if (block.status === 'unreadable') {
|
|
176
|
+
warn(`ignoring maxTurns (${block.error instanceof Error ? block.error.message : String(block.error)}); using the default`);
|
|
177
|
+
return undefined;
|
|
178
|
+
}
|
|
179
|
+
return block.status === 'present' ? block.value : undefined;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* The daemon's `executor` or `memoryStore` selection — a name a plugin
|
|
183
|
+
* registered — under the trust rule `plugins` has, and for the same
|
|
184
|
+
* reason one step on: the plugins block decides which code runs, and
|
|
185
|
+
* these decide which of that code an agent's commands run in and where its
|
|
186
|
+
* memories are written. A cloned repository swapping a sandbox executor
|
|
187
|
+
* for the host's is the downgrade this refuses.
|
|
188
|
+
*
|
|
189
|
+
* Absent, or ignored, means the built-in — the caller substitutes it. A
|
|
190
|
+
* project config that says nothing leaves the global file's choice in
|
|
191
|
+
* force, as every trusted block does.
|
|
192
|
+
*/
|
|
193
|
+
export const loadServeRuntimeSelection = async (key, env, configPath, warn) => {
|
|
194
|
+
let block = await readTrustedConfigBlock(key, env, configPath);
|
|
195
|
+
if (block.status === 'untrusted') {
|
|
196
|
+
// The global file's choice, not the built-in: a clone that cannot
|
|
197
|
+
// select an executor must not be able to deselect one either — a
|
|
198
|
+
// repository shipping `"executor": "local"` would otherwise swap the
|
|
199
|
+
// operator's sandbox for the host, which is the exact downgrade this
|
|
200
|
+
// block refuses. The same fall-through `principals` uses.
|
|
201
|
+
warn(`ignoring ${key} in ${block.path}: a project-local config cannot decide `
|
|
202
|
+
+ (key === 'executor' ? 'where this daemon\'s agents run their commands' : 'where this daemon\'s agents keep their memories')
|
|
203
|
+
+ '. Using ~/.stratus/config.json instead.');
|
|
204
|
+
block = await readGlobalConfigBlock(key, env);
|
|
205
|
+
}
|
|
206
|
+
if (block.status === 'unreadable') {
|
|
207
|
+
warn(`ignoring ${key} (${block.error instanceof Error ? block.error.message : String(block.error)}); using the built-in`);
|
|
208
|
+
return undefined;
|
|
209
|
+
}
|
|
210
|
+
return block.status === 'present' ? block.value : undefined;
|
|
211
|
+
};
|
|
118
212
|
//# sourceMappingURL=trusted-config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trusted-config.js","sourceRoot":"","sources":["../src/trusted-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,
|
|
1
|
+
{"version":3,"file":"trusted-config.js","sourceRoot":"","sources":["../src/trusted-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GAMvB,MAAM,qBAAqB,CAAC;AAG7B;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,EACrC,GAAmB,EACnB,UAA8B,EAC9B,IAA4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B,EAC9B,IAA4B,EACC,EAAE;IAC/B,IAAI,KAAK,GAAG,MAAM,sBAAsB,CAAC,GAAG,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC;IAC/D,IAAI,KAAK,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;QACjC,kEAAkE;QAClE,iEAAiE;QACjE,qEAAqE;QACrE,qEAAqE;QACrE,0DAA0D;QAC1D,IAAI,CACF,YAAY,GAAG,OAAO,KAAK,CAAC,IAAI,yCAAyC;cACvE,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,iDAAiD,CAAC;cAC3H,yCAAyC,CAC5C,CAAC;QACF,KAAK,GAAG,MAAM,qBAAqB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAChD,CAAC;IACD,IAAI,KAAK,CAAC,MAAM,KAAK,YAAY,EAAE,CAAC;QAClC,IAAI,CAAC,YAAY,GAAG,KAAK,KAAK,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC1H,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9D,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stratusagent/cli",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,29 +20,31 @@
|
|
|
20
20
|
"node": ">=22.13 <23 || >=23.4"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@stratusagent/agents": "0.11.
|
|
24
|
-
"@stratusagent/
|
|
25
|
-
"@stratusagent/
|
|
26
|
-
"@stratusagent/
|
|
27
|
-
"@stratusagent/
|
|
28
|
-
"@stratusagent/
|
|
29
|
-
"@stratusagent/provider-claude-code": "0.11.
|
|
30
|
-
"@stratusagent/
|
|
31
|
-
"@stratusagent/
|
|
32
|
-
"@stratusagent/
|
|
33
|
-
"@stratusagent/
|
|
23
|
+
"@stratusagent/agents": "0.11.5",
|
|
24
|
+
"@stratusagent/executor-local": "0.11.5",
|
|
25
|
+
"@stratusagent/gateway": "0.11.5",
|
|
26
|
+
"@stratusagent/permissions": "0.11.5",
|
|
27
|
+
"@stratusagent/plugins": "0.11.5",
|
|
28
|
+
"@stratusagent/provider-anthropic": "0.11.5",
|
|
29
|
+
"@stratusagent/provider-claude-code": "0.11.5",
|
|
30
|
+
"@stratusagent/core": "0.11.5",
|
|
31
|
+
"@stratusagent/provider-codex": "0.11.5",
|
|
32
|
+
"@stratusagent/providers": "0.11.5",
|
|
33
|
+
"@stratusagent/state": "0.11.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^24.6.0",
|
|
37
37
|
"typescript": "^5.9.3",
|
|
38
|
-
"@stratusagent/channel-slack": "0.11.
|
|
39
|
-
"@stratusagent/
|
|
40
|
-
"@stratusagent/
|
|
41
|
-
"@stratusagent/plugin-mcp": "0.11.
|
|
42
|
-
"@stratusagent/
|
|
43
|
-
"@stratusagent/tool-
|
|
44
|
-
"@stratusagent/
|
|
45
|
-
"@stratusagent/
|
|
38
|
+
"@stratusagent/channel-slack": "0.11.5",
|
|
39
|
+
"@stratusagent/memory-sqlite": "0.11.5",
|
|
40
|
+
"@stratusagent/dashboard": "0.11.5",
|
|
41
|
+
"@stratusagent/plugin-mcp": "0.11.5",
|
|
42
|
+
"@stratusagent/provider-openai": "0.11.5",
|
|
43
|
+
"@stratusagent/tool-browser": "0.11.5",
|
|
44
|
+
"@stratusagent/tool-fs": "0.11.5",
|
|
45
|
+
"@stratusagent/control-api": "0.11.5",
|
|
46
|
+
"@stratusagent/tool-shell": "0.11.5",
|
|
47
|
+
"@stratusagent/tool-web": "0.11.5"
|
|
46
48
|
},
|
|
47
49
|
"license": "MIT",
|
|
48
50
|
"repository": {
|
|
@@ -61,9 +63,9 @@
|
|
|
61
63
|
"access": "public"
|
|
62
64
|
},
|
|
63
65
|
"peerDependencies": {
|
|
64
|
-
"@stratusagent/
|
|
65
|
-
"@stratusagent/
|
|
66
|
-
"@stratusagent/dashboard": "0.11.
|
|
66
|
+
"@stratusagent/channel-slack": "0.11.5",
|
|
67
|
+
"@stratusagent/control-api": "0.11.5",
|
|
68
|
+
"@stratusagent/dashboard": "0.11.5"
|
|
67
69
|
},
|
|
68
70
|
"peerDependenciesMeta": {
|
|
69
71
|
"@stratusagent/channel-slack": {
|