@astrosheep/keiyaku 2.8.3 → 2.8.4
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/build/.tsbuildinfo +1 -1
- package/build/core/addressing.js +2 -3
- package/build/core/call.js +10 -10
- package/build/generated/version.js +1 -1
- package/package.json +1 -1
package/build/core/addressing.js
CHANGED
|
@@ -180,10 +180,9 @@ export function buildUncommissionedAddress(input) {
|
|
|
180
180
|
inference: [...(input.inference ?? [])],
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
|
-
export
|
|
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,
|
package/build/core/call.js
CHANGED
|
@@ -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,
|
|
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:
|
|
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:
|
|
180
|
-
|
|
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 =
|
|
189
|
-
|
|
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:
|
|
213
|
-
|
|
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:
|
|
254
|
-
|
|
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.
|
|
2
|
+
export const VERSION = "2.8.4";
|