@tangle-network/cli-agent-registry 0.15.89 → 0.15.91
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/{backend-types-Bgd_soI7.d.mts → backend-types-B6HdTo23.d.mts} +9 -2
- package/dist/{backend-types-BdQVm6v3.mjs → backend-types-DOAfrnMJ.mjs} +16 -2
- package/dist/backend-types.d.mts +2 -2
- package/dist/backend-types.mjs +2 -2
- package/dist/{cli-auth-bundle-DjZNb91v.mjs → cli-auth-bundle-DuY2E2FD.mjs} +2 -2
- package/dist/cli-auth-bundle.mjs +1 -1
- package/dist/cli-auth-placeholder.mjs +1 -1
- package/dist/cli-backend-auth-env.mjs +2 -2
- package/dist/default-backend.d.mts +1 -1
- package/dist/default-backend.mjs +2 -2
- package/dist/host-contracts.d.mts +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +4 -4
- package/dist/local-cli-auth.mjs +1 -1
- package/dist/servable-models.mjs +1 -1
- package/dist/{spec-BIzGrYW_.d.mts → spec-BKA-GbvF.d.mts} +1 -12
- package/dist/{specs-JMJCWNug.d.mts → specs-CTDtco8x.d.mts} +2 -2
- package/dist/{specs-B4jLPXm5.mjs → specs-Coj1_pra.mjs} +4 -10
- package/dist/specs.d.mts +4 -4
- package/dist/specs.mjs +3 -3
- package/package.json +3 -3
|
@@ -44,8 +44,15 @@ declare const backendTypeSchema: z.ZodEnum<{
|
|
|
44
44
|
acp: "acp";
|
|
45
45
|
"cli-base": "cli-base";
|
|
46
46
|
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Backends whose native TUI starts PRE-SEEDED with an opening prompt (a launch
|
|
49
|
+
* arg it submits once ready), so an interactive run can carry its task. The
|
|
50
|
+
* CLI, the platform and the sidecar read this one set; the argv shape stays
|
|
51
|
+
* with the sidecar launcher (`INTERACTIVE_INITIAL_PROMPT_ARGS`).
|
|
52
|
+
*/
|
|
53
|
+
declare const INTERACTIVE_SEEDED_PROMPT_BACKENDS: ReadonlySet<string>;
|
|
47
54
|
declare function isBackendType(value: string): value is BackendType;
|
|
48
55
|
declare function parseBackendType(value: string): BackendType;
|
|
49
56
|
//#endregion
|
|
50
|
-
export {
|
|
51
|
-
//# sourceMappingURL=backend-types-
|
|
57
|
+
export { backendTypeSchema as a, INTERACTIVE_SEEDED_PROMPT_BACKENDS as i, BACKEND_TYPE as n, isBackendType as o, BackendType as r, parseBackendType as s, ALL_BACKEND_TYPES as t };
|
|
58
|
+
//# sourceMappingURL=backend-types-B6HdTo23.d.mts.map
|
|
@@ -23,6 +23,20 @@ const BACKEND_TYPE = {
|
|
|
23
23
|
/** Stable declaration order; registry tests check the shipped spec composition. */
|
|
24
24
|
const ALL_BACKEND_TYPES = Object.values(BACKEND_TYPE);
|
|
25
25
|
const backendTypeSchema = z.enum(ALL_BACKEND_TYPES);
|
|
26
|
+
/**
|
|
27
|
+
* Backends whose native TUI starts PRE-SEEDED with an opening prompt (a launch
|
|
28
|
+
* arg it submits once ready), so an interactive run can carry its task. The
|
|
29
|
+
* CLI, the platform and the sidecar read this one set; the argv shape stays
|
|
30
|
+
* with the sidecar launcher (`INTERACTIVE_INITIAL_PROMPT_ARGS`).
|
|
31
|
+
*/
|
|
32
|
+
const INTERACTIVE_SEEDED_PROMPT_BACKENDS = new Set([
|
|
33
|
+
BACKEND_TYPE.OPENCODE,
|
|
34
|
+
BACKEND_TYPE.CLAUDE_CODE,
|
|
35
|
+
BACKEND_TYPE.KIMI_CODE,
|
|
36
|
+
BACKEND_TYPE.CODEX,
|
|
37
|
+
BACKEND_TYPE.PI,
|
|
38
|
+
BACKEND_TYPE.HERMES
|
|
39
|
+
]);
|
|
26
40
|
z.string().regex(/^[A-Za-z0-9_.:@-]{1,256}$/);
|
|
27
41
|
const BACKEND_TYPE_SET = new Set(ALL_BACKEND_TYPES);
|
|
28
42
|
function isBackendType(value) {
|
|
@@ -33,6 +47,6 @@ function parseBackendType(value) {
|
|
|
33
47
|
return value;
|
|
34
48
|
}
|
|
35
49
|
//#endregion
|
|
36
|
-
export {
|
|
50
|
+
export { isBackendType as a, backendTypeSchema as i, BACKEND_TYPE as n, parseBackendType as o, INTERACTIVE_SEEDED_PROMPT_BACKENDS as r, ALL_BACKEND_TYPES as t };
|
|
37
51
|
|
|
38
|
-
//# sourceMappingURL=backend-types-
|
|
52
|
+
//# sourceMappingURL=backend-types-DOAfrnMJ.mjs.map
|
package/dist/backend-types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { ALL_BACKEND_TYPES, BACKEND_TYPE, BackendType, backendTypeSchema, isBackendType, parseBackendType };
|
|
1
|
+
import { a as backendTypeSchema, i as INTERACTIVE_SEEDED_PROMPT_BACKENDS, n as BACKEND_TYPE, o as isBackendType, r as BackendType, s as parseBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-B6HdTo23.mjs";
|
|
2
|
+
export { ALL_BACKEND_TYPES, BACKEND_TYPE, BackendType, INTERACTIVE_SEEDED_PROMPT_BACKENDS, backendTypeSchema, isBackendType, parseBackendType };
|
package/dist/backend-types.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { ALL_BACKEND_TYPES, BACKEND_TYPE, backendTypeSchema, isBackendType, parseBackendType };
|
|
1
|
+
import { a as isBackendType, i as backendTypeSchema, n as BACKEND_TYPE, o as parseBackendType, r as INTERACTIVE_SEEDED_PROMPT_BACKENDS, t as ALL_BACKEND_TYPES } from "./backend-types-DOAfrnMJ.mjs";
|
|
2
|
+
export { ALL_BACKEND_TYPES, BACKEND_TYPE, INTERACTIVE_SEEDED_PROMPT_BACKENDS, backendTypeSchema, isBackendType, parseBackendType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as getSpec } from "./specs-
|
|
1
|
+
import { l as getSpec } from "./specs-Coj1_pra.mjs";
|
|
2
2
|
import { ProxySecretReceiptSchema } from "@tangle-network/agent-interface";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../runtime-contracts/dist/public-profile-request.js
|
|
@@ -91,4 +91,4 @@ function resolveCliAuthReference(backendType, model, environment) {
|
|
|
91
91
|
//#endregion
|
|
92
92
|
export { cliAuthFilesSchema as a, materializeCliAuthBundle as c, resolveCliAuthReference as d, cliAuthReferenceSchema as f, canonicalNativeCredentialReplySchema as i, nativeCredentialSelectionSchema as l, CLI_AUTH_REFERENCE_ENV_VAR as n, cliAuthObjectSchema as o, assertCliAuthReferenceSupported as r, legacyNativeCredentialReplySchema as s, AUTH_BUNDLE_PATHS as t, parseCliAuthJson as u };
|
|
93
93
|
|
|
94
|
-
//# sourceMappingURL=cli-auth-bundle-
|
|
94
|
+
//# sourceMappingURL=cli-auth-bundle-DuY2E2FD.mjs.map
|
package/dist/cli-auth-bundle.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as cliAuthFilesSchema, c as materializeCliAuthBundle, d as resolveCliAuthReference, f as cliAuthReferenceSchema, i as canonicalNativeCredentialReplySchema, l as nativeCredentialSelectionSchema, n as CLI_AUTH_REFERENCE_ENV_VAR, o as cliAuthObjectSchema, r as assertCliAuthReferenceSupported, s as legacyNativeCredentialReplySchema, t as AUTH_BUNDLE_PATHS, u as parseCliAuthJson } from "./cli-auth-bundle-
|
|
1
|
+
import { a as cliAuthFilesSchema, c as materializeCliAuthBundle, d as resolveCliAuthReference, f as cliAuthReferenceSchema, i as canonicalNativeCredentialReplySchema, l as nativeCredentialSelectionSchema, n as CLI_AUTH_REFERENCE_ENV_VAR, o as cliAuthObjectSchema, r as assertCliAuthReferenceSupported, s as legacyNativeCredentialReplySchema, t as AUTH_BUNDLE_PATHS, u as parseCliAuthJson } from "./cli-auth-bundle-DuY2E2FD.mjs";
|
|
2
2
|
export { AUTH_BUNDLE_PATHS, CLI_AUTH_REFERENCE_ENV_VAR, assertCliAuthReferenceSupported, canonicalNativeCredentialReplySchema, cliAuthFilesSchema, cliAuthObjectSchema, cliAuthReferenceSchema, legacyNativeCredentialReplySchema, materializeCliAuthBundle, nativeCredentialSelectionSchema, parseCliAuthJson, resolveCliAuthReference };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as cliAuthFilesSchema, c as materializeCliAuthBundle, d as resolveCliAuthReference, f as cliAuthReferenceSchema, o as cliAuthObjectSchema, r as assertCliAuthReferenceSupported, t as AUTH_BUNDLE_PATHS, u as parseCliAuthJson } from "./cli-auth-bundle-
|
|
1
|
+
import { a as cliAuthFilesSchema, c as materializeCliAuthBundle, d as resolveCliAuthReference, f as cliAuthReferenceSchema, o as cliAuthObjectSchema, r as assertCliAuthReferenceSupported, t as AUTH_BUNDLE_PATHS, u as parseCliAuthJson } from "./cli-auth-bundle-DuY2E2FD.mjs";
|
|
2
2
|
import { r as proxySecretMaterializationsSchema } from "./harness-BvQM79Va.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { decodeJwt } from "jose";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as getSpec } from "./specs-
|
|
2
|
-
import { a as cliAuthFilesSchema, d as resolveCliAuthReference, f as cliAuthReferenceSchema, n as CLI_AUTH_REFERENCE_ENV_VAR, u as parseCliAuthJson } from "./cli-auth-bundle-
|
|
1
|
+
import { l as getSpec } from "./specs-Coj1_pra.mjs";
|
|
2
|
+
import { a as cliAuthFilesSchema, d as resolveCliAuthReference, f as cliAuthReferenceSchema, n as CLI_AUTH_REFERENCE_ENV_VAR, u as parseCliAuthJson } from "./cli-auth-bundle-DuY2E2FD.mjs";
|
|
3
3
|
import { n as isSafeEnvVarName, t as isForbiddenEnvVarName } from "./harness-BvQM79Va.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/cli-backend-auth-env.ts
|
package/dist/default-backend.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./specs-
|
|
1
|
+
import { a as isBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-DOAfrnMJ.mjs";
|
|
2
|
+
import "./specs-Coj1_pra.mjs";
|
|
3
3
|
//#region src/default-backend.ts
|
|
4
4
|
/**
|
|
5
5
|
* Platform-wide default agent backend, read from `DEFAULT_AGENT_BACKEND`.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as backendTypeSchema, i as INTERACTIVE_SEEDED_PROMPT_BACKENDS, n as BACKEND_TYPE, o as isBackendType, r as BackendType, s as parseBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-B6HdTo23.mjs";
|
|
2
2
|
import { LocalCliAuthFile, materializeCliAuthBundle } from "./cli-auth-bundle.mjs";
|
|
3
|
-
import { C as mergeCliDirLayout, S as DEFAULT_CLI_DIR_LAYOUT, _ as harnessModelSupportFor, a as CliAgentEnvExtraRole, b as CliDirLayout, c as CliAgentRuntimeSpec, d as HarnessSpecCapabilities, f as ProviderLogger, g as cliAgentEnvRoleName, h as cliAgentClaimEnvVarNames, i as CliAgentEnvExtraParser, l as CliAgentSpec, m as canonicalModelSlug, n as CliAgentBuiltinTool, o as CliAgentEnvVars, p as ProviderPhase, r as CliAgentEnvExtra, s as CliAgentModelWire, t as AdapterFactory, u as CliAuthHome, v as harnessModelWire, x as CliDirLayoutAdditions, y as SYNTHETIC_ROUTER_MODEL } from "./spec-
|
|
3
|
+
import { C as mergeCliDirLayout, S as DEFAULT_CLI_DIR_LAYOUT, _ as harnessModelSupportFor, a as CliAgentEnvExtraRole, b as CliDirLayout, c as CliAgentRuntimeSpec, d as HarnessSpecCapabilities, f as ProviderLogger, g as cliAgentEnvRoleName, h as cliAgentClaimEnvVarNames, i as CliAgentEnvExtraParser, l as CliAgentSpec, m as canonicalModelSlug, n as CliAgentBuiltinTool, o as CliAgentEnvVars, p as ProviderPhase, r as CliAgentEnvExtra, s as CliAgentModelWire, t as AdapterFactory, u as CliAuthHome, v as harnessModelWire, x as CliDirLayoutAdditions, y as SYNTHETIC_ROUTER_MODEL } from "./spec-BKA-GbvF.mjs";
|
|
4
4
|
import { _ as substituteNativeSessionId, a as NativeSessionIdentity, c as SessionFormatId, d as assertStoreLocationHonoursSessionContract, f as compileSessionStoreGlob, g as sessionStoreForPath, h as sessionContractProblems, i as HarnessSessionEvidence, l as assertArgvHonoursSessionContract, m as normalizePosixPath, n as HarnessSessionContractError, o as NativeSessionStore, p as forbiddenArgViolations, r as HarnessSessionContractErrorCode, s as SESSION_FORMAT_IDS, t as HarnessSessionContract, u as assertFlagsHonourSessionContract } from "./session-contract-BC_A6XpD.mjs";
|
|
5
|
-
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-
|
|
5
|
+
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-CTDtco8x.mjs";
|
|
6
6
|
import { resolveDefaultBackend } from "./default-backend.mjs";
|
|
7
7
|
import { describeLocalCliAuthExpectation, discoverLocalCliAuthFiles } from "./local-cli-auth.mjs";
|
|
8
8
|
import { HARNESS_SESSION_UNSUPPORTED, NATIVE_SESSION_CONTRACTS, configDirHomeEnv } from "./native-session-contracts.mjs";
|
|
@@ -1547,5 +1547,5 @@ declare const HARNESSES: {
|
|
|
1547
1547
|
};
|
|
1548
1548
|
};
|
|
1549
1549
|
//#endregion
|
|
1550
|
-
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, type AdapterFactory, type AdapterRegistry, type AgentRunBackend, BACKEND_TYPE, type BackendType, CLI_AGENT_SPECS, type CliAgentBuiltinTool, type CliAgentEnvExtra, type CliAgentEnvExtraParser, type CliAgentEnvExtraRole, type CliAgentEnvVars, type CliAgentModelWire, type CliAgentRuntimeSpec, type CliAgentSpec, type CliAuthHome, CliDirLayout, CliDirLayoutAdditions, DEFAULT_CLI_DIR_LAYOUT, HARNESSES, HARNESS_SESSION_UNSUPPORTED, type HarnessBackendId, type HarnessContract, HarnessSessionContract, HarnessSessionContractError, HarnessSessionContractErrorCode, HarnessSessionEvidence, type HarnessSpecCapabilities, type LocalCliAuthFile, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, MANAGED_MODEL_LADDER, type ManagedModelChain, type ManagedModelChainOptions, type ManagedModelRung, NATIVE_SESSION_CONTRACTS, NativeSessionIdentity, NativeSessionStore, type ProviderLogger, type ProviderPhase, SESSION_FORMAT_IDS, SYNTHETIC_ROUTER_MODEL, SessionFormatId, type SkippedManagedModel, agentProfileSchema, agentRunBackendVariants, agentRunRequestSharedShape, agentRunWorkspaceSchema, assertAdaptersWired, assertArgvHonoursSessionContract, assertFlagsHonourSessionContract, assertStoreLocationHonoursSessionContract, backendTypeSchema, bareModelId, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvRoleName, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, compileSessionStoreGlob, configDirHomeEnv, createAdapterRegistry, describeLocalCliAuthExpectation, discoverLocalCliAuthFiles, forbiddenArgViolations, getAdapterFactory, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, isServableManagedModel, listRegisteredAdapters, managedModelChain, materializeCliAuthBundle, mergeCliDirLayout, messageStorageDirOf, normalizePosixPath, parseBackendType, registerAdapterFactory, resolveDefaultBackend, sessionContractProblems, sessionStoreForPath, substituteNativeSessionId, unregisterAdapterFactory };
|
|
1550
|
+
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, type AdapterFactory, type AdapterRegistry, type AgentRunBackend, BACKEND_TYPE, type BackendType, CLI_AGENT_SPECS, type CliAgentBuiltinTool, type CliAgentEnvExtra, type CliAgentEnvExtraParser, type CliAgentEnvExtraRole, type CliAgentEnvVars, type CliAgentModelWire, type CliAgentRuntimeSpec, type CliAgentSpec, type CliAuthHome, CliDirLayout, CliDirLayoutAdditions, DEFAULT_CLI_DIR_LAYOUT, HARNESSES, HARNESS_SESSION_UNSUPPORTED, type HarnessBackendId, type HarnessContract, HarnessSessionContract, HarnessSessionContractError, HarnessSessionContractErrorCode, HarnessSessionEvidence, type HarnessSpecCapabilities, INTERACTIVE_SEEDED_PROMPT_BACKENDS, type LocalCliAuthFile, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, MANAGED_MODEL_LADDER, type ManagedModelChain, type ManagedModelChainOptions, type ManagedModelRung, NATIVE_SESSION_CONTRACTS, NativeSessionIdentity, NativeSessionStore, type ProviderLogger, type ProviderPhase, SESSION_FORMAT_IDS, SYNTHETIC_ROUTER_MODEL, SessionFormatId, type SkippedManagedModel, agentProfileSchema, agentRunBackendVariants, agentRunRequestSharedShape, agentRunWorkspaceSchema, assertAdaptersWired, assertArgvHonoursSessionContract, assertFlagsHonourSessionContract, assertStoreLocationHonoursSessionContract, backendTypeSchema, bareModelId, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvRoleName, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, compileSessionStoreGlob, configDirHomeEnv, createAdapterRegistry, describeLocalCliAuthExpectation, discoverLocalCliAuthFiles, forbiddenArgViolations, getAdapterFactory, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, isServableManagedModel, listRegisteredAdapters, managedModelChain, materializeCliAuthBundle, mergeCliDirLayout, messageStorageDirOf, normalizePosixPath, parseBackendType, registerAdapterFactory, resolveDefaultBackend, sessionContractProblems, sessionStoreForPath, substituteNativeSessionId, unregisterAdapterFactory };
|
|
1551
1551
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as HARNESSES } from "./harness-contracts-CDmyfcQO.mjs";
|
|
2
2
|
import { HARNESS_SESSION_UNSUPPORTED, NATIVE_SESSION_CONTRACTS, configDirHomeEnv } from "./native-session-contracts.mjs";
|
|
3
3
|
import { HarnessSessionContractError, SESSION_FORMAT_IDS, assertArgvHonoursSessionContract, assertFlagsHonourSessionContract, assertStoreLocationHonoursSessionContract, compileSessionStoreGlob, forbiddenArgViolations, normalizePosixPath, sessionContractProblems, sessionStoreForPath, substituteNativeSessionId } from "./session-contract.mjs";
|
|
4
|
-
import { a as
|
|
5
|
-
import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, g as harnessModelSupportFor, h as cliAgentEnvRoleName, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf, v as SYNTHETIC_ROUTER_MODEL } from "./specs-
|
|
6
|
-
import { c as materializeCliAuthBundle } from "./cli-auth-bundle-
|
|
4
|
+
import { a as isBackendType, i as backendTypeSchema, n as BACKEND_TYPE, o as parseBackendType, r as INTERACTIVE_SEEDED_PROMPT_BACKENDS, t as ALL_BACKEND_TYPES } from "./backend-types-DOAfrnMJ.mjs";
|
|
5
|
+
import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, g as harnessModelSupportFor, h as cliAgentEnvRoleName, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf, v as SYNTHETIC_ROUTER_MODEL } from "./specs-Coj1_pra.mjs";
|
|
6
|
+
import { c as materializeCliAuthBundle } from "./cli-auth-bundle-DuY2E2FD.mjs";
|
|
7
7
|
import { resolveDefaultBackend } from "./default-backend.mjs";
|
|
8
8
|
import { describeLocalCliAuthExpectation, discoverLocalCliAuthFiles } from "./local-cli-auth.mjs";
|
|
9
9
|
import { MANAGED_MODEL_LADDER, bareModelId, isServableManagedModel, managedModelChain } from "./servable-models.mjs";
|
|
@@ -146,6 +146,6 @@ function mergeCliDirLayout(additions) {
|
|
|
146
146
|
return Object.fromEntries(Object.entries(DEFAULT_CLI_DIR_LAYOUT).map(([key, paths]) => [key, [...paths, ...additions?.[key] ?? []]]));
|
|
147
147
|
}
|
|
148
148
|
//#endregion
|
|
149
|
-
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, CLI_AGENT_SPECS, DEFAULT_CLI_DIR_LAYOUT, HARNESSES, HARNESS_SESSION_UNSUPPORTED, HarnessSessionContractError, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, MANAGED_MODEL_LADDER, NATIVE_SESSION_CONTRACTS, SESSION_FORMAT_IDS, SYNTHETIC_ROUTER_MODEL, agentProfileSchema, agentRunBackendVariants, agentRunRequestSharedShape, agentRunWorkspaceSchema, assertAdaptersWired, assertArgvHonoursSessionContract, assertFlagsHonourSessionContract, assertStoreLocationHonoursSessionContract, backendTypeSchema, bareModelId, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvRoleName, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, compileSessionStoreGlob, configDirHomeEnv, createAdapterRegistry, describeLocalCliAuthExpectation, discoverLocalCliAuthFiles, forbiddenArgViolations, getAdapterFactory, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, isServableManagedModel, listRegisteredAdapters, managedModelChain, materializeCliAuthBundle, mergeCliDirLayout, messageStorageDirOf, normalizePosixPath, parseBackendType, registerAdapterFactory, resolveDefaultBackend, sessionContractProblems, sessionStoreForPath, substituteNativeSessionId, unregisterAdapterFactory };
|
|
149
|
+
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, CLI_AGENT_SPECS, DEFAULT_CLI_DIR_LAYOUT, HARNESSES, HARNESS_SESSION_UNSUPPORTED, HarnessSessionContractError, INTERACTIVE_SEEDED_PROMPT_BACKENDS, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, MANAGED_MODEL_LADDER, NATIVE_SESSION_CONTRACTS, SESSION_FORMAT_IDS, SYNTHETIC_ROUTER_MODEL, agentProfileSchema, agentRunBackendVariants, agentRunRequestSharedShape, agentRunWorkspaceSchema, assertAdaptersWired, assertArgvHonoursSessionContract, assertFlagsHonourSessionContract, assertStoreLocationHonoursSessionContract, backendTypeSchema, bareModelId, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvRoleName, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, compileSessionStoreGlob, configDirHomeEnv, createAdapterRegistry, describeLocalCliAuthExpectation, discoverLocalCliAuthFiles, forbiddenArgViolations, getAdapterFactory, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, isServableManagedModel, listRegisteredAdapters, managedModelChain, materializeCliAuthBundle, mergeCliDirLayout, messageStorageDirOf, normalizePosixPath, parseBackendType, registerAdapterFactory, resolveDefaultBackend, sessionContractProblems, sessionStoreForPath, substituteNativeSessionId, unregisterAdapterFactory };
|
|
150
150
|
|
|
151
151
|
//# sourceMappingURL=index.mjs.map
|
package/dist/local-cli-auth.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-
|
|
1
|
+
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-DuY2E2FD.mjs";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { basename, dirname, join } from "node:path";
|
package/dist/servable-models.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as harnessModelSupportFor, l as getSpec } from "./specs-
|
|
1
|
+
import { g as harnessModelSupportFor, l as getSpec } from "./specs-Coj1_pra.mjs";
|
|
2
2
|
//#region src/servable-models.ts
|
|
3
3
|
/**
|
|
4
4
|
* The models a managed (Tangle-funded) run may default to, most preferred
|
|
@@ -283,17 +283,6 @@ interface CliAgentSpec {
|
|
|
283
283
|
* a vendor-served harness cannot work without its vendor's API.
|
|
284
284
|
*/
|
|
285
285
|
egressHosts?: readonly string[];
|
|
286
|
-
/**
|
|
287
|
-
* Whether this harness's native TUI can be launched PRE-SEEDED with an opening
|
|
288
|
-
* prompt (a launch arg the CLI submits once it is ready to read input).
|
|
289
|
-
*
|
|
290
|
-
* A caller that drives a TUI on the user's behalf — a workflow interactive run
|
|
291
|
-
* — always seeds one, so a harness without this can start a terminal but never
|
|
292
|
-
* receives the task. Declared here so the surface offering interactive runs and
|
|
293
|
-
* the sidecar that launches them cannot drift onto different sets; the actual
|
|
294
|
-
* argv shape stays with the launcher (`INTERACTIVE_INITIAL_PROMPT_ARGS`).
|
|
295
|
-
*/
|
|
296
|
-
interactiveSeededPrompt?: boolean;
|
|
297
286
|
capabilities: HarnessSpecCapabilities;
|
|
298
287
|
/**
|
|
299
288
|
* The harness session contract (session-contract.ts): where the native
|
|
@@ -345,4 +334,4 @@ type ProviderLogger = {
|
|
|
345
334
|
};
|
|
346
335
|
//#endregion
|
|
347
336
|
export { mergeCliDirLayout as C, DEFAULT_CLI_DIR_LAYOUT as S, harnessModelSupportFor as _, CliAgentEnvExtraRole as a, CliDirLayout as b, CliAgentRuntimeSpec as c, HarnessSpecCapabilities as d, ProviderLogger as f, cliAgentEnvRoleName as g, cliAgentClaimEnvVarNames as h, CliAgentEnvExtraParser as i, CliAgentSpec as l, canonicalModelSlug as m, CliAgentBuiltinTool as n, CliAgentEnvVars as o, ProviderPhase as p, CliAgentEnvExtra as r, CliAgentModelWire as s, AdapterFactory as t, CliAuthHome as u, harnessModelWire as v, CliDirLayoutAdditions as x, SYNTHETIC_ROUTER_MODEL as y };
|
|
348
|
-
//# sourceMappingURL=spec-
|
|
337
|
+
//# sourceMappingURL=spec-BKA-GbvF.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CliAuthReference } from "./public-profile-request-BwBfLgGv.mjs";
|
|
2
|
-
import { l as CliAgentSpec } from "./spec-
|
|
2
|
+
import { l as CliAgentSpec } from "./spec-BKA-GbvF.mjs";
|
|
3
3
|
import { ProxySecretBinding, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
4
4
|
|
|
5
5
|
//#region src/native-inference-policy.d.ts
|
|
@@ -81,4 +81,4 @@ declare function getSpec(name: string): CliAgentSpec | undefined;
|
|
|
81
81
|
declare function messageStorageDirOf(name: string): string;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { agentProfileSchema as a, cliAgentHostPassthroughEnvVarNames as c, NATIVE_INFERENCE_SCOPES as d, nativeCliAuthProxyBindings as f, MANAGED_MODEL_KEY_NAME_ENV_VAR as i, getSpec as l, CLI_AGENT_SPECS as n, claimDeliverableEnvVarNames as o, MANAGED_MODEL_KEY_ENV_VAR as r, cliAgentEnvVarNamesByRole as s, AGENT_BACKEND_ENV_VAR as t, messageStorageDirOf as u };
|
|
84
|
-
//# sourceMappingURL=specs-
|
|
84
|
+
//# sourceMappingURL=specs-CTDtco8x.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as HARNESSES } from "./harness-contracts-CDmyfcQO.mjs";
|
|
2
2
|
import { NATIVE_SESSION_CONTRACTS } from "./native-session-contracts.mjs";
|
|
3
|
-
import { n as BACKEND_TYPE } from "./backend-types-
|
|
3
|
+
import { n as BACKEND_TYPE } from "./backend-types-DOAfrnMJ.mjs";
|
|
4
4
|
import { ProxySecretsSchema, agentProfileJsonSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { harnessModelSupport } from "@tangle-network/agent-interface/harness-capabilities";
|
|
@@ -284,7 +284,6 @@ const CLI_AGENT_SPECS = [
|
|
|
284
284
|
"OPENCODE_CODEX_PLUGIN_VERSION",
|
|
285
285
|
"OPENCODE_EXPERIMENTAL_NATIVE_LLM"
|
|
286
286
|
],
|
|
287
|
-
interactiveSeededPrompt: true,
|
|
288
287
|
builtinTools: [
|
|
289
288
|
{
|
|
290
289
|
id: "apply_patch",
|
|
@@ -418,7 +417,6 @@ const CLI_AGENT_SPECS = [
|
|
|
418
417
|
"CHOWN",
|
|
419
418
|
"FOWNER"
|
|
420
419
|
],
|
|
421
|
-
interactiveSeededPrompt: true,
|
|
422
420
|
cliAuthHome: {
|
|
423
421
|
kind: "agent-home",
|
|
424
422
|
uid: 1e3,
|
|
@@ -448,8 +446,7 @@ const CLI_AGENT_SPECS = [
|
|
|
448
446
|
imageInput: false
|
|
449
447
|
},
|
|
450
448
|
cliAuthHome: { kind: "inherit-home" },
|
|
451
|
-
hasCliAuth: true
|
|
452
|
-
interactiveSeededPrompt: true
|
|
449
|
+
hasCliAuth: true
|
|
453
450
|
},
|
|
454
451
|
{
|
|
455
452
|
name: BACKEND_TYPE.CODEX,
|
|
@@ -518,7 +515,6 @@ const CLI_AGENT_SPECS = [
|
|
|
518
515
|
],
|
|
519
516
|
imageInput: true
|
|
520
517
|
},
|
|
521
|
-
interactiveSeededPrompt: true,
|
|
522
518
|
cliAuthHome: { kind: "inherit-home" },
|
|
523
519
|
hasCliAuth: true,
|
|
524
520
|
byoOAuth: true
|
|
@@ -570,7 +566,6 @@ const CLI_AGENT_SPECS = [
|
|
|
570
566
|
runtimeAttachments: { mcp: true },
|
|
571
567
|
imageInput: false
|
|
572
568
|
},
|
|
573
|
-
interactiveSeededPrompt: true,
|
|
574
569
|
cliAuthHome: { kind: "inherit-home" },
|
|
575
570
|
hasCliAuth: true
|
|
576
571
|
},
|
|
@@ -618,8 +613,7 @@ const CLI_AGENT_SPECS = [
|
|
|
618
613
|
imageInput: true
|
|
619
614
|
},
|
|
620
615
|
cliAuthHome: { kind: "inherit-home" },
|
|
621
|
-
hasCliAuth: true
|
|
622
|
-
interactiveSeededPrompt: true
|
|
616
|
+
hasCliAuth: true
|
|
623
617
|
},
|
|
624
618
|
{
|
|
625
619
|
name: BACKEND_TYPE.OPENCLAW,
|
|
@@ -810,4 +804,4 @@ function messageStorageDirOf(name) {
|
|
|
810
804
|
//#endregion
|
|
811
805
|
export { harnessModelWire as _, agentProfileSchema as a, cliAgentHostPassthroughEnvVarNames as c, NATIVE_INFERENCE_SCOPES as d, nativeCliAuthProxyBindings as f, harnessModelSupportFor as g, cliAgentEnvRoleName as h, MANAGED_MODEL_KEY_NAME_ENV_VAR as i, getSpec as l, cliAgentClaimEnvVarNames as m, CLI_AGENT_SPECS as n, claimDeliverableEnvVarNames as o, canonicalModelSlug as p, MANAGED_MODEL_KEY_ENV_VAR as r, cliAgentEnvVarNamesByRole as s, AGENT_BACKEND_ENV_VAR as t, messageStorageDirOf as u, SYNTHETIC_ROUTER_MODEL as v };
|
|
812
806
|
|
|
813
|
-
//# sourceMappingURL=specs-
|
|
807
|
+
//# sourceMappingURL=specs-Coj1_pra.mjs.map
|
package/dist/specs.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { _ as harnessModelSupportFor, h as cliAgentClaimEnvVarNames, l as CliAgentSpec, m as canonicalModelSlug, s as CliAgentModelWire, v as harnessModelWire } from "./spec-
|
|
3
|
-
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-
|
|
4
|
-
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, BackendType, CLI_AGENT_SPECS, CliAgentModelWire, CliAgentSpec, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, NATIVE_INFERENCE_SCOPES, agentProfileSchema, backendTypeSchema, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, messageStorageDirOf, nativeCliAuthProxyBindings, parseBackendType };
|
|
1
|
+
import { a as backendTypeSchema, i as INTERACTIVE_SEEDED_PROMPT_BACKENDS, n as BACKEND_TYPE, o as isBackendType, r as BackendType, s as parseBackendType, t as ALL_BACKEND_TYPES } from "./backend-types-B6HdTo23.mjs";
|
|
2
|
+
import { _ as harnessModelSupportFor, h as cliAgentClaimEnvVarNames, l as CliAgentSpec, m as canonicalModelSlug, s as CliAgentModelWire, v as harnessModelWire } from "./spec-BKA-GbvF.mjs";
|
|
3
|
+
import { a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-CTDtco8x.mjs";
|
|
4
|
+
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, BackendType, CLI_AGENT_SPECS, CliAgentModelWire, CliAgentSpec, INTERACTIVE_SEEDED_PROMPT_BACKENDS, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, NATIVE_INFERENCE_SCOPES, agentProfileSchema, backendTypeSchema, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, messageStorageDirOf, nativeCliAuthProxyBindings, parseBackendType };
|
package/dist/specs.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, g as harnessModelSupportFor, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-
|
|
3
|
-
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, CLI_AGENT_SPECS, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, NATIVE_INFERENCE_SCOPES, agentProfileSchema, backendTypeSchema, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, messageStorageDirOf, nativeCliAuthProxyBindings, parseBackendType };
|
|
1
|
+
import { a as isBackendType, i as backendTypeSchema, n as BACKEND_TYPE, o as parseBackendType, r as INTERACTIVE_SEEDED_PROMPT_BACKENDS, t as ALL_BACKEND_TYPES } from "./backend-types-DOAfrnMJ.mjs";
|
|
2
|
+
import { _ as harnessModelWire, a as agentProfileSchema, c as cliAgentHostPassthroughEnvVarNames, d as NATIVE_INFERENCE_SCOPES, f as nativeCliAuthProxyBindings, g as harnessModelSupportFor, i as MANAGED_MODEL_KEY_NAME_ENV_VAR, l as getSpec, m as cliAgentClaimEnvVarNames, n as CLI_AGENT_SPECS, o as claimDeliverableEnvVarNames, p as canonicalModelSlug, r as MANAGED_MODEL_KEY_ENV_VAR, s as cliAgentEnvVarNamesByRole, t as AGENT_BACKEND_ENV_VAR, u as messageStorageDirOf } from "./specs-Coj1_pra.mjs";
|
|
3
|
+
export { AGENT_BACKEND_ENV_VAR, ALL_BACKEND_TYPES, BACKEND_TYPE, CLI_AGENT_SPECS, INTERACTIVE_SEEDED_PROMPT_BACKENDS, MANAGED_MODEL_KEY_ENV_VAR, MANAGED_MODEL_KEY_NAME_ENV_VAR, NATIVE_INFERENCE_SCOPES, agentProfileSchema, backendTypeSchema, canonicalModelSlug, claimDeliverableEnvVarNames, cliAgentClaimEnvVarNames, cliAgentEnvVarNamesByRole, cliAgentHostPassthroughEnvVarNames, getSpec, harnessModelSupportFor, harnessModelWire, isBackendType, messageStorageDirOf, nativeCliAuthProxyBindings, parseBackendType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/cli-agent-registry",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.91",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./cli-backend-auth-env": {
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"@tangle-network/runtime-contracts": "0.20.0"
|
|
78
78
|
},
|
|
79
79
|
"tangleRelease": {
|
|
80
|
-
"sourceSha": "
|
|
81
|
-
"mergedAt": "2026-11-
|
|
80
|
+
"sourceSha": "c811b8ec9d1a9501d363a6b3c77e2a19239ec56b",
|
|
81
|
+
"mergedAt": "2026-11-15T00:53:34-08:00"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsdown && node scripts/export-host-contracts.mjs --write",
|