@integrity-labs/agt-cli 0.28.339 → 0.28.341

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.
@@ -20,7 +20,7 @@ import {
20
20
  resolveConnectivityProbe,
21
21
  worseConnectivityOutcome,
22
22
  wrapScheduledTaskPrompt
23
- } from "./chunk-J6QDPXGS.js";
23
+ } from "./chunk-7OBFGSQS.js";
24
24
  import {
25
25
  parsePsRows
26
26
  } from "./chunk-XWVM4KPK.js";
@@ -6371,22 +6371,10 @@ function buildAugmentedMcpServer(input, mcpBundlePath2) {
6371
6371
  };
6372
6372
  }
6373
6373
  function buildOpencodeConfig(input, opts) {
6374
- const { agent, charterFrontmatter, toolsFrontmatter } = input;
6374
+ const { agent, toolsFrontmatter } = input;
6375
6375
  const model = toOpencodeModel(agent.primary_model);
6376
6376
  return {
6377
6377
  $schema: "https://opencode.ai/config.json",
6378
- // Provision metadata, readable by the agent at runtime (parallel to the
6379
- // claude-code adapter's `_augmented` block in settings.json).
6380
- _augmented: {
6381
- agent_id: agent.agent_id,
6382
- code_name: agent.code_name,
6383
- display_name: agent.display_name,
6384
- environment: agent.environment,
6385
- risk_tier: agent.risk_tier,
6386
- framework: "opencode",
6387
- charter_version: charterFrontmatter?.version,
6388
- tools_version: toolsFrontmatter?.version
6389
- },
6390
6378
  model,
6391
6379
  provider: buildProvider(model),
6392
6380
  // AGENTS.md is auto-loaded by opencode every session; CHARTER.md is the
@@ -7043,7 +7031,7 @@ function requireHost() {
7043
7031
  }
7044
7032
 
7045
7033
  // src/lib/api-client.ts
7046
- var agtCliVersion = true ? "0.28.339" : "dev";
7034
+ var agtCliVersion = true ? "0.28.341" : "dev";
7047
7035
  var lastConfigHash = null;
7048
7036
  function setConfigHash(hash) {
7049
7037
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8699,6 +8687,10 @@ var PIN_VERSION_RE = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d
8699
8687
  function isPinSet(raw) {
8700
8688
  return typeof raw === "string" && raw.trim() !== "";
8701
8689
  }
8690
+ function resolveEffectivePinRaw(envPin, dbPin) {
8691
+ if (isPinSet(envPin)) return envPin;
8692
+ return dbPin ?? void 0;
8693
+ }
8702
8694
  function normalizePinVersion(raw) {
8703
8695
  if (!isPinSet(raw)) return null;
8704
8696
  const v = raw.trim().replace(/^v/, "");
@@ -9473,6 +9465,7 @@ export {
9473
9465
  provision,
9474
9466
  executeConnectivityProbe,
9475
9467
  isValidPinVersion,
9468
+ resolveEffectivePinRaw,
9476
9469
  normalizePinVersion,
9477
9470
  pinAllowsUrgent,
9478
9471
  decidePin,
@@ -9487,4 +9480,4 @@ export {
9487
9480
  managerInstallSystemUnitCommand,
9488
9481
  managerUninstallSystemUnitCommand
9489
9482
  };
9490
- //# sourceMappingURL=chunk-UVMGRGRO.js.map
9483
+ //# sourceMappingURL=chunk-SRRZO75K.js.map