@agenti-os/cli 0.2.0

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 (41) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +164 -0
  3. package/dashboard/404/index.html +1 -0
  4. package/dashboard/404.html +1 -0
  5. package/dashboard/_next/static/chunks/111-83d9bd0855b2c216.js +1 -0
  6. package/dashboard/_next/static/chunks/458.6c27f5996829de5b.js +1 -0
  7. package/dashboard/_next/static/chunks/583.6051aee384433b11.js +1 -0
  8. package/dashboard/_next/static/chunks/74ce447c-ca924ebf577cd4a4.js +1 -0
  9. package/dashboard/_next/static/chunks/915-98c767e3b9eb8028.js +1 -0
  10. package/dashboard/_next/static/chunks/app/_not-found/page-c4e9dc1c64d4da80.js +1 -0
  11. package/dashboard/_next/static/chunks/app/health/page-1c057112a2d6fae4.js +1 -0
  12. package/dashboard/_next/static/chunks/app/inbox/page-b7271d9a24defeff.js +1 -0
  13. package/dashboard/_next/static/chunks/app/layout-a3e5ee55560bf39f.js +1 -0
  14. package/dashboard/_next/static/chunks/app/page-10b9e09a1a14a650.js +1 -0
  15. package/dashboard/_next/static/chunks/app/timeline/page-7fe0c8e8c7d028b8.js +1 -0
  16. package/dashboard/_next/static/chunks/framework-1c02a2e60068b586.js +1 -0
  17. package/dashboard/_next/static/chunks/main-0e2c8558bbf18f15.js +1 -0
  18. package/dashboard/_next/static/chunks/main-app-48902e05be997ee5.js +1 -0
  19. package/dashboard/_next/static/chunks/pages/_app-bd106308c06033e9.js +1 -0
  20. package/dashboard/_next/static/chunks/pages/_error-034fd19974bd12e6.js +1 -0
  21. package/dashboard/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  22. package/dashboard/_next/static/chunks/webpack-3aabda247bd1875f.js +1 -0
  23. package/dashboard/_next/static/css/53ea3bb274b2b444.css +3 -0
  24. package/dashboard/_next/static/wIIqV_03htqo96M3P8FEG/_buildManifest.js +1 -0
  25. package/dashboard/_next/static/wIIqV_03htqo96M3P8FEG/_ssgManifest.js +1 -0
  26. package/dashboard/health/index.html +1 -0
  27. package/dashboard/health/index.txt +20 -0
  28. package/dashboard/inbox/index.html +1 -0
  29. package/dashboard/inbox/index.txt +20 -0
  30. package/dashboard/index.html +1 -0
  31. package/dashboard/index.txt +20 -0
  32. package/dashboard/timeline/index.html +1 -0
  33. package/dashboard/timeline/index.txt +20 -0
  34. package/dist/chunk-4J3VBGVR.js +168 -0
  35. package/dist/chunk-CPCT2FTQ.js +48 -0
  36. package/dist/chunk-I442WICJ.js +155 -0
  37. package/dist/display-ZLPTSJQM.js +8 -0
  38. package/dist/dist-SD33RKHO.js +48 -0
  39. package/dist/gateway-client-RSQFHBFE.js +11 -0
  40. package/dist/index.js +1018 -0
  41. package/package.json +51 -0
