@agentproto/runtime 5.3.0 → 5.4.1
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/{config-DcESQDmZ.d.ts → config-Gz7q9yfJ.d.ts} +14 -1
- package/dist/config-schema.d.ts +1 -1
- package/dist/config-schema.mjs +28 -0
- package/dist/config-schema.mjs.map +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.mjs +28 -0
- package/dist/config.mjs.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +61 -3
- package/dist/index.mjs.map +1 -1
- package/dist/session-presence.mjs +28 -0
- package/dist/session-presence.mjs.map +1 -1
- package/dist/{sessions-DKm6Wqro.d.ts → sessions-DMzCgTVy.d.ts} +1 -1
- package/dist/user-presets.d.ts +2 -2
- package/package.json +29 -29
|
@@ -215,6 +215,17 @@ interface TitlerConfig {
|
|
|
215
215
|
* local (first-prompt-line) title. */
|
|
216
216
|
model?: string;
|
|
217
217
|
}
|
|
218
|
+
interface JevConfig {
|
|
219
|
+
/** Jev (TypeSafe System One) API key. Read by `resolveJevApiKey` BEFORE
|
|
220
|
+
* the `JEV_API_KEY` environment variable: the config file is the
|
|
221
|
+
* primary home for this first-party secret and the env var is the
|
|
222
|
+
* fallback. Secret: redacted by `config_get`. */
|
|
223
|
+
apiKey?: string;
|
|
224
|
+
/** Jev model id. Default `jev-latest`. */
|
|
225
|
+
model?: string;
|
|
226
|
+
/** Jev endpoint override. Default `https://api.typesafe.ai/v1/systemone`. */
|
|
227
|
+
baseUrl?: string;
|
|
228
|
+
}
|
|
218
229
|
interface CatalogSourceConfig {
|
|
219
230
|
/** HTTP(S) URL returning `{ entries: AppCatalogEntry[] }`. */
|
|
220
231
|
url: string;
|
|
@@ -682,6 +693,8 @@ interface AgentprotoConfig {
|
|
|
682
693
|
* user prompt, 6 whole words) on any failure. A user-created label is
|
|
683
694
|
* NEVER overwritten, and a session is titled at most once. */
|
|
684
695
|
titler?: TitlerConfig;
|
|
696
|
+
/** Jev judge backend settings (`jev-client.ts`). See {@link JevConfig}. */
|
|
697
|
+
jev?: JevConfig;
|
|
685
698
|
/** App catalog settings (`app-catalog.ts`). See {@link CatalogConfig}. */
|
|
686
699
|
catalog?: CatalogConfig;
|
|
687
700
|
/** Named connection profiles. See `ProfileConfig` for the merge
|
|
@@ -745,4 +758,4 @@ declare function getConfigKey(cfg: AgentprotoConfig, dotted: string): unknown;
|
|
|
745
758
|
*/
|
|
746
759
|
declare function setConfigKey(cfg: AgentprotoConfig, dotted: string, value: unknown): AgentprotoConfig;
|
|
747
760
|
|
|
748
|
-
export { type ApprovalsConfig as A, loadConfig as B, type CatalogConfig as C, type DaemonConfig as D, saveConfig as E, type FeaturesConfig as F, setConfigKey as G, splitConfigPath as H, MODEL_ROLE_REF_PREFIX as M, type PairingConfig as P, type ResolvedModelRole as R, type SpawnConfig as S, type TunnelConfig as T, type WorktreesConfig as W, type SessionsConfig as a, type ProvenanceConfig as b, type AgentsMdConfig as c, type TitlerConfig as d, type ProfileConfig as e, type AcpAgentConfigEntry as f, type TerminalPreset as g, type WorktreeIsolationMode as h, type SpawnAttachMode as i, type SpawnDedupeMode as j, DEFAULT_MODEL_ROLES as k, type ModelRoleContext as l, type ModelRoleEntry as m, type ModelRoleSource as n, type ModelRoleValue as o, type ModelRolesConfig as p, listModelRoles as q, parseModelRoleRef as r, resolveModelRole as s, type AgentprotoConfig as t, CONFIG_FILE_PATH as u, CONFIG_VERSION as v, type CatalogSourceConfig as w, type ReviewConfig as x, type SentinelConfig as y, getConfigKey as z };
|
|
761
|
+
export { type ApprovalsConfig as A, loadConfig as B, type CatalogConfig as C, type DaemonConfig as D, saveConfig as E, type FeaturesConfig as F, setConfigKey as G, splitConfigPath as H, type JevConfig as J, MODEL_ROLE_REF_PREFIX as M, type PairingConfig as P, type ResolvedModelRole as R, type SpawnConfig as S, type TunnelConfig as T, type WorktreesConfig as W, type SessionsConfig as a, type ProvenanceConfig as b, type AgentsMdConfig as c, type TitlerConfig as d, type ProfileConfig as e, type AcpAgentConfigEntry as f, type TerminalPreset as g, type WorktreeIsolationMode as h, type SpawnAttachMode as i, type SpawnDedupeMode as j, DEFAULT_MODEL_ROLES as k, type ModelRoleContext as l, type ModelRoleEntry as m, type ModelRoleSource as n, type ModelRoleValue as o, type ModelRolesConfig as p, listModelRoles as q, parseModelRoleRef as r, resolveModelRole as s, type AgentprotoConfig as t, CONFIG_FILE_PATH as u, CONFIG_VERSION as v, type CatalogSourceConfig as w, type ReviewConfig as x, type SentinelConfig as y, getConfigKey as z };
|
package/dist/config-schema.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as DaemonConfig, T as TunnelConfig, F as FeaturesConfig, P as PairingConfig, W as WorktreesConfig, S as SpawnConfig, a as SessionsConfig, b as ProvenanceConfig, A as ApprovalsConfig, c as AgentsMdConfig, d as TitlerConfig, C as CatalogConfig, e as ProfileConfig, f as AcpAgentConfigEntry, g as TerminalPreset } from './config-
|
|
2
|
+
import { D as DaemonConfig, T as TunnelConfig, F as FeaturesConfig, P as PairingConfig, W as WorktreesConfig, S as SpawnConfig, a as SessionsConfig, b as ProvenanceConfig, A as ApprovalsConfig, c as AgentsMdConfig, d as TitlerConfig, C as CatalogConfig, e as ProfileConfig, f as AcpAgentConfigEntry, g as TerminalPreset } from './config-Gz7q9yfJ.js';
|
|
3
3
|
import { S as SpawnDefaultsConfig } from './spawn-defaults-Cp9SGZex.js';
|
|
4
4
|
import '@agentproto/acp';
|
|
5
5
|
import '@agentproto/command-sandbox';
|
package/dist/config-schema.mjs
CHANGED
|
@@ -3830,6 +3830,34 @@ var init_config_schema = __esm({
|
|
|
3830
3830
|
label: "Terminal preset argv",
|
|
3831
3831
|
help: "Command + args to spawn. Not writable through config_set; set via `agentproto config set` or a hand edit."
|
|
3832
3832
|
},
|
|
3833
|
+
{
|
|
3834
|
+
path: "jev.apiKey",
|
|
3835
|
+
schema: str,
|
|
3836
|
+
apply: "hot",
|
|
3837
|
+
secret: true,
|
|
3838
|
+
writable: false,
|
|
3839
|
+
section: "advanced",
|
|
3840
|
+
label: "Jev API key",
|
|
3841
|
+
help: "Jev (TypeSafe System One) judge API key. Read by the session steward's Jev backend before falling back to the JEV_API_KEY env var. Not writable through config_set; edit ~/.agentproto/config.json by hand."
|
|
3842
|
+
},
|
|
3843
|
+
{
|
|
3844
|
+
path: "jev.model",
|
|
3845
|
+
schema: str,
|
|
3846
|
+
apply: "hot",
|
|
3847
|
+
writable: true,
|
|
3848
|
+
section: "advanced",
|
|
3849
|
+
label: "Jev model",
|
|
3850
|
+
help: `Jev model id for the session steward's judge backend. Default "jev-latest".`
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
path: "jev.baseUrl",
|
|
3854
|
+
schema: str,
|
|
3855
|
+
apply: "hot",
|
|
3856
|
+
writable: true,
|
|
3857
|
+
section: "advanced",
|
|
3858
|
+
label: "Jev base URL",
|
|
3859
|
+
help: "Jev endpoint override. Default https://api.typesafe.ai/v1/systemone."
|
|
3860
|
+
},
|
|
3833
3861
|
{
|
|
3834
3862
|
path: "terminalPresets.*.env",
|
|
3835
3863
|
schema: z.record(str, str),
|