@parcha/agentrun-serve 0.1.0-beta.61 → 0.1.0-beta.62
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/CHANGELOG.md +66 -0
- package/README.md +102 -13
- package/dist/api-only.d.ts +4 -0
- package/dist/api-only.js +5 -1
- package/dist/archil-settings.d.ts +9 -0
- package/dist/archil-settings.js +8 -1
- package/dist/bash-read-only.d.ts +3 -0
- package/dist/bash-read-only.js +6 -3
- package/dist/chatgpt-plan.d.ts +26 -8
- package/dist/chatgpt-plan.js +89 -21
- package/dist/claude-login.d.ts +12 -5
- package/dist/claude-login.js +28 -3
- package/dist/cli.js +19 -8
- package/dist/composio-triggers.d.ts +9 -3
- package/dist/computers.d.ts +3 -0
- package/dist/computers.js +2 -1
- package/dist/console/assets/{backend-C9ffXUR5.js → backend-DEgVn5lC.js} +1 -1
- package/dist/console/assets/index-CG5tELph.js +639 -0
- package/dist/console/assets/share-CIeFK2Oe.js +6 -0
- package/dist/console/assets/{styles-fjQBFfMv.css → styles-D0SufbzK.css} +1 -1
- package/dist/console/index.html +3 -3
- package/dist/console/share.html +3 -3
- package/dist/cut-pool.d.ts +14 -0
- package/dist/cut-pool.js +98 -0
- package/dist/cut-worker.d.ts +14 -0
- package/dist/cut-worker.js +16 -0
- package/dist/decisions.d.ts +4 -0
- package/dist/decisions.js +9 -1
- package/dist/env-switch.d.ts +3 -0
- package/dist/env-switch.js +3 -0
- package/dist/harness-table.d.ts +7 -0
- package/dist/harness-table.js +6 -3
- package/dist/import.d.ts +8 -1
- package/dist/import.js +36 -5
- package/dist/key-check.js +22 -8
- package/dist/learned-nodes.d.ts +2 -1
- package/dist/learned-nodes.js +2 -1
- package/dist/mcp-gateway.d.ts +24 -0
- package/dist/mcp-gateway.js +97 -8
- package/dist/mcp-servers-store.d.ts +7 -10
- package/dist/mcp-servers-store.js +15 -9
- package/dist/native/cli.js +5 -1
- package/dist/ollama-provider.d.ts +10 -3
- package/dist/ollama-provider.js +17 -7
- package/dist/openapi.js +29 -12
- package/dist/otel/tracer.d.ts +6 -3
- package/dist/otel/tracer.js +24 -6
- package/dist/page.d.ts +7 -0
- package/dist/page.js +17 -4
- package/dist/place.d.ts +25 -9
- package/dist/place.js +37 -11
- package/dist/print.d.ts +3 -2
- package/dist/print.js +8 -6
- package/dist/run-launch.js +16 -3
- package/dist/run-model-key.d.ts +2 -1
- package/dist/run-model-key.js +2 -1
- package/dist/run-reads-over-store.d.ts +7 -0
- package/dist/run-reads-over-store.js +32 -4
- package/dist/runnable.d.ts +6 -3
- package/dist/runnable.js +16 -6
- package/dist/runner/adapter-loop.js +64 -25
- package/dist/runner/adapter-run-spec.d.ts +6 -1
- package/dist/runner/adapter-run-spec.js +14 -11
- package/dist/runner/adapters/index.d.ts +4 -0
- package/dist/runner/adapters/index.js +2 -1
- package/dist/runner/claim-secrets.d.ts +3 -1
- package/dist/runner/claim-secrets.js +18 -7
- package/dist/runner/cli-run-spec.js +12 -8
- package/dist/runner/dispatch.js +2 -0
- package/dist/runner/harness-loops.d.ts +5 -0
- package/dist/runner/harness-loops.js +4 -1
- package/dist/runner/live-ticker.js +3 -1
- package/dist/runner/loop-contract.d.ts +4 -1
- package/dist/runner/mcp-run.d.ts +5 -0
- package/dist/runner/mcp-run.js +18 -0
- package/dist/runner/meta-tools.js +4 -4
- package/dist/runner/metrics.d.ts +4 -2
- package/dist/runner/metrics.js +5 -3
- package/dist/runner/native-loop.js +2 -2
- package/dist/runner/run-child-host.d.ts +10 -6
- package/dist/runner/run-child-host.js +44 -29
- package/dist/runner/run-child.js +1 -0
- package/dist/runner/runner.js +2 -0
- package/dist/runner/workflow-calls.d.ts +4 -3
- package/dist/runner/workflow-calls.js +41 -12
- package/dist/runner/workflow-spec.js +1 -1
- package/dist/secret-rules.d.ts +0 -1
- package/dist/secret-rules.js +25 -5
- package/dist/server.d.ts +10 -1
- package/dist/server.js +114 -38
- package/dist/share-host.d.ts +111 -0
- package/dist/share-host.js +666 -0
- package/dist/store-reads/analytics.d.ts +15 -0
- package/dist/store-reads/analytics.js +17 -0
- package/dist/suggestions.js +32 -3
- package/dist/templates.d.ts +3 -1
- package/dist/templates.js +7 -3
- package/dist/tool-gate.d.ts +25 -9
- package/dist/tool-gate.js +58 -19
- package/dist/tool-plane.d.ts +1 -0
- package/dist/tool-plane.js +6 -2
- package/dist/trigger-composio.js +1 -1
- package/dist/webhooks.d.ts +3 -0
- package/dist/webhooks.js +5 -0
- package/dist/workspace/archil-claim.d.ts +7 -3
- package/dist/workspace/archil-claim.js +13 -5
- package/dist/workspace/archil-mount-credential.d.ts +6 -0
- package/dist/workspace/archil-mount-credential.js +11 -0
- package/dist/workspace/computer-deps.d.ts +5 -3
- package/dist/workspace/computer-deps.js +11 -9
- package/dist/workspace/computer-for-claim.d.ts +6 -2
- package/dist/workspace/computer-for-claim.js +43 -12
- package/dist/workspace/computer-janitor.d.ts +7 -4
- package/dist/workspace/computer-janitor.js +7 -4
- package/dist/workspace/computer-kept.d.ts +7 -1
- package/dist/workspace/computer-kept.js +7 -1
- package/dist/workspace/kind-skills/desktop/SKILL.md +12 -3
- package/dist/workspace/mount-revoke-left.d.ts +16 -4
- package/dist/workspace/mount-revoke-left.js +42 -22
- package/dist/workspace/resolve-computer.d.ts +11 -5
- package/dist/workspace/resolve-computer.js +22 -13
- package/dist/workspace/run-end-computers.js +1 -1
- package/dist/workspace/run-tools.d.ts +10 -3
- package/dist/workspace/run-tools.js +5 -4
- package/dist/wrapped.d.ts +29 -2
- package/dist/wrapped.js +20 -3
- package/launcher/agentrun-serve +1 -1
- package/package.json +12 -12
- package/dist/console/assets/index-BnZV3lvW.js +0 -639
- package/dist/console/assets/share-B1o5mJ56.js +0 -6
- /package/dist/console/assets/{styles-D_znYrHR.js → styles-BGZxYkky.js} +0 -0
|
@@ -60,10 +60,12 @@ export declare function attachedIn(workspace: Workspace, claimed: RunComputer |
|
|
|
60
60
|
export type RunHold = (ports: Pick<Hands, "computer">) => Pick<Hands, "computer" | "handoff">;
|
|
61
61
|
/** A desktop's or a phone's computer as a codemode script gets it bound (runner/meta-tools.ts): its card, the agent's
|
|
62
62
|
* own (no exec or processes group where its exec is off: `exec` false then, which a script's reach for computer.shell
|
|
63
|
-
* is told)
|
|
63
|
+
* is told), and the ops its declarations leave out, which the run's gate refuses whatever their arguments
|
|
64
|
+
* (`opsRefused`, set by the run's spec: RunGate.opsRefused). */
|
|
64
65
|
export type ScriptComputer = {
|
|
65
66
|
readonly card: Card;
|
|
66
67
|
readonly exec?: false;
|
|
68
|
+
readonly opsRefused?: readonly string[];
|
|
67
69
|
};
|
|
68
70
|
/** The run's scratch in its own folder: bash's TMPDIR. */
|
|
69
71
|
export declare const TMP_DIR = ".agentrun/tmp";
|
|
@@ -109,6 +111,7 @@ export type RunHands = {
|
|
|
109
111
|
* replaced an earlier claim's (ClaimComputer.replaced), so a desktop's or a phone's act is held to what it showed. */
|
|
110
112
|
export declare function runHands(workspace: Workspace, claimed: RunComputer | undefined, options: {
|
|
111
113
|
readonly mode: 1 | 2;
|
|
114
|
+
readonly noExec: string | undefined;
|
|
112
115
|
readonly context: Context;
|
|
113
116
|
readonly aliases?: readonly string[];
|
|
114
117
|
readonly hold?: RunHold;
|
|
@@ -145,11 +148,13 @@ export type ToolResults = Map<string, {
|
|
|
145
148
|
* the agent's surface "code" a desktop's or a phone's step tools, are deferred: bound for a script's nested calls
|
|
146
149
|
* (codemode's `computer` and `tools.<name>`), never listed to the model (scriptsOnly). Unless `writes` (the run's gate
|
|
147
150
|
* lets it write a file: RunGate.writeBar, read by the spec), computer_screenshot offers no save_as, which the gate would
|
|
148
|
-
* refuse
|
|
151
|
+
* refuse; computer_op offers none of the ops in `opsRefused` (the gate refuses them whatever their arguments:
|
|
152
|
+
* RunGate.opsRefused).
|
|
149
153
|
*/
|
|
150
154
|
export declare function bindTools(run: RunHands, registry: RunRegistry, names: readonly string[], options?: {
|
|
151
155
|
readonly results?: ToolResults;
|
|
152
156
|
readonly writes?: boolean;
|
|
157
|
+
readonly opsRefused?: readonly string[];
|
|
153
158
|
}): HostTool[];
|
|
154
159
|
/** A run's tools: what E2's harness start calls runTools for. */
|
|
155
160
|
export type RunTools = {
|
|
@@ -178,10 +183,11 @@ export type RunTools = {
|
|
|
178
183
|
};
|
|
179
184
|
/** The registry's tools `names` names, as the kernel's HostTool an adapter's session takes, each call through the
|
|
180
185
|
* run's gate decided before its intent, each answer kept in `results`; `writes`, the gate lets the run write a file, so
|
|
181
|
-
* computer_screenshot offers save_as (bindTools). */
|
|
186
|
+
* computer_screenshot offers save_as; `opsRefused`, the ops computer_op leaves out (bindTools). */
|
|
182
187
|
hostTools(names: readonly string[], options?: {
|
|
183
188
|
readonly results?: ToolResults;
|
|
184
189
|
readonly writes?: boolean;
|
|
190
|
+
readonly opsRefused?: readonly string[];
|
|
185
191
|
}): HostTool[];
|
|
186
192
|
/** The run's end, before the computer is let go: its background processes ended (TERM, then KILL 3 s later; none with
|
|
187
193
|
* no computer), then bash's full outputs and TMPDIR swept. */
|
|
@@ -200,6 +206,7 @@ export type RunTools = {
|
|
|
200
206
|
*/
|
|
201
207
|
export declare function runTools(workspace: Workspace, computer: RunComputer | undefined, options: {
|
|
202
208
|
readonly mode: 1 | 2;
|
|
209
|
+
readonly noExec: string | undefined;
|
|
203
210
|
readonly context: Context;
|
|
204
211
|
readonly aliases?: readonly string[];
|
|
205
212
|
readonly hold?: RunHold;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPUTER_OP_TOOL, COMPUTER_TOOLS, createRegistry, endBackground, HANDOFF_TOOL, unsavedScreenshot } from "@parcha/agentrun-kernel/kernel";
|
|
1
|
+
import { COMPUTER_OP_TOOL, COMPUTER_TOOLS, createRegistry, endBackground, HANDOFF_TOOL, unsavedScreenshot, withoutOps } from "@parcha/agentrun-kernel/kernel";
|
|
2
2
|
import { createSurface } from "@parcha/agentrun-computer/surface";
|
|
3
3
|
import { portOf } from "./computer-ports.js";
|
|
4
4
|
import { answerText, piExecutor } from "./executors.js";
|
|
@@ -65,7 +65,7 @@ export async function runHands(workspace, claimed, options) {
|
|
|
65
65
|
// folder in it, and the run has no shell at all (no bash family, not even Archil's exec).
|
|
66
66
|
const computer = agentsOwn(claimed);
|
|
67
67
|
const mounted = mountedIn(computer);
|
|
68
|
-
const shell = noPrograms(computer) ? "none" : shellPlaceOf(mounted !== undefined, options.mode);
|
|
68
|
+
const shell = noPrograms(computer) ? "none" : shellPlaceOf(mounted !== undefined, options.mode, options.noExec);
|
|
69
69
|
const attached = mounted === undefined ? workspace : await workspace.attach(mounted.computer, mounted.check);
|
|
70
70
|
// The folder's name: /workspace in a computer (and on Archil's exec, which has no path of this machine), its own path here.
|
|
71
71
|
const cwd = mounted === undefined && here !== undefined ? here : COMPUTER_ROOT;
|
|
@@ -130,7 +130,8 @@ const SAYS_PATH = new Set(["write", "edit"]);
|
|
|
130
130
|
* the agent's surface "code" a desktop's or a phone's step tools, are deferred: bound for a script's nested calls
|
|
131
131
|
* (codemode's `computer` and `tools.<name>`), never listed to the model (scriptsOnly). Unless `writes` (the run's gate
|
|
132
132
|
* lets it write a file: RunGate.writeBar, read by the spec), computer_screenshot offers no save_as, which the gate would
|
|
133
|
-
* refuse
|
|
133
|
+
* refuse; computer_op offers none of the ops in `opsRefused` (the gate refuses them whatever their arguments:
|
|
134
|
+
* RunGate.opsRefused).
|
|
134
135
|
*/
|
|
135
136
|
export function bindTools(run, registry, names, options = {}) {
|
|
136
137
|
const defs = new Map(registry.list().map((def) => [def.name, def]));
|
|
@@ -140,7 +141,7 @@ export function bindTools(run, registry, names, options = {}) {
|
|
|
140
141
|
const listed = defs.get(name);
|
|
141
142
|
if (!listed)
|
|
142
143
|
return [];
|
|
143
|
-
const def = name === "computer_screenshot" && options.writes !== true ? unsavedScreenshot(listed) : listed;
|
|
144
|
+
const def = name === "computer_screenshot" && options.writes !== true ? unsavedScreenshot(listed) : name === COMPUTER_OP_TOOL && options.opsRefused?.length ? withoutOps(listed, options.opsRefused) : listed;
|
|
144
145
|
return [{
|
|
145
146
|
name: def.name,
|
|
146
147
|
description: def.description,
|
package/dist/wrapped.d.ts
CHANGED
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { type Wrapped } from "@parcha/agentrun-import";
|
|
2
|
-
|
|
2
|
+
import type { StoreAnalytics } from "./store-reads/analytics.js";
|
|
3
|
+
/** The year's imported runs' cache (the store's sums, StoreAnalytics.cache) as GET /v2/wrapped serves it: null when no
|
|
4
|
+
* run of the year was analyzed. Each cause there, 0 where none. Only runs imported here are in it: a session the owner
|
|
5
|
+
* left out of the import, or imported before the import analyzed caches, is not. */
|
|
6
|
+
export declare function cacheView(cache: StoreAnalytics["cache"] | undefined): {
|
|
7
|
+
runs: number;
|
|
8
|
+
hit_rate: number | null;
|
|
9
|
+
breaks: {
|
|
10
|
+
[k: string]: number;
|
|
11
|
+
};
|
|
12
|
+
extra_cost_usd: {
|
|
13
|
+
[k: string]: number;
|
|
14
|
+
};
|
|
15
|
+
unpriced_breaks: number;
|
|
16
|
+
} | null;
|
|
17
|
+
/** `wrapped` (the import package's) as GET /v2/wrapped serves it, the runs imported from each source (`imported`), and
|
|
18
|
+
* their cache (`cache`, cacheView). */
|
|
3
19
|
export declare function wrappedView(wrapped: Wrapped, imported: readonly {
|
|
4
20
|
source: string;
|
|
5
21
|
runs: number;
|
|
6
|
-
}[], unreadFiles?: number): {
|
|
22
|
+
}[], unreadFiles?: number, cache?: StoreAnalytics["cache"]): {
|
|
7
23
|
year: number;
|
|
8
24
|
sessions: number;
|
|
9
25
|
turns: number;
|
|
@@ -48,6 +64,17 @@ export declare function wrappedView(wrapped: Wrapped, imported: readonly {
|
|
|
48
64
|
runs: number;
|
|
49
65
|
}[];
|
|
50
66
|
unread_files: number;
|
|
67
|
+
cache: {
|
|
68
|
+
runs: number;
|
|
69
|
+
hit_rate: number | null;
|
|
70
|
+
breaks: {
|
|
71
|
+
[k: string]: number;
|
|
72
|
+
};
|
|
73
|
+
extra_cost_usd: {
|
|
74
|
+
[k: string]: number;
|
|
75
|
+
};
|
|
76
|
+
unpriced_breaks: number;
|
|
77
|
+
} | null;
|
|
51
78
|
};
|
|
52
79
|
/** How long GET /v2/wrapped waits for a read before it answers 503 with a retry (the read goes on). */
|
|
53
80
|
export declare const WRAPPED_WAIT_MS = 15000;
|
package/dist/wrapped.js
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
// GET /v2/wrapped: a year of the work under this machine's home (Claude Code, Codex, pi and every other source the import
|
|
2
2
|
// package reads), as numbers. The import package's wrappedHome does the reading; this is its answer in the API's words,
|
|
3
3
|
// with the runs imported here beside it. Numbers and names only: no prompt, title, path or project is in it.
|
|
4
|
-
import { HARNESS_OF } from "@parcha/agentrun-import";
|
|
4
|
+
import { CACHE_CAUSES, HARNESS_OF } from "@parcha/agentrun-import";
|
|
5
5
|
const total = ({ input, output, cacheRead, cacheWrite }) => input + output + cacheRead + cacheWrite;
|
|
6
|
-
/**
|
|
7
|
-
|
|
6
|
+
/** The year's imported runs' cache (the store's sums, StoreAnalytics.cache) as GET /v2/wrapped serves it: null when no
|
|
7
|
+
* run of the year was analyzed. Each cause there, 0 where none. Only runs imported here are in it: a session the owner
|
|
8
|
+
* left out of the import, or imported before the import analyzed caches, is not. */
|
|
9
|
+
export function cacheView(cache) {
|
|
10
|
+
if (!cache?.runs)
|
|
11
|
+
return null;
|
|
12
|
+
const byCause = (counts) => Object.fromEntries(CACHE_CAUSES.map((cause) => [cause, counts[cause] ?? 0]));
|
|
13
|
+
return {
|
|
14
|
+
runs: cache.runs,
|
|
15
|
+
hit_rate: cache.prompt > 0 ? Math.round((cache.read / cache.prompt) * 1e4) / 1e4 : null,
|
|
16
|
+
breaks: byCause(cache.breaks),
|
|
17
|
+
extra_cost_usd: byCause(cache.extraCost),
|
|
18
|
+
unpriced_breaks: cache.unpriced,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/** `wrapped` (the import package's) as GET /v2/wrapped serves it, the runs imported from each source (`imported`), and
|
|
22
|
+
* their cache (`cache`, cacheView). */
|
|
23
|
+
export function wrappedView(wrapped, imported, unreadFiles = 0, cache) {
|
|
8
24
|
const { input, output, cacheRead, cacheWrite } = wrapped.tokens;
|
|
9
25
|
return {
|
|
10
26
|
year: wrapped.year,
|
|
@@ -25,6 +41,7 @@ export function wrappedView(wrapped, imported, unreadFiles = 0) {
|
|
|
25
41
|
sources: wrapped.sources,
|
|
26
42
|
imported: imported.map(({ source, runs }) => ({ source, runs })),
|
|
27
43
|
unread_files: unreadFiles,
|
|
44
|
+
cache: cacheView(cache),
|
|
28
45
|
};
|
|
29
46
|
}
|
|
30
47
|
/** A read of the current year is kept for a minute after it ends: a whole home is a long read. */
|
package/launcher/agentrun-serve
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
# here. Any other variable named like a key (a KEY, TOKEN, SECRET, PASSWORD, PASSWD, PASS, PAT, CREDENTIAL, CREDENTIALS or
|
|
44
44
|
# DSN segment, or a last PWD after another) stays in the server's environment, as this list does not take it, and in no
|
|
45
45
|
# run's: name it here to keep it from the server's too.
|
|
46
|
-
SECRETS='AGENTRUN_TOKEN AGENTRUN_TOKENS AGENTRUN_API_KEY AGENTRUN_STORE_URL AGENT_MODEL_API_KEY OPENAI_API_KEY ANTHROPIC_API_KEY BROWSERBASE_API_KEY BROWSERBASE_PROJECT_ID KERNEL_API_KEY OPENROUTER_API_KEY PARTICLE_API_KEY TYPESAFE_API_KEY PARALLEL_API_KEY MONID_API_KEY CURSOR_API_KEY AGENTRUN_SEAL_KEY AGENTRUN_LAUNCH_HOOK_SECRET COMPOSIO_API_KEY ARCHIL_API_KEY E2B_API_KEY ORGO_API_KEY PHONE_HARNESS_API_KEY AGENT37_API_KEY AGENT37_SSH_KEY DAYTONA_API_KEY BOXD_API_KEY MORPH_API_KEY SMOLCLOUD_API_KEY GROUNDBOX_API_KEY CLOUDFLARE_RELAY_TOKEN FLY_API_TOKEN MODAL_TOKEN_ID MODAL_TOKEN_SECRET ANTHROPIC_AUTH_TOKEN ANTHROPIC_OAUTH_TOKEN AI_GATEWAY_API_KEY ANT_LING_API_KEY AWS_ACCESS_KEY_ID AWS_BEARER_TOKEN_BEDROCK AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AZURE_OPENAI_API_KEY BASETEN_API_KEY CEREBRAS_API_KEY CLOUDFLARE_API_KEY COPILOT_GITHUB_TOKEN DEEPSEEK_API_KEY FIREWORKS_API_KEY GEMINI_API_KEY GOOGLE_CLOUD_API_KEY GROQ_API_KEY HF_TOKEN KIMI_API_KEY META_API_KEY MINIMAX_API_KEY MINIMAX_CN_API_KEY MISTRAL_API_KEY MOONSHOT_API_KEY NVIDIA_API_KEY OPENCODE_API_KEY QWEN_TOKEN_PLAN_API_KEY QWEN_TOKEN_PLAN_CN_API_KEY RADIUS_API_KEY TOGETHER_API_KEY XAI_API_KEY XIAOMI_API_KEY XIAOMI_TOKEN_PLAN_AMS_API_KEY XIAOMI_TOKEN_PLAN_CN_API_KEY XIAOMI_TOKEN_PLAN_SGP_API_KEY ZAI_API_KEY ZAI_CODING_CN_API_KEY'
|
|
46
|
+
SECRETS='AGENTRUN_TOKEN AGENTRUN_TOKENS AGENTRUN_API_KEY AGENTRUN_STORE_URL AGENT_MODEL_API_KEY OPENAI_API_KEY ANTHROPIC_API_KEY BROWSERBASE_API_KEY BROWSERBASE_PROJECT_ID KERNEL_API_KEY OPENROUTER_API_KEY PARTICLE_API_KEY TYPESAFE_API_KEY PARALLEL_API_KEY MONID_API_KEY CURSOR_API_KEY AGENTRUN_SEAL_KEY AGENTRUN_LAUNCH_HOOK_SECRET COMPOSIO_API_KEY ARCHIL_API_KEY E2B_API_KEY ORGO_API_KEY PHONE_HARNESS_API_KEY AGENT37_API_KEY AGENT37_SSH_KEY DAYTONA_API_KEY BOXD_API_KEY MORPH_API_KEY SMOLCLOUD_API_KEY GROUNDBOX_API_KEY CLOUDFLARE_RELAY_TOKEN FLY_API_TOKEN RENDER_API_KEY MODAL_TOKEN_ID MODAL_TOKEN_SECRET ANTHROPIC_AUTH_TOKEN ANTHROPIC_OAUTH_TOKEN AI_GATEWAY_API_KEY ANT_LING_API_KEY AWS_ACCESS_KEY_ID AWS_BEARER_TOKEN_BEDROCK AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AZURE_OPENAI_API_KEY BASETEN_API_KEY CEREBRAS_API_KEY CLOUDFLARE_API_KEY COPILOT_GITHUB_TOKEN DEEPSEEK_API_KEY FIREWORKS_API_KEY GEMINI_API_KEY GOOGLE_CLOUD_API_KEY GROQ_API_KEY HF_TOKEN KIMI_API_KEY META_API_KEY MINIMAX_API_KEY MINIMAX_CN_API_KEY MISTRAL_API_KEY MOONSHOT_API_KEY NVIDIA_API_KEY OPENCODE_API_KEY QWEN_TOKEN_PLAN_API_KEY QWEN_TOKEN_PLAN_CN_API_KEY RADIUS_API_KEY TOGETHER_API_KEY XAI_API_KEY XIAOMI_API_KEY XIAOMI_TOKEN_PLAN_AMS_API_KEY XIAOMI_TOKEN_PLAN_CN_API_KEY XIAOMI_TOKEN_PLAN_SGP_API_KEY ZAI_API_KEY ZAI_CODING_CN_API_KEY'
|
|
47
47
|
set -eu
|
|
48
48
|
# Each secret out of the environment and into an unexported variable of this shell (agentrun_secret_<NAME>).
|
|
49
49
|
for name in $SECRETS; do
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcha/agentrun-serve",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.62",
|
|
4
4
|
"description": "The AgentRun server: the /v2 API and console over one store, with runners that run your agents; the deployable process of the AgentRun platform.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentrun",
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
"@opentelemetry/exporter-trace-otlp-http": "0.301.2",
|
|
71
71
|
"@opentelemetry/resources": "3.1.1",
|
|
72
72
|
"@opentelemetry/sdk-trace": "3.1.1",
|
|
73
|
-
"@parcha/agentrun-computer": "0.1.0-beta.
|
|
74
|
-
"@parcha/agentrun-decisions": "0.1.0-beta.
|
|
75
|
-
"@parcha/agentrun-dsl": "0.1.0-beta.
|
|
76
|
-
"@parcha/agentrun-harness-acp": "0.1.0-beta.
|
|
77
|
-
"@parcha/agentrun-harness-claude": "0.1.0-beta.
|
|
78
|
-
"@parcha/agentrun-harness-codex": "0.1.0-beta.
|
|
79
|
-
"@parcha/agentrun-import": "0.1.0-beta.
|
|
80
|
-
"@parcha/agentrun-jev": "0.1.0-beta.
|
|
81
|
-
"@parcha/agentrun-kernel": "0.1.0-beta.
|
|
82
|
-
"@parcha/agentrun-web": "0.1.0-beta.
|
|
83
|
-
"@parcha/pi-browser": "0.1.0-beta.
|
|
73
|
+
"@parcha/agentrun-computer": "0.1.0-beta.62",
|
|
74
|
+
"@parcha/agentrun-decisions": "0.1.0-beta.62",
|
|
75
|
+
"@parcha/agentrun-dsl": "0.1.0-beta.62",
|
|
76
|
+
"@parcha/agentrun-harness-acp": "0.1.0-beta.62",
|
|
77
|
+
"@parcha/agentrun-harness-claude": "0.1.0-beta.62",
|
|
78
|
+
"@parcha/agentrun-harness-codex": "0.1.0-beta.62",
|
|
79
|
+
"@parcha/agentrun-import": "0.1.0-beta.62",
|
|
80
|
+
"@parcha/agentrun-jev": "0.1.0-beta.62",
|
|
81
|
+
"@parcha/agentrun-kernel": "0.1.0-beta.62",
|
|
82
|
+
"@parcha/agentrun-web": "0.1.0-beta.62",
|
|
83
|
+
"@parcha/pi-browser": "0.1.0-beta.62",
|
|
84
84
|
"@secretlint/core": "14.1.0",
|
|
85
85
|
"@secretlint/profiler": "14.1.0",
|
|
86
86
|
"croner": "11.0.0",
|