@@ -0,0 +1,20 @@
1
+ 1:"$Sreact.fragment"
2
+ 2:I[9111,["111","static/chunks/111-83d9bd0855b2c216.js","177","static/chunks/app/layout-a3e5ee55560bf39f.js"],""]
3
+ 3:I[3250,[],""]
4
+ 4:I[2016,[],""]
5
+ 5:I[4483,[],"ClientPageRoot"]
6
+ 6:I[2043,["404","static/chunks/app/timeline/page-7fe0c8e8c7d028b8.js"],"default"]
7
+ 9:I[8027,[],"OutletBoundary"]
8
+ b:I[2986,[],"AsyncMetadataOutlet"]
9
+ d:I[8027,[],"ViewportBoundary"]
10
+ f:I[8027,[],"MetadataBoundary"]
11
+ 10:"$Sreact.suspense"
12
+ 12:I[9850,[],""]
13
+ :HL["/_next/static/css/53ea3bb274b2b444.css","style"]
14
+ 0:{"P":null,"b":"wIIqV_03htqo96M3P8FEG","p":"","c":["","timeline",""],"i":false,"f":[[["",{"children":["timeline",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/53ea3bb274b2b444.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"min-h-screen bg-[#0f0f0f] text-gray-200","children":[["$","nav",null,{"className":"flex items-center gap-6 border-b border-gray-800 px-6 py-4","children":[["$","span",null,{"className":"font-bold text-indigo-400","children":"Agent OS"}],[["$","$L2","/",{"href":"/","className":"text-sm text-gray-300 hover:text-indigo-400","children":"Mission Control"}],["$","$L2","/inbox",{"href":"/inbox","className":"text-sm text-gray-300 hover:text-indigo-400","children":"Inbox"}],["$","$L2","/timeline",{"href":"/timeline","className":"text-sm text-gray-300 hover:text-indigo-400","children":"Timeline"}],["$","$L2","/health",{"href":"/health","className":"text-sm text-gray-300 hover:text-indigo-400","children":"Health"}]]]}],["$","main",null,{"className":"px-6 py-6","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}],{"children":["timeline",["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","searchParams":{},"params":{},"promises":["$@7","$@8"]}],null,["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],null],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true}
15
+ 7:{}
16
+ 8:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
17
+ e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
18
+ a:null
19
+ c:{"metadata":[["$","title","0",{"children":"Agent OS"}],["$","meta","1",{"name":"description","content":"Mission control for AI coding agents"}]],"error":null,"digest":"$undefined"}
20
+ 11:"$c:metadata"
@@ -0,0 +1,168 @@
1
+ import {
2
+ GatewayError,
3
+ GatewayNotRunningError
4
+ } from "./chunk-I442WICJ.js";
5
+
6
+ // src/lib/display.ts
7
+ import chalk from "chalk";
8
+ import Table from "cli-table3";
9
+ var display = {
10
+ success(message) {
11
+ console.log(chalk.green("\u2713") + " " + message);
12
+ },
13
+ info(message) {
14
+ console.log(chalk.blue("\u2139") + " " + message);
15
+ },
16
+ warning(message) {
17
+ console.log(chalk.yellow("\u26A0") + " " + message);
18
+ },
19
+ error(message) {
20
+ console.error(chalk.red("\u2717") + " " + message);
21
+ },
22
+ // ---- Structured objects ----
23
+ json(data) {
24
+ console.log(JSON.stringify(data, null, 2));
25
+ },
26
+ // ---- Agent table ----
27
+ agentTable(agents) {
28
+ const table = new Table({
29
+ head: [
30
+ chalk.bold("Name"),
31
+ chalk.bold("Role"),
32
+ chalk.bold("Status"),
33
+ chalk.bold("Capabilities"),
34
+ chalk.bold("Last Health Check")
35
+ ],
36
+ style: { head: [], border: ["grey"] }
37
+ });
38
+ for (const agent of agents) {
39
+ const statusColor = agent.status === "idle" ? chalk.green : agent.status === "busy" ? chalk.blue : agent.status === "degraded" ? chalk.yellow : agent.status === "expired" ? chalk.red : chalk.grey;
40
+ table.push([
41
+ agent.display_name,
42
+ agent.role,
43
+ statusColor(agent.status),
44
+ agent.capabilities.join(", ") || "\u2014",
45
+ agent.last_health_check ? new Date(agent.last_health_check).toLocaleTimeString() : chalk.grey("never")
46
+ ]);
47
+ }
48
+ console.log(table.toString());
49
+ },
50
+ // ---- Agent health table ----
51
+ agentHealthTable(rows) {
52
+ const table = new Table({
53
+ head: [
54
+ chalk.bold("Name"),
55
+ chalk.bold("Role"),
56
+ chalk.bold("Adapter"),
57
+ chalk.bold("Status"),
58
+ chalk.bold("Credential"),
59
+ chalk.bold("Last Validated"),
60
+ chalk.bold("Fallback")
61
+ ],
62
+ style: { head: [], border: ["grey"] }
63
+ });
64
+ for (const { agent, health } of rows) {
65
+ const credColor = health?.status === "healthy" ? chalk.green : health?.status === "warning" ? chalk.yellow : health?.status === "expired" ? chalk.red : chalk.grey;
66
+ table.push([
67
+ agent.display_name,
68
+ agent.role,
69
+ agent.adapter,
70
+ agent.status,
71
+ credColor(health?.status ?? "unknown"),
72
+ health?.last_validated ? new Date(health.last_validated).toLocaleTimeString() : chalk.grey("never"),
73
+ health?.fallback_agent_id ?? chalk.grey("none")
74
+ ]);
75
+ }
76
+ console.log(table.toString());
77
+ },
78
+ // ---- Inbox sections ----
79
+ inboxActionRequests(items) {
80
+ display.divider("Action Requests");
81
+ if (items.length === 0) {
82
+ console.log(chalk.grey(" (none pending)"));
83
+ return;
84
+ }
85
+ for (const item of items) {
86
+ console.log(
87
+ ` ${display.riskBadge(item.risk_level)} ${chalk.bold(item.action_type)} via ${chalk.cyan(item.agent_name)} \u2014 ${chalk.grey(item.task_title)}`
88
+ );
89
+ if (item.command_or_tool) {
90
+ console.log(chalk.grey(` tool: ${item.command_or_tool}`));
91
+ }
92
+ if (item.explanation) {
93
+ console.log(chalk.grey(` ${item.explanation}`));
94
+ }
95
+ console.log(
96
+ chalk.grey(` id: ${item.id} \u2192 agentos approve ${item.id} | agentos deny ${item.id}`)
97
+ );
98
+ }
99
+ },
100
+ inboxCredentialEvents(items) {
101
+ display.divider("Credential Events");
102
+ if (items.length === 0) {
103
+ console.log(chalk.grey(" (none unresolved)"));
104
+ return;
105
+ }
106
+ for (const item of items) {
107
+ console.log(
108
+ ` ${chalk.red("\u25CF")} ${chalk.bold(item.event_type)} \u2014 ${chalk.cyan(item.agent_name)} (${item.task_title ?? "no task"})`
109
+ );
110
+ console.log(chalk.grey(` id: ${item.id} \u2192 agentos route ${item.id} --to <fallback_agent_id>`));
111
+ }
112
+ },
113
+ inboxConflicts(items) {
114
+ display.divider("Conflicts");
115
+ if (items.length === 0) {
116
+ console.log(chalk.grey(" (none active)"));
117
+ return;
118
+ }
119
+ for (const item of items) {
120
+ console.log(
121
+ ` ${chalk.yellow("\u25B2")} ${chalk.bold(item.type)} \u2014 agents: ${item.agents_involved.join(", ")}`
122
+ );
123
+ console.log(chalk.grey(` files: ${item.files_affected.join(", ") || "\u2014"}`));
124
+ }
125
+ },
126
+ // ---- Risk badge ----
127
+ riskBadge(level) {
128
+ switch (level) {
129
+ case "low":
130
+ return chalk.green(`[${level.toUpperCase()}]`);
131
+ case "medium":
132
+ return chalk.yellow(`[${level.toUpperCase()}]`);
133
+ case "high":
134
+ return chalk.red(`[${level.toUpperCase()}]`);
135
+ case "critical":
136
+ return chalk.bgRed.white(`[${level.toUpperCase()}]`);
137
+ default:
138
+ return `[${level.toUpperCase()}]`;
139
+ }
140
+ },
141
+ // ---- Divider ----
142
+ divider(label) {
143
+ const width = 60;
144
+ if (label) {
145
+ const pad = Math.max(0, width - label.length - 4);
146
+ console.log(chalk.grey("\u2500\u2500 ") + chalk.bold(label) + chalk.grey(" " + "\u2500".repeat(pad)));
147
+ } else {
148
+ console.log(chalk.grey("\u2500".repeat(width)));
149
+ }
150
+ },
151
+ // ---- Error handling ----
152
+ gatewayError(err) {
153
+ if (err instanceof GatewayNotRunningError) {
154
+ display.error(err.message);
155
+ } else if (err instanceof GatewayError) {
156
+ display.error(`Gateway returned ${String(err.status)}: ${err.detail}`);
157
+ } else if (err instanceof Error) {
158
+ display.error(err.message);
159
+ } else {
160
+ display.error("An unexpected error occurred");
161
+ }
162
+ process.exit(1);
163
+ }
164
+ };
165
+
166
+ export {
167
+ display
168
+ };
@@ -0,0 +1,48 @@
1
+ // ../../packages/shared/dist/constants.js
2
+ var GATEWAY_PORT = 47821;
3
+ var DASHBOARD_PORT = 47822;
4
+ var GATEWAY_BASE_URL = `http://localhost:${GATEWAY_PORT}`;
5
+ var AGENTOS_DIR = ".agentos";
6
+ var CONFIG_FILE = `${AGENTOS_DIR}/config.yml`;
7
+ var AGENTS_FILE = `${AGENTOS_DIR}/agents.yml`;
8
+ var POLICIES_FILE = `${AGENTOS_DIR}/policies.yml`;
9
+ var CONTEXT_DIR = `${AGENTOS_DIR}/context`;
10
+ var MISSIONS_DIR = `${AGENTOS_DIR}/missions`;
11
+ var RUNS_DIR = `${AGENTOS_DIR}/runs`;
12
+ var ARTIFACTS_DIR = `${AGENTOS_DIR}/artifacts`;
13
+ var APPROVALS_DIR = `${AGENTOS_DIR}/approvals`;
14
+ var SECRETS_DIR = `${AGENTOS_DIR}/.secrets`;
15
+ var WORKSPACES_DIR = `${AGENTOS_DIR}/workspaces`;
16
+ var RISK_AUTO_APPROVE = 30;
17
+ var RISK_ASK_USER = 70;
18
+ var RISK_BLOCK = 100;
19
+ var CONTEXT_TOKEN_BUDGET_DEFAULT = 8e3;
20
+ var CONTEXT_TOKEN_BUDGET_MAX = 16e3;
21
+ var CREDENTIAL_PROBE_INTERVAL_MS = 2e3;
22
+ var CREDENTIAL_EXPIRY_WARNING_DAYS = 3;
23
+ var RATE_LIMIT_RETRY_DELAYS_MS = [1e3, 2e3, 4e3];
24
+
25
+ export {
26
+ GATEWAY_PORT,
27
+ DASHBOARD_PORT,
28
+ GATEWAY_BASE_URL,
29
+ AGENTOS_DIR,
30
+ CONFIG_FILE,
31
+ AGENTS_FILE,
32
+ POLICIES_FILE,
33
+ CONTEXT_DIR,
34
+ MISSIONS_DIR,
35
+ RUNS_DIR,
36
+ ARTIFACTS_DIR,
37
+ APPROVALS_DIR,
38
+ SECRETS_DIR,
39
+ WORKSPACES_DIR,
40
+ RISK_AUTO_APPROVE,
41
+ RISK_ASK_USER,
42
+ RISK_BLOCK,
43
+ CONTEXT_TOKEN_BUDGET_DEFAULT,
44
+ CONTEXT_TOKEN_BUDGET_MAX,
45
+ CREDENTIAL_PROBE_INTERVAL_MS,
46
+ CREDENTIAL_EXPIRY_WARNING_DAYS,
47
+ RATE_LIMIT_RETRY_DELAYS_MS
48
+ };
@@ -0,0 +1,155 @@
1
+ import {
2
+ GATEWAY_BASE_URL
3
+ } from "./chunk-CPCT2FTQ.js";
4
+
5
+ // src/lib/gateway-client.ts
6
+ var GatewayNotRunningError = class extends Error {
7
+ constructor() {
8
+ super(
9
+ "Agent OS gateway is not running.\nStart it with: agentos daemon start"
10
+ );
11
+ this.name = "GatewayNotRunningError";
12
+ }
13
+ };
14
+ var GatewayError = class extends Error {
15
+ constructor(status, detail) {
16
+ super(`Gateway error ${String(status)}: ${detail}`);
17
+ this.status = status;
18
+ this.detail = detail;
19
+ this.name = "GatewayError";
20
+ }
21
+ status;
22
+ detail;
23
+ };
24
+ var DEFAULT_TIMEOUT_MS = 1e4;
25
+ async function request(method, path, body, timeoutMs = DEFAULT_TIMEOUT_MS) {
26
+ const url = `${GATEWAY_BASE_URL}${path}`;
27
+ const init = {
28
+ method,
29
+ headers: { "Content-Type": "application/json" },
30
+ signal: AbortSignal.timeout(timeoutMs)
31
+ };
32
+ if (body !== void 0) {
33
+ init.body = JSON.stringify(body);
34
+ }
35
+ let response;
36
+ try {
37
+ response = await fetch(url, init);
38
+ } catch (err) {
39
+ if (err instanceof TypeError && err.message.includes("fetch")) {
40
+ throw new GatewayNotRunningError();
41
+ }
42
+ throw err;
43
+ }
44
+ if (!response.ok) {
45
+ const text = await response.text().catch(() => "Unknown error");
46
+ let detail = text;
47
+ try {
48
+ const json = JSON.parse(text);
49
+ detail = json.detail ?? json.error ?? text;
50
+ } catch {
51
+ }
52
+ throw new GatewayError(response.status, detail);
53
+ }
54
+ return response.json();
55
+ }
56
+ var gateway = {
57
+ // ---- System ----
58
+ health() {
59
+ return request("GET", "/health");
60
+ },
61
+ // ---- Agents ----
62
+ listAgents() {
63
+ return request("GET", "/agents");
64
+ },
65
+ registerAgent(body) {
66
+ return request("POST", "/agents", body);
67
+ },
68
+ getAgentHealth(agentId) {
69
+ return request("GET", `/agents/${agentId}/health`);
70
+ },
71
+ validateAgent(agentId) {
72
+ return request("POST", `/agents/${agentId}/validate`);
73
+ },
74
+ removeAgent(agentId) {
75
+ return request("DELETE", `/agents/${agentId}`);
76
+ },
77
+ // ---- Missions ----
78
+ createMission(title, objective) {
79
+ return request("POST", "/missions", { title, objective });
80
+ },
81
+ listMissions(status) {
82
+ const query = status ? `?status=${encodeURIComponent(status)}` : "";
83
+ return request("GET", `/missions${query}`);
84
+ },
85
+ planMission(missionId) {
86
+ return request("POST", `/missions/${missionId}/plan`, void 0, 12e4);
87
+ },
88
+ runMission(missionId, parallel = true) {
89
+ return request("POST", `/missions/${missionId}/run`, { parallel });
90
+ },
91
+ pauseMission(missionId) {
92
+ return request("POST", `/missions/${missionId}/pause`);
93
+ },
94
+ resumeMission(missionId) {
95
+ return request("POST", `/missions/${missionId}/resume`);
96
+ },
97
+ getMissionStatus(missionId) {
98
+ return request("GET", `/missions/${missionId}/status`);
99
+ },
100
+ // ---- Tasks ----
101
+ getDiff(taskId) {
102
+ return request("GET", `/tasks/${taskId}/diff`);
103
+ },
104
+ mergeTask(taskId) {
105
+ return request("POST", `/tasks/${taskId}/merge`);
106
+ },
107
+ rollbackTask(taskId) {
108
+ return request("POST", `/tasks/${taskId}/rollback`);
109
+ },
110
+ routeTask(taskId, toAgentId) {
111
+ return request("POST", `/tasks/${taskId}/route`, { to_agent_id: toAgentId });
112
+ },
113
+ stopTask(taskId) {
114
+ return request("POST", `/tasks/${taskId}/stop`);
115
+ },
116
+ // ---- Inbox ----
117
+ getInbox() {
118
+ return request("GET", "/inbox");
119
+ },
120
+ approve(actionRequestId, body) {
121
+ return request("POST", `/inbox/approve/${actionRequestId}`, body);
122
+ },
123
+ deny(actionRequestId, note) {
124
+ return request("POST", `/inbox/deny/${actionRequestId}`, { note });
125
+ },
126
+ // ---- Credentials ----
127
+ rotateCredential(agentId, credentialValue) {
128
+ return request("POST", `/credentials/rotate/${agentId}`, { credential_value: credentialValue });
129
+ },
130
+ // ---- Context ----
131
+ getContextPack(packId) {
132
+ return request("GET", `/context/pack/${packId}`);
133
+ },
134
+ getLatestContextPackForTask(taskId) {
135
+ return request("GET", `/context/pack/by-task/${taskId}`);
136
+ },
137
+ // ---- Events ----
138
+ listEvents(filters = {}) {
139
+ const params = new URLSearchParams();
140
+ if (filters.mission_id) params.set("mission_id", filters.mission_id);
141
+ if (filters.run_id) params.set("run_id", filters.run_id);
142
+ if (filters.agent_id) params.set("agent_id", filters.agent_id);
143
+ if (filters.event_type) params.set("event_type", filters.event_type);
144
+ if (filters.severity) params.set("severity", filters.severity);
145
+ params.set("limit", String(filters.limit ?? 50));
146
+ const query = params.toString();
147
+ return request("GET", `/events${query ? `?${query}` : ""}`);
148
+ }
149
+ };
150
+
151
+ export {
152
+ GatewayNotRunningError,
153
+ GatewayError,
154
+ gateway
155
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ display
3
+ } from "./chunk-4J3VBGVR.js";
4
+ import "./chunk-I442WICJ.js";
5
+ import "./chunk-CPCT2FTQ.js";
6
+ export {
7
+ display
8
+ };
@@ -0,0 +1,48 @@
1
+ import {
2
+ AGENTOS_DIR,
3
+ AGENTS_FILE,
4
+ APPROVALS_DIR,
5
+ ARTIFACTS_DIR,
6
+ CONFIG_FILE,
7
+ CONTEXT_DIR,
8
+ CONTEXT_TOKEN_BUDGET_DEFAULT,
9
+ CONTEXT_TOKEN_BUDGET_MAX,
10
+ CREDENTIAL_EXPIRY_WARNING_DAYS,
11
+ CREDENTIAL_PROBE_INTERVAL_MS,
12
+ DASHBOARD_PORT,
13
+ GATEWAY_BASE_URL,
14
+ GATEWAY_PORT,
15
+ MISSIONS_DIR,
16
+ POLICIES_FILE,
17
+ RATE_LIMIT_RETRY_DELAYS_MS,
18
+ RISK_ASK_USER,
19
+ RISK_AUTO_APPROVE,
20
+ RISK_BLOCK,
21
+ RUNS_DIR,
22
+ SECRETS_DIR,
23
+ WORKSPACES_DIR
24
+ } from "./chunk-CPCT2FTQ.js";
25
+ export {
26
+ AGENTOS_DIR,
27
+ AGENTS_FILE,
28
+ APPROVALS_DIR,
29
+ ARTIFACTS_DIR,
30
+ CONFIG_FILE,
31
+ CONTEXT_DIR,
32
+ CONTEXT_TOKEN_BUDGET_DEFAULT,
33
+ CONTEXT_TOKEN_BUDGET_MAX,
34
+ CREDENTIAL_EXPIRY_WARNING_DAYS,
35
+ CREDENTIAL_PROBE_INTERVAL_MS,
36
+ DASHBOARD_PORT,
37
+ GATEWAY_BASE_URL,
38
+ GATEWAY_PORT,
39
+ MISSIONS_DIR,
40
+ POLICIES_FILE,
41
+ RATE_LIMIT_RETRY_DELAYS_MS,
42
+ RISK_ASK_USER,
43
+ RISK_AUTO_APPROVE,
44
+ RISK_BLOCK,
45
+ RUNS_DIR,
46
+ SECRETS_DIR,
47
+ WORKSPACES_DIR
48
+ };
@@ -0,0 +1,11 @@
1
+ import {
2
+ GatewayError,
3
+ GatewayNotRunningError,
4
+ gateway
5
+ } from "./chunk-I442WICJ.js";
6
+ import "./chunk-CPCT2FTQ.js";
7
+ export {
8
+ GatewayError,
9
+ GatewayNotRunningError,
10
+ gateway
11
+ };