@parcha/agentrun-serve 0.1.0-beta.56 → 0.1.0-beta.58
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 +281 -0
- package/README.md +246 -66
- package/dist/acp-package.d.ts +2 -0
- package/dist/adapters.d.ts +15 -3
- package/dist/adapters.js +17 -6
- package/dist/agent-package.d.ts +3 -3
- package/dist/agent-package.js +17 -8
- package/dist/api-keys.d.ts +76 -0
- package/dist/api-keys.js +217 -0
- package/dist/api-only.d.ts +15 -5
- package/dist/api-only.js +32 -8
- package/dist/box-paths.d.ts +4 -3
- package/dist/box-paths.js +7 -4
- package/dist/browser-hold.d.ts +23 -0
- package/dist/browser-hold.js +48 -0
- package/dist/browser-person.d.ts +3 -0
- package/dist/browser-person.js +4 -1
- package/dist/chatgpt-plan.d.ts +18 -8
- package/dist/chatgpt-plan.js +91 -34
- package/dist/claude-login-token.d.ts +117 -0
- package/dist/claude-login-token.js +737 -0
- package/dist/claude-login.d.ts +120 -22
- package/dist/claude-login.js +347 -63
- package/dist/claude-sign-in.d.ts +17 -6
- package/dist/claude-sign-in.js +42 -39
- package/dist/cli.js +33 -10
- package/dist/composio-made.d.ts +4 -0
- package/dist/composio-made.js +4 -0
- package/dist/composio-preset.d.ts +43 -2
- package/dist/composio-preset.js +92 -4
- package/dist/computer-attach.d.ts +35 -17
- package/dist/computer-attach.js +301 -49
- package/dist/computer-held-routes.d.ts +5 -4
- package/dist/computer-held-routes.js +29 -8
- package/dist/computer-held.d.ts +6 -1
- package/dist/computer-held.js +14 -0
- package/dist/computer-record.js +4 -2
- package/dist/computer-viewer.js +4 -1
- package/dist/computers.d.ts +10 -10
- package/dist/computers.js +5 -5
- package/dist/console/assets/{backend-Boh7tC4i.js → backend-CSAWUqtZ.js} +19 -19
- package/dist/console/assets/index-Bwn1oTem.css +1 -0
- package/dist/console/assets/index-DPh29cyz.js +747 -0
- package/dist/console/index.html +2 -2
- package/dist/decisions.d.ts +1 -1
- package/dist/decisions.js +1 -1
- package/dist/dial-relay.d.ts +25 -4
- package/dist/dial-relay.js +129 -1
- package/dist/docker-host-addresses.d.ts +22 -11
- package/dist/docker-host-addresses.js +38 -26
- package/dist/env-switch.d.ts +8 -0
- package/dist/env-switch.js +31 -2
- package/dist/errors.d.ts +1 -0
- package/dist/errors.js +2 -0
- package/dist/fal-price.d.ts +56 -20
- package/dist/fal-price.js +400 -90
- package/dist/handed-values.d.ts +43 -1
- package/dist/handed-values.js +119 -2
- package/dist/harness-archive.d.ts +13 -10
- package/dist/harness-archive.js +60 -34
- package/dist/harness-check.d.ts +3 -1
- package/dist/harness-check.js +25 -46
- package/dist/harness-keys.d.ts +73 -27
- package/dist/harness-keys.js +194 -61
- package/dist/harness-recipe-entry.d.ts +8 -7
- package/dist/harness-recipe-entry.js +21 -32
- package/dist/harness-recipe.d.ts +38 -25
- package/dist/harness-recipe.js +49 -36
- package/dist/harness-sign-in.js +12 -23
- package/dist/harness-table.d.ts +10 -3
- package/dist/harness-table.js +26 -21
- package/dist/harness.d.ts +1 -0
- package/dist/harness.js +17 -5
- package/dist/hosted-search.d.ts +1 -1
- package/dist/hosted-search.js +1 -2
- package/dist/import-worker.d.ts +4 -2
- package/dist/import-worker.js +9 -2
- package/dist/in-flight.d.ts +26 -0
- package/dist/in-flight.js +52 -0
- package/dist/key-refusal.d.ts +9 -4
- package/dist/key-refusal.js +107 -25
- package/dist/learn/ledger.d.ts +170 -0
- package/dist/learn/ledger.js +218 -0
- package/dist/learn/promote.d.ts +3 -3
- package/dist/learn/promote.js +1 -1
- package/dist/learn/secrets.d.ts +13 -3
- package/dist/learn/secrets.js +118 -17
- package/dist/learning-cost.d.ts +28 -23
- package/dist/learning-cost.js +19 -23
- package/dist/link-check.js +1 -1
- package/dist/live-reach.d.ts +2 -0
- package/dist/live-reach.js +2 -0
- package/dist/llms.txt +1 -1
- package/dist/marketplace.d.ts +77 -0
- package/dist/marketplace.js +224 -0
- package/dist/mcp-api-only-origins.d.ts +35 -0
- package/dist/mcp-api-only-origins.js +57 -0
- package/dist/mcp-gateway.d.ts +7 -5
- package/dist/mcp-gateway.js +9 -12
- package/dist/mcp-secret-writes.js +5 -3
- package/dist/mcp-servers-store.d.ts +28 -6
- package/dist/mcp-servers-store.js +53 -4
- package/dist/media-duration.d.ts +3 -0
- package/dist/media-duration.js +90 -9
- package/dist/micro.d.ts +2 -0
- package/dist/micro.js +2 -0
- package/dist/model-form.d.ts +5 -4
- package/dist/model-form.js +11 -7
- package/dist/model.d.ts +10 -6
- package/dist/model.js +16 -11
- package/dist/monid.d.ts +14 -1
- package/dist/monid.js +103 -26
- package/dist/ollama-provider.d.ts +7 -1
- package/dist/ollama-provider.js +14 -2
- package/dist/openapi.js +210 -37
- package/dist/otel/genai.d.ts +65 -0
- package/dist/otel/genai.js +116 -0
- package/dist/otel/tracer.d.ts +55 -0
- package/dist/otel/tracer.js +308 -0
- package/dist/page.d.ts +2 -0
- package/dist/page.js +3 -1
- package/dist/paid-calls.d.ts +1 -32
- package/dist/paid-calls.js +4 -39
- package/dist/place-offers.d.ts +4 -0
- package/dist/place-offers.js +7 -4
- package/dist/provider.d.ts +11 -2
- package/dist/provider.js +59 -8
- package/dist/redact/match.d.ts +30 -3
- package/dist/redact/match.js +422 -41
- package/dist/refusal-words.d.ts +11 -0
- package/dist/refusal-words.js +11 -0
- package/dist/run-census.d.ts +67 -0
- package/dist/run-census.js +240 -0
- package/dist/run-computer.d.ts +6 -3
- package/dist/run-computer.js +4 -1
- package/dist/run-cut.d.ts +15 -6
- package/dist/run-cut.js +30 -9
- package/dist/run-files.d.ts +3 -0
- package/dist/run-files.js +3 -0
- package/dist/run-launch.d.ts +12 -1
- package/dist/run-launch.js +9 -10
- package/dist/run-learning-served.d.ts +4 -2
- package/dist/run-model-key.d.ts +8 -0
- package/dist/run-model-key.js +31 -1
- package/dist/run-reads-over-store.d.ts +24 -6
- package/dist/run-reads-over-store.js +67 -23
- package/dist/run-recordings.d.ts +5 -1
- package/dist/run-recordings.js +39 -14
- package/dist/run-timeline-served.d.ts +2 -0
- package/dist/run-timeline-served.js +2 -2
- package/dist/run-usage.d.ts +1 -0
- package/dist/run-view.d.ts +1 -2
- package/dist/run-view.js +2 -1
- package/dist/runnable.d.ts +10 -1
- package/dist/runnable.js +20 -8
- package/dist/runner/adapter-loop.d.ts +11 -0
- package/dist/runner/adapter-loop.js +58 -26
- package/dist/runner/adapter-run-spec.d.ts +55 -11
- package/dist/runner/adapter-run-spec.js +183 -52
- package/dist/runner/adapters/pi.js +25 -3
- package/dist/runner/beside.d.ts +9 -2
- package/dist/runner/beside.js +27 -9
- package/dist/runner/big-writes.js +1 -10
- package/dist/runner/claim-secrets.d.ts +27 -10
- package/dist/runner/claim-secrets.js +49 -22
- package/dist/runner/cli-run-spec.d.ts +6 -0
- package/dist/runner/cli-run-spec.js +97 -38
- package/dist/runner/computer-journal.d.ts +9 -1
- package/dist/runner/computer-journal.js +26 -0
- package/dist/runner/conformance/harness.js +1 -1
- package/dist/runner/feedback-round.js +3 -0
- package/dist/runner/harness-loops.d.ts +6 -5
- package/dist/runner/harness-loops.js +7 -7
- package/dist/runner/held.d.ts +24 -6
- package/dist/runner/journal-kinds.d.ts +5 -0
- package/dist/runner/journal-kinds.js +5 -0
- package/dist/runner/main.d.ts +11 -6
- package/dist/runner/main.js +19 -9
- package/dist/runner/mcp-claim.js +31 -3
- package/dist/runner/mcp-run.d.ts +9 -0
- package/dist/runner/mcp-run.js +11 -5
- package/dist/runner/model-route.d.ts +17 -0
- package/dist/runner/model-route.js +120 -2
- package/dist/runner/presence.d.ts +11 -1
- package/dist/runner/presence.js +7 -0
- package/dist/runner/reflect-hook.js +1 -1
- package/dist/runner/run-child-host.d.ts +22 -8
- package/dist/runner/run-child-host.js +128 -41
- package/dist/runner/run-child.js +5 -2
- package/dist/runner/runner.d.ts +17 -3
- package/dist/runner/runner.js +130 -34
- package/dist/runner/save-slots.js +2 -1
- package/dist/runner/store-port.d.ts +1 -1
- package/dist/runner/store-secrets.d.ts +6 -0
- package/dist/runner/store-secrets.js +49 -7
- package/dist/runner/subagent.d.ts +11 -0
- package/dist/runner/subagent.js +16 -38
- package/dist/runner/workflow-first.d.ts +35 -15
- package/dist/runner/workflow-first.js +38 -25
- package/dist/runner/workflow-spec.js +4 -3
- package/dist/runs-over-store.d.ts +15 -6
- package/dist/runs-over-store.js +33 -21
- package/dist/scrub-command.d.ts +73 -0
- package/dist/scrub-command.js +307 -0
- package/dist/secret-cut.d.ts +73 -0
- package/dist/secret-cut.js +291 -4
- package/dist/secret-rules.d.ts +143 -0
- package/dist/secret-rules.js +2564 -0
- package/dist/secrets.d.ts +7 -0
- package/dist/secrets.js +20 -0
- package/dist/server-keys.d.ts +20 -0
- package/dist/server-keys.js +25 -6
- package/dist/server.d.ts +65 -13
- package/dist/server.js +470 -157
- package/dist/skills/agentrun-serve/SKILL.md +4 -0
- package/dist/slots.d.ts +9 -0
- package/dist/slots.js +45 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/journal/storage.js +1 -1
- package/dist/store/postgres/migrations/0027_run_launch_census.sql +31 -0
- package/dist/store/postgres/migrations/0028_learning_ledger.sql +44 -0
- package/dist/store/schema.d.ts +23 -0
- package/dist/store/schema.js +58 -2
- package/dist/store/seal.d.ts +6 -1
- package/dist/store/seal.js +5 -3
- package/dist/store/sqlite/run-launch.d.ts +9 -1
- package/dist/store/sqlite/run-launch.js +24 -13
- package/dist/store/sqlite/run-patch.d.ts +12 -2
- package/dist/store/sqlite/run-patch.js +42 -5
- package/dist/store/sqlite/store.js +105 -12
- package/dist/store/store.d.ts +57 -2
- package/dist/store/store.js +20 -0
- package/dist/store-reads/learning.d.ts +84 -124
- package/dist/store-reads/learning.js +210 -274
- package/dist/store-view.d.ts +3 -0
- package/dist/store-view.js +3 -3
- package/dist/suggestions.js +3 -2
- package/dist/template-eval.d.ts +39 -9
- package/dist/template-eval.js +191 -60
- package/dist/template-import.js +6 -2
- package/dist/templates.d.ts +10 -2
- package/dist/templates.js +28 -8
- package/dist/timeline/labels.d.ts +6 -4
- package/dist/timeline/labels.js +18 -6
- package/dist/timeline/timeline.d.ts +5 -0
- package/dist/timeline/timeline.js +14 -8
- package/dist/timeline/util.js +1 -1
- package/dist/timeline/web-calls.d.ts +22 -7
- package/dist/timeline/web-calls.js +106 -35
- package/dist/tool-gate.d.ts +42 -3
- package/dist/tool-gate.js +66 -5
- package/dist/tool-keys-store.d.ts +2 -4
- package/dist/tool-keys-store.js +5 -21
- package/dist/tool-keys.d.ts +2 -2
- package/dist/tool-keys.js +2 -2
- package/dist/tool-list.js +1 -1
- package/dist/tool-plane.d.ts +2 -2
- package/dist/tool-plane.js +35 -33
- package/dist/tools.js +13 -7
- package/dist/trigger-targets.d.ts +4 -0
- package/dist/trigger-targets.js +9 -2
- package/dist/triggers.d.ts +67 -4
- package/dist/triggers.js +171 -22
- package/dist/until.d.ts +3 -0
- package/dist/until.js +11 -0
- package/dist/web-fake.d.ts +1 -3
- package/dist/web-fake.js +7 -18
- package/dist/web-fetch.d.ts +6 -72
- package/dist/web-fetch.js +11 -265
- package/dist/web-run.d.ts +31 -0
- package/dist/web-run.js +90 -0
- package/dist/web-save.d.ts +10 -13
- package/dist/web-save.js +13 -55
- package/dist/web-search.d.ts +9 -127
- package/dist/web-search.js +23 -259
- package/dist/wires.d.ts +13 -0
- package/dist/wires.js +11 -0
- package/dist/workflow-run.d.ts +5 -4
- package/dist/workflow-run.js +5 -4
- package/dist/workspace/attached-computers.d.ts +32 -9
- package/dist/workspace/attached-computers.js +77 -13
- package/dist/workspace/computer-deps.d.ts +8 -2
- package/dist/workspace/computer-deps.js +10 -3
- package/dist/workspace/computer-for-claim.d.ts +12 -1
- package/dist/workspace/computer-for-claim.js +83 -11
- package/dist/workspace/computer-kept.d.ts +3 -0
- package/dist/workspace/computer-kept.js +11 -2
- package/dist/workspace/index.d.ts +1 -1
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/kind-skills.d.ts +4 -0
- package/dist/workspace/kind-skills.js +9 -0
- package/dist/workspace/paired-route.d.ts +91 -0
- package/dist/workspace/paired-route.js +153 -0
- package/dist/workspace/synced-folder.js +3 -4
- package/dist/wrapped.d.ts +20 -6
- package/dist/wrapped.js +66 -25
- package/package.json +17 -11
- package/skills/agentrun-serve/SKILL.md +4 -0
- package/templates/README.md +32 -10
- package/dist/console/assets/index-CQ3cJRzI.js +0 -746
- package/dist/console/assets/index-DKkaS3a0.css +0 -1
- package/dist/exa-keyless.d.ts +0 -34
- package/dist/exa-keyless.js +0 -118
- package/dist/firecrawl-keyless.d.ts +0 -41
- package/dist/firecrawl-keyless.js +0 -152
- package/dist/keyless-mcp.d.ts +0 -36
- package/dist/keyless-mcp.js +0 -127
- package/dist/text-urls.d.ts +0 -38
- package/dist/text-urls.js +0 -170
- package/dist/web-fetch-direct.d.ts +0 -119
- package/dist/web-fetch-direct.js +0 -190
package/dist/fal-price.d.ts
CHANGED
|
@@ -5,14 +5,24 @@ import { type SaveSlots } from "./web-save.js";
|
|
|
5
5
|
export declare const FAL_MCP_HOST = "mcp.fal.ai";
|
|
6
6
|
/** A pin's `meter` for a fal server. */
|
|
7
7
|
export declare const FAL_METER = "fal";
|
|
8
|
+
export type FalMeterName = typeof FAL_METER;
|
|
8
9
|
/** How long a unit price read from get_pricing is used. */
|
|
9
10
|
export declare const PRICE_TTL_MS: number;
|
|
10
11
|
/** One deadline for reading an input media file's length. */
|
|
11
12
|
export declare const MEDIA_TIMEOUT_MS = 120000;
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
/** The most of a talking head's voice read to price it: a minute of 48 kHz stereo 32-bit WAV (23 MB) fits, and fal's
|
|
14
|
+
* talking heads take a minute of voice at most (OmniHuman v1.5's OpenAPI). A larger voice is unpriceable. */
|
|
15
|
+
export declare const VOICE_MAX_BYTES: number;
|
|
16
|
+
/** How a talking head's voice is read: https only, under VOICE_MAX_BYTES, and following no redirect, so a fal.media URL
|
|
17
|
+
* can't send the read to a host whose bytes may change (voiceOf). fal.media serves its files with no redirect. */
|
|
18
|
+
export declare const VOICE_READ: {
|
|
19
|
+
readonly maxBytes: number;
|
|
20
|
+
readonly httpsOnly: true;
|
|
21
|
+
readonly maxRedirects: 0;
|
|
22
|
+
};
|
|
23
|
+
/** The one test of a server being fal's: `fal` when `named` (its owner's toolkit for it, or the meter a pin carries) is
|
|
24
|
+
* `fal` or its URL is on fal's MCP host; the `meter` a save pins (mcp-gateway.ts mcpPinOf). */
|
|
25
|
+
export declare const meterNamed: (url: string, named?: string | null) => FalMeterName | undefined;
|
|
16
26
|
/** One job a call submits: its endpoint and input as the call gives them, and its index in a submit_jobs call. */
|
|
17
27
|
export type FalJob = {
|
|
18
28
|
endpoint: string | undefined;
|
|
@@ -22,13 +32,36 @@ export type FalJob = {
|
|
|
22
32
|
/** The jobs a call of fal's `tool` submits: one for run_model and submit_job, one per request for submit_jobs. Undefined
|
|
23
33
|
* for a tool that submits none (get_pricing, wait_for_jobs, ...), which fal does not bill. */
|
|
24
34
|
export declare function falJobsOf(tool: string, args: unknown): FalJob[] | undefined;
|
|
35
|
+
/** Whether fal bills a call of `tool`: one that submits jobs. */
|
|
36
|
+
export declare const falBills: (tool: string) => boolean;
|
|
25
37
|
/** A job's billed units before it runs: `units` and where the number came from (`from`); `media`, the audio and video
|
|
26
|
-
* URLs whose length it is billed by (the longest);
|
|
38
|
+
* URLs whose length it is billed by (the longest); `voice`, a talking head's voice URL, whose length in whole seconds
|
|
39
|
+
* it is billed by (TALKING_HEADS); or `unknown`, why they can't be known, in words. */
|
|
27
40
|
export type Units = {
|
|
28
41
|
units: number;
|
|
29
42
|
from: string;
|
|
30
43
|
} | {
|
|
31
44
|
media: string[];
|
|
45
|
+
} | {
|
|
46
|
+
voice: string;
|
|
47
|
+
} | {
|
|
48
|
+
unknown: string;
|
|
49
|
+
};
|
|
50
|
+
/** What is decided here, for the test that pins it against fal's catalog: the families billed by their settings, the
|
|
51
|
+
* endpoints priced by their settings (RATE_TIERS), and those with one rate (ONE_RATE). */
|
|
52
|
+
export declare function decidedRates(): {
|
|
53
|
+
families: string[];
|
|
54
|
+
tiered: string[];
|
|
55
|
+
oneRate: string[];
|
|
56
|
+
};
|
|
57
|
+
/** The rate a job of `endpoint` is billed at, against get_pricing's (in `unit`): `ratio`, its tier's rate over the rate
|
|
58
|
+
* get_pricing states (RATE_TIERS), `perUnitUsd` a charge added to each unit's price, and `words` the settings they came from (none at
|
|
59
|
+
* get_pricing's own rate); or `unknown`, why it can't be known (get_pricing stating it in another unit than its tiers' among them). 1 and nothing for an endpoint with one rate; unknown for
|
|
60
|
+
* an endpoint in a family fal bills by its settings whose rate is not decided here (TIERED_FAMILIES). */
|
|
61
|
+
export declare function rateOf(endpoint: string, unit: string, input: unknown): {
|
|
62
|
+
ratio: number;
|
|
63
|
+
perUnitUsd: number;
|
|
64
|
+
words: string[];
|
|
32
65
|
} | {
|
|
33
66
|
unknown: string;
|
|
34
67
|
};
|
|
@@ -42,35 +75,38 @@ export declare function priceIn(answer: unknown, endpoint: string): {
|
|
|
42
75
|
unitPrice: number;
|
|
43
76
|
unit: string;
|
|
44
77
|
} | undefined;
|
|
78
|
+
/** How a MediaReader reads: under `maxBytes` (lower than its own cap; never higher), with `httpsOnly` refusing http
|
|
79
|
+
* on the first hop and at every redirect, and following at most `maxRedirects` (0 to 5; default 5). */
|
|
80
|
+
export type MediaRead = {
|
|
81
|
+
maxBytes?: number;
|
|
82
|
+
httpsOnly?: boolean;
|
|
83
|
+
maxRedirects?: number;
|
|
84
|
+
};
|
|
45
85
|
/** The bytes of a job's input media at `url`, read before the job is sent; it throws when they can't be read. */
|
|
46
|
-
export type MediaReader = (url: string, signal: AbortSignal) => Promise<Uint8Array>;
|
|
86
|
+
export type MediaReader = (url: string, signal: AbortSignal, read?: MediaRead) => Promise<Uint8Array>;
|
|
47
87
|
/** A MediaReader over the public-host guard web_fetch and web_save download through (`guard`: their fetch options),
|
|
48
88
|
* within web_save's size cap and download slots. */
|
|
49
|
-
export declare const publicMedia: (guard: () => Promise<Omit<PublicFetchOptions, "maxBytes" | "signal">>, slots?: SaveSlots) => MediaReader;
|
|
50
|
-
/** fal's longest submission_key: its tools declare `^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$`. */
|
|
51
|
-
export declare const KEY_MAX = 128;
|
|
89
|
+
export declare const publicMedia: (guard: () => Promise<Omit<PublicFetchOptions, "maxBytes" | "signal" | "httpsOnly" | "maxRedirects">>, slots?: SaveSlots) => MediaReader;
|
|
52
90
|
/** The submission keys of one run on fal's hosted server (McpMeter.keys). fal's journal is per account, so the same key
|
|
53
91
|
* from two runs (a model makes the same key for the same task) would bind the second run's request to the first's and be
|
|
54
92
|
* refused. Each key leaves as the agent's key and `.<16 hex of the run>`: the same run's key leaves the same each time,
|
|
55
|
-
* so a retry is deduped, and another run's never matches it. A key
|
|
56
|
-
*
|
|
57
|
-
* shortened start is itself a valid key, and the different mark keeps an agent key that spells it from leaving as the
|
|
58
|
-
* same key. `back` reads each scoped key in a reply as the agent's: by the keys this gateway sent, else by taking the
|
|
93
|
+
* on every claim of it, so a retry is deduped, and another run's never matches it. A key with no room for that suffix
|
|
94
|
+
* (over KEY_ROOM) is refused unsent, in words. `back` reads each scoped key in a reply as the agent's by taking the
|
|
59
95
|
* suffix off. */
|
|
60
96
|
export declare function falKeys(run: string): McpKeys;
|
|
61
97
|
/** A fal server's meter: fal's unit prices read through the gateway's `ask`, kept per endpoint for PRICE_TTL_MS.
|
|
62
|
-
* `media` reads an input media file (none: such a job is unpriceable); `now`, the clock
|
|
63
|
-
|
|
64
|
-
export declare function falMeter({ media, now, run }?: {
|
|
98
|
+
* `media` reads an input media file (none: such a job is unpriceable); `now`, the clock. */
|
|
99
|
+
export declare function falMeter({ media, now }?: {
|
|
65
100
|
media?: MediaReader;
|
|
66
101
|
now?: () => number;
|
|
67
|
-
run?: string;
|
|
68
102
|
}): McpMeter;
|
|
69
103
|
/** The meter of a pinned server (mcp-gateway.ts McpPin entry): fal's for one marked `fal` at its save, or, for a pin made
|
|
70
104
|
* before servers were marked, one whose URL is on fal's MCP host. Only a server at fal's host scopes its submission keys
|
|
71
|
-
* to `
|
|
72
|
-
* fake, whose answers and log graders read by the agent's own key) receives them as the agent sent them. */
|
|
105
|
+
* to `run` (falKeys): the journal they collide in is that server's, and a server marked `fal` elsewhere (a template
|
|
106
|
+
* eval's fake, whose answers and log graders read by the agent's own key) receives them as the agent sent them. */
|
|
73
107
|
export declare const meterFor: (pinned: {
|
|
74
108
|
url: string;
|
|
75
109
|
meter?: string;
|
|
76
|
-
}, deps?: Parameters<typeof falMeter>[0]
|
|
110
|
+
}, { run, ...deps }?: Parameters<typeof falMeter>[0] & {
|
|
111
|
+
run?: string;
|
|
112
|
+
}) => McpMeter | undefined;
|