@astrosheep/keiyaku 2.8.3 → 2.8.5

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.
@@ -180,10 +180,9 @@ export function buildUncommissionedAddress(input) {
180
180
  inference: [...(input.inference ?? [])],
181
181
  };
182
182
  }
183
- export async function resolveUncommissionedRepositoryAddress(input) {
184
- const repo = await resolvedRepository(input.repoCwd);
183
+ export function buildUncommissionedRepositoryAddress(input) {
185
184
  return buildUncommissionedAddress({
186
- repo,
185
+ repo: { kind: "repository", stableRoot: input.stableRoot },
187
186
  workdir: input.workdir,
188
187
  binding: input.binding,
189
188
  inference: input.inference,
@@ -18,7 +18,7 @@ import { requireResumableArtifact } from "./transcripts.js";
18
18
  import { appendDebugBlock } from "../telemetry/debug-log.js";
19
19
  import { logInfo } from "../telemetry/logger.js";
20
20
  import { SubagentFailure } from "../agents/types.js";
21
- import { AddressResolutionError, buildResolutionAttempt, buildUncommissionedAddress, resolveContractAddress, resolveUncommissionedRepositoryAddress, withResolvedAddress, } from "./addressing.js";
21
+ import { AddressResolutionError, buildResolutionAttempt, buildUncommissionedAddress, buildUncommissionedRepositoryAddress, resolveContractAddress, withResolvedAddress, } from "./addressing.js";
22
22
  import { readLedger } from "./ledger.js";
23
23
  import { findOpenArcView } from "./arc.js";
24
24
  import { deriveContractState, isTerminalState } from "./status.js";
@@ -159,7 +159,7 @@ async function readCallKeiyakuContext(executionCwd, input) {
159
159
  address: buildUncommissionedAddress({
160
160
  repo: { kind: "user" },
161
161
  workdir: executionCwd,
162
- binding: input.bare ? "bare" : "unbound",
162
+ binding: "bare",
163
163
  }),
164
164
  };
165
165
  }
@@ -176,8 +176,8 @@ async function readCallKeiyakuContext(executionCwd, input) {
176
176
  historyCwd: ledgerCwd,
177
177
  profileCwd: ledgerCwd,
178
178
  projectionCwd: ledgerCwd,
179
- address: await resolveUncommissionedRepositoryAddress({
180
- repoCwd: ledgerCwd,
179
+ address: buildUncommissionedRepositoryAddress({
180
+ stableRoot: ledgerCwd,
181
181
  workdir: executionCwd,
182
182
  binding: input.reviveBinding.kind,
183
183
  }),
@@ -185,8 +185,8 @@ async function readCallKeiyakuContext(executionCwd, input) {
185
185
  }
186
186
  }
187
187
  if (input.bare && input.contractId) {
188
- const repositoryAddress = await resolveUncommissionedRepositoryAddress({
189
- repoCwd: ledgerCwd,
188
+ const repositoryAddress = buildUncommissionedRepositoryAddress({
189
+ stableRoot: ledgerCwd,
190
190
  workdir: executionCwd,
191
191
  binding: "bare",
192
192
  });
@@ -209,8 +209,8 @@ async function readCallKeiyakuContext(executionCwd, input) {
209
209
  historyCwd: ledgerCwd,
210
210
  profileCwd: ledgerCwd,
211
211
  projectionCwd: ledgerCwd,
212
- address: await resolveUncommissionedRepositoryAddress({
213
- repoCwd: ledgerCwd,
212
+ address: buildUncommissionedRepositoryAddress({
213
+ stableRoot: ledgerCwd,
214
214
  workdir: executionCwd,
215
215
  binding: "bare",
216
216
  }),
@@ -250,8 +250,8 @@ async function readCallKeiyakuContext(executionCwd, input) {
250
250
  historyCwd: ledgerCwd,
251
251
  profileCwd: ledgerCwd,
252
252
  projectionCwd: ledgerCwd,
253
- address: await resolveUncommissionedRepositoryAddress({
254
- repoCwd: ledgerCwd,
253
+ address: buildUncommissionedRepositoryAddress({
254
+ stableRoot: ledgerCwd,
255
255
  workdir: executionCwd,
256
256
  binding: "unbound",
257
257
  }),
@@ -1,2 +1,2 @@
1
1
  // Auto-generated by scripts/generate-version.mjs
2
- export const VERSION = "2.8.3";
2
+ export const VERSION = "2.8.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrosheep/keiyaku",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
4
4
  "description": "CLI for running iterative keiyaku workflows with Codex subagents.",
5
5
  "license": "MIT",
6
6
  "type": "module",