@astrosheep/keiyaku 4.6.31 → 4.6.32
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/README.md +34 -17
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/pi/README.md +16 -18
- package/build/plugins/pi/akuma-tools.ts +31 -38
- package/build/plugins/pi/keiyaku.ts +15 -4
- package/build/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/src/akuma/akuma-call.d.ts +3 -5
- package/build/src/akuma/akuma-call.js +7 -10
- package/build/src/akuma/akuma-errors.d.ts +7 -4
- package/build/src/akuma/akuma-errors.js +16 -12
- package/build/src/akuma/akuma-instance.d.ts +39 -303
- package/build/src/akuma/akuma-instance.js +48 -48
- package/build/src/akuma/akuma-observe.d.ts +5 -4
- package/build/src/akuma/akuma-observe.js +1 -7
- package/build/src/akuma/akuma-owner.d.ts +14 -6
- package/build/src/akuma/akuma-owner.js +33 -27
- package/build/src/akuma/akuma-selection-execution.d.ts +22 -19
- package/build/src/akuma/akuma-selection-execution.js +71 -124
- package/build/src/akuma/akuma-wait.d.ts +3 -3
- package/build/src/akuma/akuma.d.ts +47 -384
- package/build/src/akuma/akuma.js +8 -58
- package/build/src/akuma/archetype.d.ts +16 -19
- package/build/src/akuma/archetype.js +48 -49
- package/build/src/akuma/body.js +31 -26
- package/build/src/akuma/call-initial-tell.d.ts +4 -1
- package/build/src/akuma/call-initial-tell.js +9 -1
- package/build/src/akuma/call-input.d.ts +8 -1
- package/build/src/akuma/call-input.js +27 -18
- package/build/src/akuma/caller.js +2 -1
- package/build/src/akuma/detached-body.js +1 -1
- package/build/src/akuma/heart/facts.d.ts +5 -4
- package/build/src/akuma/heart/facts.js +5 -5
- package/build/src/akuma/heart/soul.js +20 -4
- package/build/src/akuma/identity.d.ts +1 -1
- package/build/src/akuma/identity.js +9 -4
- package/build/src/akuma/index.d.ts +6 -7
- package/build/src/akuma/index.js +2 -3
- package/build/src/akuma/projection.d.ts +3 -0
- package/build/src/akuma/provider-recipe.js +3 -2
- package/build/src/akuma/providers/acp/config.js +11 -10
- package/build/src/akuma/providers/acp/index.js +2 -1
- package/build/src/akuma/providers/codex-app-server/index.js +7 -1
- package/build/src/akuma/providers/grok-build/index.js +2 -1
- package/build/src/akuma/providers/index.d.ts +0 -1
- package/build/src/akuma/providers/index.js +0 -8
- package/build/src/akuma/providers/paseo/index.js +7 -4
- package/build/src/akuma/providers/pi/index.js +4 -3
- package/build/src/akuma/publication.d.ts +1 -2
- package/build/src/akuma/publication.js +16 -14
- package/build/src/akuma/schema.d.ts +3 -49
- package/build/src/akuma/schema.js +6 -147
- package/build/src/akuma/selection-observation.d.ts +281 -240
- package/build/src/akuma/selection-observation.js +122 -68
- package/build/src/akuma/status-projection.d.ts +49 -285
- package/build/src/akuma/status-projection.js +178 -138
- package/build/src/body/amend.js +2 -1
- package/build/src/body/arc.js +3 -2
- package/build/src/body/criteria.js +4 -3
- package/build/src/body/decode.js +2 -1
- package/build/src/body/envelope.js +2 -1
- package/build/src/body/region.d.ts +1 -3
- package/build/src/body/region.js +3 -8
- package/build/src/body-host.d.ts +4 -11
- package/build/src/body-host.js +5 -4
- package/build/src/bounded-list.js +2 -1
- package/build/src/cli/commands/akuma-grammar.d.ts +109 -66
- package/build/src/cli/commands/akuma-grammar.js +75 -95
- package/build/src/cli/commands/akuma.d.ts +8 -3
- package/build/src/cli/commands/akuma.js +63 -122
- package/build/src/cli/commands/contract-grammar.d.ts +3 -135
- package/build/src/cli/commands/contract-grammar.js +125 -218
- package/build/src/cli/commands/contract-help.d.ts +24 -21
- package/build/src/cli/commands/contract-help.js +43 -35
- package/build/src/cli/commands/contract.d.ts +6 -18
- package/build/src/cli/commands/contract.js +65 -272
- package/build/src/cli/commands/debt-grammar.d.ts +2 -4
- package/build/src/cli/commands/debt-grammar.js +22 -190
- package/build/src/cli/commands/debt.js +10 -87
- package/build/src/cli/commands/report.d.ts +2 -4
- package/build/src/cli/coordinates.d.ts +1 -1
- package/build/src/cli/coordinates.js +1 -1
- package/build/src/cli/main.js +9 -3
- package/build/src/cli/parse.d.ts +80 -3
- package/build/src/cli/parse.js +76 -16
- package/build/src/cli/render/akuma-activity.d.ts +19 -24
- package/build/src/cli/render/akuma-activity.js +164 -259
- package/build/src/cli/render/akuma.d.ts +3 -3
- package/build/src/cli/render/akuma.js +36 -43
- package/build/src/cli/render/catalog.d.ts +2 -5
- package/build/src/cli/render/catalog.js +2 -33
- package/build/src/cli/render/contract-history.js +1 -2
- package/build/src/cli/render/contract-observation.d.ts +0 -7
- package/build/src/cli/render/contract-observation.js +0 -3
- package/build/src/cli/render/contract.d.ts +7 -9
- package/build/src/cli/render/contract.js +35 -64
- package/build/src/cli/render/debt.d.ts +3 -11
- package/build/src/cli/render/debt.js +17 -88
- package/build/src/cli/render/delivery-preview.js +4 -4
- package/build/src/cli/render/kanshi-akuma.d.ts +5 -3
- package/build/src/cli/render/kanshi-akuma.js +22 -18
- package/build/src/cli/render/kanshi.d.ts +1 -3
- package/build/src/cli/render/kanshi.js +16 -39
- package/build/src/cli/render/receipt.d.ts +21 -12
- package/build/src/cli/render/receipt.js +49 -44
- package/build/src/cli/render/refusal.d.ts +4 -3
- package/build/src/cli/render/refusal.js +15 -17
- package/build/src/cli/render/settings.d.ts +1 -1
- package/build/src/cli/render/terminal.d.ts +9 -8
- package/build/src/cli/render/terminal.js +48 -32
- package/build/src/cli/render/verbs.d.ts +3 -1
- package/build/src/cli/render/verbs.js +74 -116
- package/build/src/cli/runtime.js +66 -65
- package/build/src/cli/streams.d.ts +2 -9
- package/build/src/cli/streams.js +8 -1
- package/build/src/cli/usage.d.ts +2 -1
- package/build/src/cli/usage.js +3 -2
- package/build/src/contract-worktree.js +2 -10
- package/build/src/core/facts/codec.js +9 -23
- package/build/src/core/facts/errors.d.ts +2 -1
- package/build/src/core/facts/errors.js +3 -3
- package/build/src/core/facts/types.d.ts +2 -13
- package/build/src/core/facts/types.js +1 -6
- package/build/src/core/verbs/abandon.d.ts +1 -2
- package/build/src/core/verbs/amend.d.ts +1 -2
- package/build/src/core/verbs/arc.d.ts +1 -2
- package/build/src/core/verbs/attestation.d.ts +1 -2
- package/build/src/core/verbs/bind.d.ts +1 -2
- package/build/src/core/verbs/deliver.d.ts +1 -2
- package/build/src/core/verbs/placement.d.ts +1 -2
- package/build/src/core/verbs/reintegrate.d.ts +1 -2
- package/build/src/debt/board.d.ts +14 -94
- package/build/src/debt/board.js +25 -160
- package/build/src/debt/catalog.d.ts +0 -2
- package/build/src/debt/catalog.js +1 -22
- package/build/src/debt/document.d.ts +8 -11
- package/build/src/debt/document.js +19 -62
- package/build/src/debt/identity.d.ts +2 -14
- package/build/src/debt/identity.js +19 -49
- package/build/src/debt/index.d.ts +81 -219
- package/build/src/debt/index.js +61 -110
- package/build/src/debt/input.d.ts +19 -5
- package/build/src/debt/input.js +51 -177
- package/build/src/debt/lifecycle-operations.d.ts +1 -3
- package/build/src/debt/lifecycle-operations.js +1 -73
- package/build/src/debt/operation-types.d.ts +24 -128
- package/build/src/debt/operation-types.js +6 -62
- package/build/src/debt/operations.d.ts +8 -17
- package/build/src/debt/operations.js +58 -154
- package/build/src/debt/store.d.ts +0 -2
- package/build/src/debt/store.js +32 -87
- package/build/src/errors.d.ts +28 -0
- package/build/src/errors.js +26 -0
- package/build/src/git/hooks.d.ts +1 -1
- package/build/src/git/observe.d.ts +3 -0
- package/build/src/git/observe.js +19 -5
- package/build/src/git/reconcile.d.ts +3 -16
- package/build/src/git/reconcile.js +0 -18
- package/build/src/git/repository.d.ts +2 -1
- package/build/src/git/repository.js +3 -3
- package/build/src/git/target-placement.d.ts +4 -4
- package/build/src/git/target.d.ts +2 -2
- package/build/src/git/tender.d.ts +1 -2
- package/build/src/git/tender.js +5 -12
- package/build/src/identity/coordinates.d.ts +1 -1
- package/build/src/identity/coordinates.js +3 -2
- package/build/src/identity/normalize.js +2 -1
- package/build/src/identity/selector.js +4 -3
- package/build/src/index.d.ts +34 -57
- package/build/src/index.js +11 -36
- package/build/src/kanshi/counts.d.ts +3 -8
- package/build/src/kanshi/counts.js +6 -14
- package/build/src/kanshi/index.d.ts +22 -7
- package/build/src/kanshi/index.js +30 -4
- package/build/src/kanshi/read.d.ts +81 -270
- package/build/src/kanshi/read.js +39 -199
- package/build/src/kanshi/report.d.ts +340 -1619
- package/build/src/kanshi/report.js +19 -31
- package/build/src/library/address.d.ts +11 -11
- package/build/src/library/address.js +34 -27
- package/build/src/library/akuma-creation.d.ts +210 -79
- package/build/src/library/akuma-creation.js +201 -242
- package/build/src/library/akumas.d.ts +24 -5
- package/build/src/library/akumas.js +96 -29
- package/build/src/library/bind.d.ts +7 -10
- package/build/src/library/bind.js +2 -8
- package/build/src/library/continuation.d.ts +141 -231
- package/build/src/library/continuation.js +22 -31
- package/build/src/library/contract-address.d.ts +6 -9
- package/build/src/library/contract-address.js +11 -16
- package/build/src/library/contract-composition.d.ts +2 -3
- package/build/src/library/contract-composition.js +12 -19
- package/build/src/library/contract-creation.js +33 -34
- package/build/src/library/contract-outcomes.d.ts +1278 -806
- package/build/src/library/contract-outcomes.js +11 -37
- package/build/src/library/contract-settings.d.ts +1 -2
- package/build/src/library/contract-settings.js +5 -7
- package/build/src/library/contract-types.d.ts +42 -67
- package/build/src/library/contract-types.js +15 -56
- package/build/src/library/contract-wait.d.ts +40 -3
- package/build/src/library/contract-wait.js +28 -21
- package/build/src/library/delivery.d.ts +366 -389
- package/build/src/library/delivery.js +5 -25
- package/build/src/library/input.d.ts +31 -5
- package/build/src/library/input.js +40 -40
- package/build/src/library/invocation.d.ts +13 -11
- package/build/src/library/invocation.js +69 -58
- package/build/src/library/kei.d.ts +16 -8
- package/build/src/library/kei.js +459 -19
- package/build/src/library/keiyaku-attribution.d.ts +0 -8
- package/build/src/library/keiyaku-attribution.js +0 -11
- package/build/src/library/keiyaku-classify.d.ts +2 -2
- package/build/src/library/keiyaku-classify.js +40 -59
- package/build/src/library/keiyaku-coordinates.d.ts +3 -8
- package/build/src/library/keiyaku-coordinates.js +6 -26
- package/build/src/library/keiyaku-debt.d.ts +21 -93
- package/build/src/library/keiyaku-debt.js +8 -157
- package/build/src/library/keiyaku-identity.js +5 -4
- package/build/src/library/keiyaku-verbs.d.ts +4004 -3885
- package/build/src/library/keiyaku-verbs.js +309 -271
- package/build/src/library/keiyaku.d.ts +30 -860
- package/build/src/library/keiyaku.js +169 -256
- package/build/src/library/nuke.d.ts +4 -2
- package/build/src/library/nuke.js +5 -1
- package/build/src/library/outcome.d.ts +424 -307
- package/build/src/library/outcome.js +167 -362
- package/build/src/library/reconcile.d.ts +331 -143
- package/build/src/library/reconcile.js +38 -72
- package/build/src/library/refusal.d.ts +20 -28
- package/build/src/library/refusal.js +1 -11
- package/build/src/library/repo.js +4 -3
- package/build/src/library/selection.d.ts +32 -21
- package/build/src/library/selection.js +63 -87
- package/build/src/mcp/adapter.d.ts +6 -0
- package/build/src/mcp/adapter.js +177 -42
- package/build/src/mcp/help.d.ts +1 -1
- package/build/src/mcp/help.js +12 -7
- package/build/src/mcp/output.d.ts +385 -0
- package/build/src/mcp/output.js +193 -0
- package/build/src/plugin/public.d.ts +4 -0
- package/build/src/plugin/runtime.d.ts +1 -1
- package/build/src/plugin/runtime.js +2 -2
- package/build/src/protocol/amend.d.ts +1 -1
- package/build/src/protocol/amend.js +2 -2
- package/build/src/protocol/bind.d.ts +5 -7
- package/build/src/protocol/bind.js +3 -3
- package/build/src/protocol/completion.d.ts +158 -195
- package/build/src/protocol/completion.js +55 -19
- package/build/src/protocol/deliver.d.ts +11 -6
- package/build/src/protocol/deliver.js +30 -30
- package/build/src/protocol/delivery-preview.d.ts +13 -11
- package/build/src/protocol/delivery-preview.js +2 -2
- package/build/src/protocol/execution-observation.d.ts +5 -13
- package/build/src/protocol/intent.d.ts +6 -9
- package/build/src/protocol/intent.js +18 -31
- package/build/src/protocol/operations.d.ts +48 -53
- package/build/src/protocol/operations.js +16 -25
- package/build/src/protocol/outcome.d.ts +3 -1
- package/build/src/protocol/placement.d.ts +1 -2
- package/build/src/protocol/placement.js +1 -1
- package/build/src/protocol/progress.d.ts +1 -0
- package/build/src/protocol/read/status.d.ts +29 -112
- package/build/src/protocol/read/status.js +52 -78
- package/build/src/protocol/reintegrate.d.ts +1 -2
- package/build/src/protocol/reintegrate.js +0 -1
- package/build/src/protocol/result-leaves.d.ts +11 -32
- package/build/src/protocol/result-leaves.js +18 -57
- package/build/src/protocol/result-reasons.d.ts +6 -6
- package/build/src/protocol/review.js +0 -1
- package/build/src/protocol/verify.d.ts +192 -146
- package/build/src/protocol/verify.js +60 -47
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/build/src/settings.d.ts +8 -9
- package/build/src/settings.js +16 -13
- package/build/src/settlement/holder.js +2 -2
- package/build/src/settlement/settle.d.ts +0 -6
- package/build/src/settlement/settle.js +0 -4
- package/build/src/verification/declaration.d.ts +3 -6
- package/build/src/verification/declaration.js +3 -5
- package/build/src/verification/observation.d.ts +2 -2
- package/build/src/world.d.ts +3 -2
- package/build/src/world.js +5 -6
- package/package.json +1 -1
- package/plugins/paseo/plugin/index.server.ts +1 -1
- package/plugins/paseo/plugin/server/attach.ts +74 -67
- package/plugins/paseo/plugin/server/keiyaku.ts +80 -14
- package/plugins/paseo/plugin/server/message.ts +2 -1
- package/plugins/paseo/plugin/server/mirror-identity.ts +6 -4
- package/plugins/paseo/plugin/server/sdk.ts +9 -11
- package/plugins/paseo/plugin/server/transport.ts +24 -1
- package/plugins/pi/README.md +16 -18
- package/plugins/pi/akuma-tools.ts +31 -38
- package/plugins/pi/keiyaku.ts +15 -4
- package/skills/keiyaku-akuma/SKILL.md +16 -11
- package/skills/keiyaku-babysit/SKILL.md +5 -3
- package/skills/keiyaku-bind/SKILL.md +4 -3
- package/skills/keiyaku-debt/SKILL.md +17 -17
- package/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/src/akuma/providers/codex-app-server/configuration.d.ts +0 -5
- package/build/src/akuma/providers/codex-app-server/configuration.js +0 -72
- package/build/src/cli/commands/debt-query.d.ts +0 -5
- package/build/src/cli/commands/debt-query.js +0 -194
- package/build/src/cli/render/akuma-tool-command.d.ts +0 -6
- package/build/src/cli/render/akuma-tool-command.js +0 -143
- package/build/src/cli/render/akuma-tool.d.ts +0 -29
- package/build/src/cli/render/akuma-tool.js +0 -225
- package/build/src/debt/context.d.ts +0 -28
- package/build/src/debt/context.js +0 -102
- package/build/src/debt/created-observation.d.ts +0 -26
- package/build/src/debt/created-observation.js +0 -38
- package/build/src/debt/query.d.ts +0 -80
- package/build/src/debt/query.js +0 -283
- package/build/src/library/contract-execution.d.ts +0 -28
- package/build/src/library/contract-execution.js +0 -506
- package/build/src/library/keiyaku-policy.d.ts +0 -27
- package/build/src/library/keiyaku-policy.js +0 -44
- package/build/src/library/keiyaku-status.d.ts +0 -1487
- package/build/src/library/keiyaku-status.js +0 -92
|
@@ -1,126 +1,241 @@
|
|
|
1
1
|
/** @architectureCompositionRoot */
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import { type AkumaAskObservation } from "../akuma/selection-observation.js";
|
|
4
3
|
import { type AkumaCaller } from "../akuma/caller.js";
|
|
5
4
|
import type { BodyLauncher } from "../akuma/body-launch.js";
|
|
6
5
|
import { type AskObserver } from "../akuma/akuma-selection-execution.js";
|
|
7
6
|
import type { AkumaStatus } from "../akuma/akuma.js";
|
|
8
7
|
import type { TellResult } from "../akuma/body.js";
|
|
9
8
|
import { type AkumaId } from "../akuma/identity.js";
|
|
10
|
-
import { type Schema } from "../akuma/schema.js";
|
|
11
9
|
import { type AkumaAlias } from "../identity/selector.js";
|
|
12
10
|
import type { Settings } from "../settings.js";
|
|
13
11
|
import { type WorldRoot } from "../world.js";
|
|
14
12
|
import type { Kei } from "./kei.js";
|
|
15
13
|
import { type Repo } from "./repo.js";
|
|
16
14
|
export declare const spawnWaitHeadSchema: z.ZodReadonly<z.ZodObject<{
|
|
17
|
-
|
|
18
|
-
aliasName: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaAlias, string>>>;
|
|
19
|
-
alias: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
20
|
-
kind: z.ZodLiteral<"moved">;
|
|
21
|
-
previousAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
22
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
15
|
+
failures: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
23
16
|
kind: z.ZodEnum<{
|
|
24
17
|
"authority-corruption": "authority-corruption";
|
|
25
18
|
infrastructure: "infrastructure";
|
|
26
19
|
}>;
|
|
27
20
|
diagnostic: z.ZodString;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
stage: z.ZodEnum<{
|
|
22
|
+
tell: "tell";
|
|
23
|
+
birth: "birth";
|
|
24
|
+
}>;
|
|
25
|
+
attemptedTellId: z.ZodExactOptional<z.ZodString>;
|
|
32
26
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
stage: z.ZodLiteral<"dispatch">;
|
|
28
|
+
failure: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
29
|
+
kind: z.ZodLiteral<"conflict">;
|
|
30
|
+
currentContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
31
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
32
|
+
kind: z.ZodLiteral<"publication-failed">;
|
|
33
|
+
diagnostic: z.ZodString;
|
|
34
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
35
|
+
kind: z.ZodEnum<{
|
|
36
|
+
"authority-corruption": "authority-corruption";
|
|
37
|
+
infrastructure: "infrastructure";
|
|
38
|
+
}>;
|
|
39
|
+
diagnostic: z.ZodString;
|
|
40
|
+
}, z.core.$strict>>]>;
|
|
35
41
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
36
42
|
kind: z.ZodEnum<{
|
|
37
43
|
"authority-corruption": "authority-corruption";
|
|
38
44
|
infrastructure: "infrastructure";
|
|
39
45
|
}>;
|
|
40
46
|
diagnostic: z.ZodString;
|
|
41
|
-
|
|
47
|
+
stage: z.ZodLiteral<"alias">;
|
|
48
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
49
|
+
diagnostic: z.ZodString;
|
|
50
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
51
|
+
stage: z.ZodLiteral<"wake">;
|
|
52
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
53
|
+
stage: z.ZodLiteral<"observation">;
|
|
54
|
+
diagnostic: z.ZodString;
|
|
55
|
+
}, z.core.$strict>>]>>>>;
|
|
56
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>>;
|
|
57
|
+
aliasName: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaAlias, string>>>;
|
|
42
58
|
dispatchWarning: z.ZodExactOptional<z.ZodString>;
|
|
59
|
+
alias: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"moved">;
|
|
61
|
+
previousAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
62
|
+
}, z.core.$strict>>>;
|
|
43
63
|
cwd: z.ZodString;
|
|
44
64
|
}, z.core.$strict>>;
|
|
45
|
-
export declare const
|
|
65
|
+
export declare const spawnNormalResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
46
66
|
tellId: z.ZodExactOptional<z.ZodString>;
|
|
47
|
-
wake: z.ZodExactOptional<z.
|
|
67
|
+
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
48
68
|
kind: z.ZodLiteral<"pending">;
|
|
49
|
-
}, z.core.$strict
|
|
50
|
-
kind: z.ZodLiteral<"failed">;
|
|
51
|
-
diagnostic: z.ZodString;
|
|
52
|
-
logPath: z.ZodExactOptional<z.ZodString>;
|
|
53
|
-
}, z.core.$strict>>]>>;
|
|
69
|
+
}, z.core.$strict>>>;
|
|
54
70
|
input: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
55
71
|
kind: z.ZodLiteral<"answered">;
|
|
56
|
-
answer: z.
|
|
57
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
58
|
-
kind: z.ZodLiteral<"answered">;
|
|
59
|
-
answerUndefined: z.ZodLiteral<true>;
|
|
72
|
+
answer: z.ZodString;
|
|
60
73
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
61
|
-
kind: z.ZodLiteral<"
|
|
62
|
-
diagnostic: z.ZodString;
|
|
74
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
63
75
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
64
|
-
kind: z.ZodLiteral<"
|
|
65
|
-
|
|
76
|
+
kind: z.ZodLiteral<"deadline">;
|
|
77
|
+
}, z.core.$strict>>]>>;
|
|
78
|
+
dispatchWarning: z.ZodExactOptional<z.ZodString>;
|
|
79
|
+
alias: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
80
|
+
kind: z.ZodLiteral<"moved">;
|
|
81
|
+
previousAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
82
|
+
}, z.core.$strict>>>;
|
|
83
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
84
|
+
kind: z.ZodLiteral<"spawned">;
|
|
85
|
+
}, z.core.$strict>>;
|
|
86
|
+
export declare const spawnResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
87
|
+
tellId: z.ZodExactOptional<z.ZodString>;
|
|
88
|
+
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
89
|
+
kind: z.ZodLiteral<"pending">;
|
|
90
|
+
}, z.core.$strict>>>;
|
|
91
|
+
input: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
92
|
+
kind: z.ZodLiteral<"answered">;
|
|
66
93
|
answer: z.ZodString;
|
|
67
94
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
68
95
|
kind: z.ZodLiteral<"unanswered">;
|
|
69
96
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
70
97
|
kind: z.ZodLiteral<"deadline">;
|
|
71
98
|
}, z.core.$strict>>]>>;
|
|
72
|
-
|
|
99
|
+
dispatchWarning: z.ZodExactOptional<z.ZodString>;
|
|
100
|
+
alias: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
101
|
+
kind: z.ZodLiteral<"moved">;
|
|
102
|
+
previousAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
103
|
+
}, z.core.$strict>>>;
|
|
104
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
105
|
+
kind: z.ZodLiteral<"spawned">;
|
|
106
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
107
|
+
failures: z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
73
108
|
kind: z.ZodEnum<{
|
|
74
109
|
"authority-corruption": "authority-corruption";
|
|
75
110
|
infrastructure: "infrastructure";
|
|
76
111
|
}>;
|
|
77
112
|
diagnostic: z.ZodString;
|
|
113
|
+
stage: z.ZodEnum<{
|
|
114
|
+
tell: "tell";
|
|
115
|
+
birth: "birth";
|
|
116
|
+
}>;
|
|
78
117
|
attemptedTellId: z.ZodExactOptional<z.ZodString>;
|
|
79
|
-
}, z.core.$strict
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
118
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
119
|
+
stage: z.ZodLiteral<"dispatch">;
|
|
120
|
+
failure: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
121
|
+
kind: z.ZodLiteral<"conflict">;
|
|
122
|
+
currentContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
123
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
124
|
+
kind: z.ZodLiteral<"publication-failed">;
|
|
125
|
+
diagnostic: z.ZodString;
|
|
126
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
127
|
+
kind: z.ZodEnum<{
|
|
128
|
+
"authority-corruption": "authority-corruption";
|
|
129
|
+
infrastructure: "infrastructure";
|
|
130
|
+
}>;
|
|
131
|
+
diagnostic: z.ZodString;
|
|
132
|
+
}, z.core.$strict>>]>;
|
|
83
133
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
84
134
|
kind: z.ZodEnum<{
|
|
85
135
|
"authority-corruption": "authority-corruption";
|
|
86
136
|
infrastructure: "infrastructure";
|
|
87
137
|
}>;
|
|
88
138
|
diagnostic: z.ZodString;
|
|
89
|
-
|
|
90
|
-
dispatchFailure: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
91
|
-
kind: z.ZodLiteral<"conflict">;
|
|
92
|
-
currentContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
139
|
+
stage: z.ZodLiteral<"alias">;
|
|
93
140
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
94
|
-
kind: z.ZodLiteral<"publication-failed">;
|
|
95
141
|
diagnostic: z.ZodString;
|
|
142
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
143
|
+
stage: z.ZodLiteral<"wake">;
|
|
96
144
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
145
|
+
stage: z.ZodLiteral<"observation">;
|
|
146
|
+
diagnostic: z.ZodString;
|
|
147
|
+
}, z.core.$strict>>]>], z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
97
148
|
kind: z.ZodEnum<{
|
|
98
149
|
"authority-corruption": "authority-corruption";
|
|
99
150
|
infrastructure: "infrastructure";
|
|
100
151
|
}>;
|
|
101
152
|
diagnostic: z.ZodString;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
dispatchFailure: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
108
|
-
kind: z.ZodLiteral<"conflict">;
|
|
109
|
-
currentContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
153
|
+
stage: z.ZodEnum<{
|
|
154
|
+
tell: "tell";
|
|
155
|
+
birth: "birth";
|
|
156
|
+
}>;
|
|
157
|
+
attemptedTellId: z.ZodExactOptional<z.ZodString>;
|
|
110
158
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
111
|
-
|
|
112
|
-
|
|
159
|
+
stage: z.ZodLiteral<"dispatch">;
|
|
160
|
+
failure: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
161
|
+
kind: z.ZodLiteral<"conflict">;
|
|
162
|
+
currentContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
163
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"publication-failed">;
|
|
165
|
+
diagnostic: z.ZodString;
|
|
166
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
167
|
+
kind: z.ZodEnum<{
|
|
168
|
+
"authority-corruption": "authority-corruption";
|
|
169
|
+
infrastructure: "infrastructure";
|
|
170
|
+
}>;
|
|
171
|
+
diagnostic: z.ZodString;
|
|
172
|
+
}, z.core.$strict>>]>;
|
|
113
173
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
114
174
|
kind: z.ZodEnum<{
|
|
115
175
|
"authority-corruption": "authority-corruption";
|
|
116
176
|
infrastructure: "infrastructure";
|
|
117
177
|
}>;
|
|
118
178
|
diagnostic: z.ZodString;
|
|
179
|
+
stage: z.ZodLiteral<"alias">;
|
|
180
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
181
|
+
diagnostic: z.ZodString;
|
|
182
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
183
|
+
stage: z.ZodLiteral<"wake">;
|
|
184
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
185
|
+
stage: z.ZodLiteral<"observation">;
|
|
186
|
+
diagnostic: z.ZodString;
|
|
187
|
+
}, z.core.$strict>>]>>>;
|
|
188
|
+
tellId: z.ZodExactOptional<z.ZodString>;
|
|
189
|
+
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
190
|
+
kind: z.ZodLiteral<"pending">;
|
|
191
|
+
}, z.core.$strict>>>;
|
|
192
|
+
input: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
193
|
+
kind: z.ZodLiteral<"answered">;
|
|
194
|
+
answer: z.ZodString;
|
|
195
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
196
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
197
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"deadline">;
|
|
119
199
|
}, z.core.$strict>>]>>;
|
|
200
|
+
dispatchWarning: z.ZodExactOptional<z.ZodString>;
|
|
201
|
+
alias: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
202
|
+
kind: z.ZodLiteral<"moved">;
|
|
203
|
+
previousAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
204
|
+
}, z.core.$strict>>>;
|
|
205
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
206
|
+
kind: z.ZodLiteral<"failed">;
|
|
207
|
+
}, z.core.$strict>>]>;
|
|
208
|
+
export declare const forkNormalResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
209
|
+
dispatchWarning: z.ZodExactOptional<z.ZodString>;
|
|
210
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>>;
|
|
211
|
+
kind: z.ZodLiteral<"forked">;
|
|
212
|
+
childAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
213
|
+
}, z.core.$strict>>;
|
|
214
|
+
export declare const forkResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
120
215
|
dispatchWarning: z.ZodExactOptional<z.ZodString>;
|
|
121
216
|
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>>;
|
|
122
217
|
kind: z.ZodLiteral<"forked">;
|
|
123
218
|
childAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
219
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
220
|
+
failure: z.ZodReadonly<z.ZodObject<{
|
|
221
|
+
stage: z.ZodLiteral<"dispatch">;
|
|
222
|
+
failure: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
223
|
+
kind: z.ZodLiteral<"conflict">;
|
|
224
|
+
currentContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
225
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
226
|
+
kind: z.ZodLiteral<"publication-failed">;
|
|
227
|
+
diagnostic: z.ZodString;
|
|
228
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
229
|
+
kind: z.ZodEnum<{
|
|
230
|
+
"authority-corruption": "authority-corruption";
|
|
231
|
+
infrastructure: "infrastructure";
|
|
232
|
+
}>;
|
|
233
|
+
diagnostic: z.ZodString;
|
|
234
|
+
}, z.core.$strict>>]>;
|
|
235
|
+
}, z.core.$strict>>;
|
|
236
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>>;
|
|
237
|
+
kind: z.ZodLiteral<"failed">;
|
|
238
|
+
childAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
124
239
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
125
240
|
kind: z.ZodLiteral<"provider-cannot-fork">;
|
|
126
241
|
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>>;
|
|
@@ -144,9 +259,7 @@ export declare const forkResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodO
|
|
|
144
259
|
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>>;
|
|
145
260
|
}, z.core.$strict>>]>;
|
|
146
261
|
export type SpawnWaitHead = z.output<typeof spawnWaitHeadSchema>;
|
|
147
|
-
export type SpawnResult
|
|
148
|
-
input?: AkumaAskObservation<T>;
|
|
149
|
-
}>;
|
|
262
|
+
export type SpawnResult = z.output<typeof spawnResultSchema>;
|
|
150
263
|
export type ForkResult = z.output<typeof forkResultSchema>;
|
|
151
264
|
export declare const spawnProgressSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
152
265
|
kind: z.ZodLiteral<"admitted">;
|
|
@@ -156,8 +269,8 @@ export declare const spawnProgressSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
156
269
|
}, z.core.$strict>>;
|
|
157
270
|
row: z.ZodReadonly<z.ZodObject<{
|
|
158
271
|
at: z.ZodString;
|
|
159
|
-
sequence: z.ZodNumber;
|
|
160
272
|
text: z.ZodString;
|
|
273
|
+
sequence: z.ZodNumber;
|
|
161
274
|
}, z.core.$strict>>;
|
|
162
275
|
wake: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
163
276
|
kind: z.ZodLiteral<"told">;
|
|
@@ -191,32 +304,54 @@ export declare const spawnProgressSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
191
304
|
}, z.core.$strict>>;
|
|
192
305
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
193
306
|
head: z.ZodReadonly<z.ZodObject<{
|
|
194
|
-
|
|
195
|
-
aliasName: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaAlias, string>>>;
|
|
196
|
-
alias: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
197
|
-
kind: z.ZodLiteral<"moved">;
|
|
198
|
-
previousAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
199
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
307
|
+
failures: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
200
308
|
kind: z.ZodEnum<{
|
|
201
309
|
"authority-corruption": "authority-corruption";
|
|
202
310
|
infrastructure: "infrastructure";
|
|
203
311
|
}>;
|
|
204
312
|
diagnostic: z.ZodString;
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
313
|
+
stage: z.ZodEnum<{
|
|
314
|
+
tell: "tell";
|
|
315
|
+
birth: "birth";
|
|
316
|
+
}>;
|
|
317
|
+
attemptedTellId: z.ZodExactOptional<z.ZodString>;
|
|
209
318
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
210
|
-
|
|
211
|
-
|
|
319
|
+
stage: z.ZodLiteral<"dispatch">;
|
|
320
|
+
failure: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
321
|
+
kind: z.ZodLiteral<"conflict">;
|
|
322
|
+
currentContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
323
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
324
|
+
kind: z.ZodLiteral<"publication-failed">;
|
|
325
|
+
diagnostic: z.ZodString;
|
|
326
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
327
|
+
kind: z.ZodEnum<{
|
|
328
|
+
"authority-corruption": "authority-corruption";
|
|
329
|
+
infrastructure: "infrastructure";
|
|
330
|
+
}>;
|
|
331
|
+
diagnostic: z.ZodString;
|
|
332
|
+
}, z.core.$strict>>]>;
|
|
212
333
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
213
334
|
kind: z.ZodEnum<{
|
|
214
335
|
"authority-corruption": "authority-corruption";
|
|
215
336
|
infrastructure: "infrastructure";
|
|
216
337
|
}>;
|
|
217
338
|
diagnostic: z.ZodString;
|
|
218
|
-
|
|
339
|
+
stage: z.ZodLiteral<"alias">;
|
|
340
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
341
|
+
diagnostic: z.ZodString;
|
|
342
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
343
|
+
stage: z.ZodLiteral<"wake">;
|
|
344
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
345
|
+
stage: z.ZodLiteral<"observation">;
|
|
346
|
+
diagnostic: z.ZodString;
|
|
347
|
+
}, z.core.$strict>>]>>>>;
|
|
348
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>>;
|
|
349
|
+
aliasName: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaAlias, string>>>;
|
|
219
350
|
dispatchWarning: z.ZodExactOptional<z.ZodString>;
|
|
351
|
+
alias: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
352
|
+
kind: z.ZodLiteral<"moved">;
|
|
353
|
+
previousAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
354
|
+
}, z.core.$strict>>>;
|
|
220
355
|
cwd: z.ZodString;
|
|
221
356
|
}, z.core.$strict>>;
|
|
222
357
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -244,18 +379,19 @@ export declare const spawnProgressSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
244
379
|
kind: z.ZodLiteral<"unknown">;
|
|
245
380
|
}, z.core.$strict>>]>;
|
|
246
381
|
}, z.core.$strict>>;
|
|
382
|
+
cwd: z.ZodExactOptional<z.ZodString>;
|
|
383
|
+
model: z.ZodExactOptional<z.ZodString>;
|
|
384
|
+
provider: z.ZodExactOptional<z.ZodString>;
|
|
385
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
247
386
|
life: z.ZodEnum<{
|
|
248
|
-
killed: "killed";
|
|
249
387
|
hung: "hung";
|
|
250
388
|
untidy: "untidy";
|
|
389
|
+
killed: "killed";
|
|
251
390
|
running: "running";
|
|
252
391
|
asleep: "asleep";
|
|
253
392
|
stranded: "stranded";
|
|
254
393
|
}>;
|
|
255
|
-
|
|
256
|
-
provider: z.ZodExactOptional<z.ZodString>;
|
|
257
|
-
model: z.ZodExactOptional<z.ZodString>;
|
|
258
|
-
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
394
|
+
strandedReason: z.ZodExactOptional<z.ZodLiteral<"resume-unsupported">>;
|
|
259
395
|
timeline: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
260
396
|
reportedChanges: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
261
397
|
path: z.ZodString;
|
|
@@ -550,7 +686,6 @@ export declare const spawnProgressSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
550
686
|
}, z.core.$strict>>]>;
|
|
551
687
|
}, z.core.$strict>>]>>>;
|
|
552
688
|
}, z.core.$strict>>]>;
|
|
553
|
-
strandedReason: z.ZodExactOptional<z.ZodLiteral<"resume-unsupported">>;
|
|
554
689
|
}, z.core.$strict>>;
|
|
555
690
|
ordinarySelected: z.ZodNumber;
|
|
556
691
|
rows: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
@@ -691,9 +826,8 @@ export declare const spawnProgressSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
691
826
|
}, z.core.$strict>>;
|
|
692
827
|
}, z.core.$strict>>]>;
|
|
693
828
|
export type SpawnProgress = z.output<typeof spawnProgressSchema>;
|
|
694
|
-
type SpawnWaitObserver = Readonly<{
|
|
829
|
+
export type SpawnWaitObserver = Omit<AskObserver, "admitted"> & Readonly<{
|
|
695
830
|
admitted?: (tell: TellResult, id: AkumaStatus["id"], head: SpawnWaitHead) => void | Promise<void>;
|
|
696
|
-
observe?: AskObserver["observe"];
|
|
697
831
|
}>;
|
|
698
832
|
export type SpawnInput = Readonly<{
|
|
699
833
|
akumaName: string;
|
|
@@ -704,10 +838,8 @@ export type SpawnInput = Readonly<{
|
|
|
704
838
|
home?: string;
|
|
705
839
|
settings?: Settings;
|
|
706
840
|
contract?: Kei;
|
|
707
|
-
alias?:
|
|
708
|
-
writableDirectories?: readonly string[];
|
|
841
|
+
alias?: string;
|
|
709
842
|
bare?: boolean;
|
|
710
|
-
schema?: Schema<unknown>;
|
|
711
843
|
initiator?: string;
|
|
712
844
|
caller?: AkumaCaller;
|
|
713
845
|
signal?: AbortSignal;
|
|
@@ -727,4 +859,3 @@ export declare function callAkumas(input: SpawnInput & Readonly<{
|
|
|
727
859
|
export declare function forkAkumas(input: ForkInput & Readonly<{
|
|
728
860
|
path: WorldRoot;
|
|
729
861
|
}>, spawn: BodyLauncher): Promise<ForkResult>;
|
|
730
|
-
export {};
|