@intentic/sandbox-contract 1.312.0 → 1.313.0
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 +26 -3
- package/dist/chores/index.d.ts +0 -1
- package/dist/chores/index.d.ts.map +1 -1
- package/dist/chores/index.js +0 -1
- package/dist/chores/index.js.map +1 -1
- package/dist/contracts/accounts.contract.d.ts +57 -0
- package/dist/contracts/accounts.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.d.ts +436 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.js +11 -1
- package/dist/contracts/agent.contract.js.map +1 -1
- package/dist/contracts/agents.contract.d.ts +123 -96
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.js +1 -1
- package/dist/contracts/capabilities.contract.js.map +1 -1
- package/dist/contracts/device.contract.d.ts +19 -4
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/device.contract.js +1 -1
- package/dist/contracts/device.contract.js.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +11 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/git.contract.d.ts +2 -0
- package/dist/contracts/git.contract.d.ts.map +1 -1
- package/dist/contracts/personas.contract.d.ts +2 -0
- package/dist/contracts/personas.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +138 -0
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.js +1 -0
- package/dist/contracts/secrets.contract.js.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +59 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +12 -8
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.js +2 -2
- package/dist/contracts/settings.contract.js.map +1 -1
- package/dist/contracts/system.contract.d.ts +139 -19
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/translator.contract.d.ts +72 -0
- package/dist/contracts/translator.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +85 -14
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/documents/index.d.ts +1 -0
- package/dist/documents/index.d.ts.map +1 -1
- package/dist/documents/index.js +1 -0
- package/dist/documents/index.js.map +1 -1
- package/dist/documents/read.d.ts +24 -0
- package/dist/documents/read.d.ts.map +1 -0
- package/dist/documents/read.js +81 -0
- package/dist/documents/read.js.map +1 -0
- package/dist/events/agent-events.d.ts +235 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +3 -0
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/child-run.d.ts +9 -0
- package/dist/events/child-run.d.ts.map +1 -0
- package/dist/events/child-run.js +41 -0
- package/dist/events/child-run.js.map +1 -0
- package/dist/events/errands.d.ts +5 -0
- package/dist/events/errands.d.ts.map +1 -0
- package/dist/events/errands.js +19 -0
- package/dist/events/errands.js.map +1 -0
- package/dist/events/requests.d.ts +152 -0
- package/dist/events/requests.d.ts.map +1 -1
- package/dist/events/requests.js +26 -1
- package/dist/events/requests.js.map +1 -1
- package/dist/events/system-events.d.ts +8 -12
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +387 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +3 -0
- package/dist/events/transcript.js.map +1 -1
- package/dist/front/browser-wire.d.ts +6 -0
- package/dist/front/browser-wire.d.ts.map +1 -0
- package/dist/front/browser-wire.js +4 -0
- package/dist/front/browser-wire.js.map +1 -0
- package/dist/front/front-wire.d.ts +6 -0
- package/dist/front/front-wire.d.ts.map +1 -0
- package/dist/front/front-wire.js +5 -0
- package/dist/front/front-wire.js.map +1 -0
- package/dist/front/generated/browser-wire.d.ts +19 -0
- package/dist/front/generated/browser-wire.d.ts.map +1 -0
- package/dist/front/generated/browser-wire.js +2 -0
- package/dist/front/generated/browser-wire.js.map +1 -0
- package/dist/front/generated/wire.d.ts +36 -30
- package/dist/front/generated/wire.d.ts.map +1 -1
- package/dist/ids/conversation-ids.d.ts +1 -0
- package/dist/ids/conversation-ids.d.ts.map +1 -1
- package/dist/ids/conversation-ids.js +2 -2
- package/dist/ids/conversation-ids.js.map +1 -1
- package/dist/ids/session-names.d.ts +3 -0
- package/dist/ids/session-names.d.ts.map +1 -1
- package/dist/ids/session-names.js +3 -0
- package/dist/ids/session-names.js.map +1 -1
- package/dist/index.d.ts +1036 -168
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/models/agent-catalog.d.ts.map +1 -1
- package/dist/models/agent-catalog.js +4 -6
- package/dist/models/agent-catalog.js.map +1 -1
- package/dist/models/agent-runtimes.d.ts +2 -1
- package/dist/models/agent-runtimes.d.ts.map +1 -1
- package/dist/models/agent-runtimes.js +7 -1
- package/dist/models/agent-runtimes.js.map +1 -1
- package/dist/models/plan-pools.d.ts +22 -1
- package/dist/models/plan-pools.d.ts.map +1 -1
- package/dist/models/plan-pools.js +86 -0
- package/dist/models/plan-pools.js.map +1 -1
- package/dist/policy/request-status.d.ts +1 -1
- package/dist/policy/request-status.d.ts.map +1 -1
- package/dist/policy/request-status.js +4 -11
- package/dist/policy/request-status.js.map +1 -1
- package/dist/policy/reserved-servers.d.ts.map +1 -1
- package/dist/policy/reserved-servers.js +2 -1
- package/dist/policy/reserved-servers.js.map +1 -1
- package/dist/policy/turned-away.d.ts.map +1 -1
- package/dist/policy/turned-away.js +1 -0
- package/dist/policy/turned-away.js.map +1 -1
- package/dist/protocol/edge-verdict.d.ts +2 -1
- package/dist/protocol/edge-verdict.d.ts.map +1 -1
- package/dist/protocol/edge-verdict.js +1 -1
- package/dist/protocol/edge-verdict.js.map +1 -1
- package/dist/protocol/ingress-contract.d.ts +1 -1
- package/dist/protocol/ingress-contract.d.ts.map +1 -1
- package/dist/protocol/ingress-contract.js +1 -1
- package/dist/protocol/ingress-contract.js.map +1 -1
- package/dist/protocol/raw-routes.d.ts +18 -40
- package/dist/protocol/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw-routes.js +5 -16
- package/dist/protocol/raw-routes.js.map +1 -1
- package/dist/protocol/route-meta.d.ts +20 -0
- package/dist/protocol/route-meta.d.ts.map +1 -1
- package/dist/protocol/route-meta.js +16 -0
- package/dist/protocol/route-meta.js.map +1 -1
- package/dist/protocol/tunnel-bulk.d.ts +2 -0
- package/dist/protocol/tunnel-bulk.d.ts.map +1 -0
- package/dist/protocol/tunnel-bulk.js +3 -0
- package/dist/protocol/tunnel-bulk.js.map +1 -0
- package/dist/protocol/x402.d.ts +17 -0
- package/dist/protocol/x402.d.ts.map +1 -0
- package/dist/protocol/x402.js +37 -0
- package/dist/protocol/x402.js.map +1 -0
- package/dist/schemas/agent.d.ts +25 -0
- package/dist/schemas/agent.d.ts.map +1 -1
- package/dist/schemas/agent.js +14 -2
- package/dist/schemas/agent.js.map +1 -1
- package/dist/schemas/agents.d.ts +17 -18
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +16 -3
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/automations.d.ts +4 -6
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/automations.js.map +1 -1
- package/dist/schemas/devices.d.ts +132 -7
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +43 -18
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/extension-updates.d.ts +22 -0
- package/dist/schemas/extension-updates.d.ts.map +1 -1
- package/dist/schemas/extension-updates.js +4 -0
- package/dist/schemas/extension-updates.js.map +1 -1
- package/dist/schemas/git/git.d.ts +3 -0
- package/dist/schemas/git/git.d.ts.map +1 -1
- package/dist/schemas/hosts.d.ts +29 -5
- package/dist/schemas/hosts.d.ts.map +1 -1
- package/dist/schemas/hosts.js +20 -7
- package/dist/schemas/hosts.js.map +1 -1
- package/dist/schemas/keep-warm.d.ts +2 -12
- package/dist/schemas/keep-warm.d.ts.map +1 -1
- package/dist/schemas/keep-warm.js +8 -10
- package/dist/schemas/keep-warm.js.map +1 -1
- package/dist/schemas/metrics.d.ts +22 -0
- package/dist/schemas/metrics.d.ts.map +1 -1
- package/dist/schemas/metrics.js +18 -3
- package/dist/schemas/metrics.js.map +1 -1
- package/dist/schemas/personas.d.ts +3 -0
- package/dist/schemas/personas.d.ts.map +1 -1
- package/dist/schemas/personas.js +9 -0
- package/dist/schemas/personas.js.map +1 -1
- package/dist/schemas/providers/plan-limits.d.ts +140 -0
- package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
- package/dist/schemas/providers/plan-limits.js +47 -1
- package/dist/schemas/providers/plan-limits.js.map +1 -1
- package/dist/schemas/providers/provider-oauth.d.ts +57 -0
- package/dist/schemas/providers/provider-oauth.d.ts.map +1 -1
- package/dist/schemas/providers/provider-oauth.js +6 -1
- package/dist/schemas/providers/provider-oauth.js.map +1 -1
- package/dist/schemas/settings-history.d.ts +28 -1
- package/dist/schemas/settings-history.d.ts.map +1 -1
- package/dist/schemas/settings-history.js +35 -1
- package/dist/schemas/settings-history.js.map +1 -1
- package/dist/schemas/settings.d.ts +184 -4
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +31 -23
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/speaker.d.ts +36 -0
- package/dist/schemas/speaker.d.ts.map +1 -0
- package/dist/schemas/speaker.js +62 -0
- package/dist/schemas/speaker.js.map +1 -0
- package/dist/schemas/state-plan.d.ts +46 -0
- package/dist/schemas/state-plan.d.ts.map +1 -0
- package/dist/schemas/state-plan.js +31 -0
- package/dist/schemas/state-plan.js.map +1 -0
- package/dist/schemas/system.d.ts +48 -8
- package/dist/schemas/system.d.ts.map +1 -1
- package/dist/schemas/system.js +10 -14
- package/dist/schemas/system.js.map +1 -1
- package/dist/schemas/workspace/mainline.d.ts +206 -64
- package/dist/schemas/workspace/mainline.d.ts.map +1 -1
- package/dist/schemas/workspace/mainline.js +73 -25
- package/dist/schemas/workspace/mainline.js.map +1 -1
- package/dist/state/contract-lock.d.ts +1 -0
- package/dist/state/contract-lock.d.ts.map +1 -1
- package/dist/state/contract-lock.js +47 -1
- package/dist/state/contract-lock.js.map +1 -1
- package/dist/state/definition.d.ts +24 -16
- package/dist/state/definition.d.ts.map +1 -1
- package/dist/state/fix-stance.d.ts +1 -1
- package/dist/state/fix-stance.d.ts.map +1 -1
- package/dist/state/fix-stance.js +2 -1
- package/dist/state/fix-stance.js.map +1 -1
- package/dist/state/history-state.d.ts.map +1 -1
- package/dist/state/history-state.js +2 -0
- package/dist/state/history-state.js.map +1 -1
- package/dist/state/landed-commit.d.ts +1 -0
- package/dist/state/landed-commit.d.ts.map +1 -1
- package/dist/state/landed-commit.js +2 -0
- package/dist/state/landed-commit.js.map +1 -1
- package/dist/state/red-streak.d.ts +7 -0
- package/dist/state/red-streak.d.ts.map +1 -0
- package/dist/state/red-streak.js +11 -0
- package/dist/state/red-streak.js.map +1 -0
- package/dist/state/workspace-state.d.ts +1 -0
- package/dist/state/workspace-state.d.ts.map +1 -1
- package/dist/state/workspace-state.js +6 -2
- package/dist/state/workspace-state.js.map +1 -1
- package/dist/text/shell-regions.d.ts +1 -0
- package/dist/text/shell-regions.d.ts.map +1 -1
- package/dist/text/shell-regions.js +1 -1
- package/dist/text/shell-regions.js.map +1 -1
- package/dist/text/transcript-fold.d.ts.map +1 -1
- package/dist/text/transcript-fold.js +14 -7
- package/dist/text/transcript-fold.js.map +1 -1
- package/package.json +28 -29
- package/src/chores/index.ts +0 -1
- package/src/contracts/agent.contract.ts +14 -0
- package/src/contracts/capabilities.contract.ts +2 -2
- package/src/contracts/device.contract.ts +5 -3
- package/src/contracts/secrets.contract.ts +2 -0
- package/src/contracts/settings.contract.ts +2 -1
- package/src/documents/conversions.ts +3 -3
- package/src/documents/index.ts +3 -1
- package/src/documents/read.ts +114 -0
- package/src/events/agent-events.ts +5 -0
- package/src/events/child-run.test.ts +81 -0
- package/src/events/child-run.ts +73 -0
- package/src/events/errands.test.ts +22 -0
- package/src/events/errands.ts +27 -0
- package/src/events/requests.ts +40 -1
- package/src/events/transcript.ts +8 -0
- package/src/front/browser-wire.ts +20 -0
- package/src/front/front-wire.ts +15 -0
- package/src/front/generated/browser-wire.json +138 -0
- package/src/front/generated/browser-wire.ts +16 -0
- package/src/front/generated/front-wire.json +793 -0
- package/src/front/generated/tunnel.json +38 -0
- package/src/front/generated/wire.ts +21 -24
- package/src/front/wire-manifests.test.ts +61 -0
- package/src/ids/conversation-ids.ts +6 -5
- package/src/ids/session-names.ts +7 -0
- package/src/index.ts +8 -1
- package/src/models/agent-catalog.test.ts +6 -4
- package/src/models/agent-catalog.ts +4 -6
- package/src/models/agent-runtimes.ts +22 -7
- package/src/models/capability-ledger.test.ts +2 -0
- package/src/models/plan-pools.test.ts +121 -2
- package/src/models/plan-pools.ts +152 -2
- package/src/policy/request-status.ts +4 -12
- package/src/policy/reserved-servers.test.ts +6 -0
- package/src/policy/reserved-servers.ts +13 -10
- package/src/policy/turned-away.ts +3 -0
- package/src/protocol/edge-verdict.ts +13 -11
- package/src/protocol/ingress-contract.fixture.json +13 -0
- package/src/protocol/ingress-contract.ts +9 -5
- package/src/protocol/raw-routes.ts +10 -21
- package/src/protocol/route-meta.ts +36 -1
- package/src/protocol/tunnel-bulk.test.ts +37 -0
- package/src/protocol/tunnel-bulk.ts +7 -0
- package/src/protocol/x402.test.ts +29 -0
- package/src/protocol/x402.ts +61 -0
- package/src/schemas/agent.ts +28 -3
- package/src/schemas/agents.ts +32 -6
- package/src/schemas/automations.ts +4 -2
- package/src/schemas/devices.ts +106 -39
- package/src/schemas/extension-updates.ts +6 -0
- package/src/schemas/hosts.ts +62 -19
- package/src/schemas/ic-shape-args.test.ts +64 -0
- package/src/schemas/keep-warm.test.ts +6 -13
- package/src/schemas/keep-warm.ts +15 -20
- package/src/schemas/metrics.ts +26 -3
- package/src/schemas/personas.ts +15 -0
- package/src/schemas/providers/plan-limits.ts +71 -1
- package/src/schemas/providers/provider-oauth.ts +10 -1
- package/src/schemas/settings-history.ts +50 -3
- package/src/schemas/settings.test.ts +54 -1
- package/src/schemas/settings.ts +49 -31
- package/src/schemas/speaker.ts +89 -0
- package/src/schemas/state-plan.test.ts +69 -0
- package/src/schemas/state-plan.ts +47 -0
- package/src/schemas/system.ts +20 -16
- package/src/schemas/workspace/mainline.test.ts +28 -0
- package/src/schemas/workspace/mainline.ts +111 -44
- package/src/state/contract-lock.test.ts +65 -4
- package/src/state/contract-lock.ts +70 -2
- package/src/state/fix-stance.test.ts +8 -0
- package/src/state/fix-stance.ts +3 -3
- package/src/state/history-state.ts +5 -1
- package/src/state/landed-commit.test.ts +12 -1
- package/src/state/landed-commit.ts +5 -0
- package/src/state/red-streak.test.ts +28 -0
- package/src/state/red-streak.ts +28 -0
- package/src/state/workspace-state.test.ts +7 -1
- package/src/state/workspace-state.ts +10 -2
- package/src/text/shell-regions.test.ts +38 -0
- package/src/text/shell-regions.ts +3 -3
- package/src/text/transcript-fold.test.ts +13 -0
- package/src/text/transcript-fold.ts +17 -8
- package/dist/chores/fix-deps.d.ts +0 -10
- package/dist/chores/fix-deps.d.ts.map +0 -1
- package/dist/chores/fix-deps.js +0 -19
- package/dist/chores/fix-deps.js.map +0 -1
- package/dist/front/terminal-frames.d.ts +0 -17
- package/dist/front/terminal-frames.d.ts.map +0 -1
- package/dist/front/terminal-frames.js +0 -79
- package/dist/front/terminal-frames.js.map +0 -1
- package/dist/protocol/tunnel-lanes.d.ts +0 -10
- package/dist/protocol/tunnel-lanes.d.ts.map +0 -1
- package/dist/protocol/tunnel-lanes.js +0 -16
- package/dist/protocol/tunnel-lanes.js.map +0 -1
- package/dist/protocol/upgrade-relay.d.ts +0 -4
- package/dist/protocol/upgrade-relay.d.ts.map +0 -1
- package/dist/protocol/upgrade-relay.js +0 -25
- package/dist/protocol/upgrade-relay.js.map +0 -1
- package/src/chores/fix-deps.ts +0 -23
- package/src/front/terminal-frames.fixture.json +0 -55
- package/src/front/terminal-frames.test.ts +0 -63
- package/src/front/terminal-frames.ts +0 -102
- package/src/protocol/tunnel-lanes.json +0 -136
- package/src/protocol/tunnel-lanes.test.ts +0 -30
- package/src/protocol/tunnel-lanes.ts +0 -32
- package/src/protocol/upgrade-relay.ts +0 -28
|
@@ -5,7 +5,18 @@ export declare const MainlineLandSchema: z.ZodObject<{
|
|
|
5
5
|
at: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
export type MainlineLand = z.infer<typeof MainlineLandSchema>;
|
|
8
|
+
export declare const MainlineLandRefSchema: z.ZodObject<{
|
|
9
|
+
conversationId: z.ZodString;
|
|
10
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type MainlineLandRef = z.infer<typeof MainlineLandRefSchema>;
|
|
13
|
+
export declare const MainlineFailureSchema: z.ZodObject<{
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
path: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type MainlineFailure = z.infer<typeof MainlineFailureSchema>;
|
|
8
18
|
export declare const MainlineRoutingKindSchema: z.ZodEnum<{
|
|
19
|
+
dismissed: "dismissed";
|
|
9
20
|
"fix-up": "fix-up";
|
|
10
21
|
held: "held";
|
|
11
22
|
original: "original";
|
|
@@ -17,6 +28,7 @@ export declare const MainlineRoutingKindSchema: z.ZodEnum<{
|
|
|
17
28
|
export type MainlineRoutingKind = z.infer<typeof MainlineRoutingKindSchema>;
|
|
18
29
|
export declare const MainlineRoutingSchema: z.ZodObject<{
|
|
19
30
|
kind: z.ZodEnum<{
|
|
31
|
+
dismissed: "dismissed";
|
|
20
32
|
"fix-up": "fix-up";
|
|
21
33
|
held: "held";
|
|
22
34
|
original: "original";
|
|
@@ -28,6 +40,7 @@ export declare const MainlineRoutingSchema: z.ZodObject<{
|
|
|
28
40
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
29
41
|
at: z.ZodNumber;
|
|
30
42
|
detail: z.ZodOptional<z.ZodString>;
|
|
43
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
44
|
}, z.core.$strip>;
|
|
32
45
|
export type MainlineRouting = z.infer<typeof MainlineRoutingSchema>;
|
|
33
46
|
export declare const MAINLINE_FAILURES_KEPT = 30;
|
|
@@ -49,8 +62,14 @@ export declare const MainlineRunSchema: z.ZodObject<{
|
|
|
49
62
|
failureCount: z.ZodNumber;
|
|
50
63
|
attempt: z.ZodNumber;
|
|
51
64
|
suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
|
+
named: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
path: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
52
70
|
routing: z.ZodOptional<z.ZodObject<{
|
|
53
71
|
kind: z.ZodEnum<{
|
|
72
|
+
dismissed: "dismissed";
|
|
54
73
|
"fix-up": "fix-up";
|
|
55
74
|
held: "held";
|
|
56
75
|
original: "original";
|
|
@@ -62,6 +81,7 @@ export declare const MainlineRunSchema: z.ZodObject<{
|
|
|
62
81
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
63
82
|
at: z.ZodNumber;
|
|
64
83
|
detail: z.ZodOptional<z.ZodString>;
|
|
84
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
85
|
}, z.core.$strip>>;
|
|
66
86
|
}, z.core.$strip>;
|
|
67
87
|
export type MainlineRun = z.infer<typeof MainlineRunSchema>;
|
|
@@ -77,6 +97,7 @@ export declare const MainlineProjectSchema: z.ZodObject<{
|
|
|
77
97
|
}, z.core.$strip>>;
|
|
78
98
|
on: z.ZodOptional<z.ZodString>;
|
|
79
99
|
}, z.core.$strip>>;
|
|
100
|
+
session: z.ZodOptional<z.ZodString>;
|
|
80
101
|
queued: z.ZodArray<z.ZodObject<{
|
|
81
102
|
conversationId: z.ZodString;
|
|
82
103
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -100,8 +121,14 @@ export declare const MainlineProjectSchema: z.ZodObject<{
|
|
|
100
121
|
failureCount: z.ZodNumber;
|
|
101
122
|
attempt: z.ZodNumber;
|
|
102
123
|
suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
124
|
+
named: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
126
|
+
name: z.ZodString;
|
|
127
|
+
path: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.core.$strip>>>;
|
|
103
129
|
routing: z.ZodOptional<z.ZodObject<{
|
|
104
130
|
kind: z.ZodEnum<{
|
|
131
|
+
dismissed: "dismissed";
|
|
105
132
|
"fix-up": "fix-up";
|
|
106
133
|
held: "held";
|
|
107
134
|
original: "original";
|
|
@@ -113,53 +140,108 @@ export declare const MainlineProjectSchema: z.ZodObject<{
|
|
|
113
140
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
114
141
|
at: z.ZodNumber;
|
|
115
142
|
detail: z.ZodOptional<z.ZodString>;
|
|
143
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
144
|
}, z.core.$strip>>;
|
|
117
145
|
}, z.core.$strip>>;
|
|
118
146
|
redSince: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
red: z.ZodOptional<z.ZodObject<{
|
|
148
|
+
since: z.ZodNumber;
|
|
149
|
+
cause: z.ZodArray<z.ZodObject<{
|
|
150
|
+
conversationId: z.ZodString;
|
|
151
|
+
title: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
named: z.ZodBoolean;
|
|
154
|
+
fixer: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
kind: z.ZodEnum<{
|
|
156
|
+
dismissed: "dismissed";
|
|
157
|
+
"fix-up": "fix-up";
|
|
158
|
+
held: "held";
|
|
159
|
+
original: "original";
|
|
160
|
+
reported: "reported";
|
|
161
|
+
resolved: "resolved";
|
|
162
|
+
spent: "spent";
|
|
163
|
+
waiting: "waiting";
|
|
164
|
+
}>;
|
|
165
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
166
|
+
at: z.ZodNumber;
|
|
167
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
168
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
169
|
+
}, z.core.$strip>>;
|
|
170
|
+
}, z.core.$strip>>;
|
|
119
171
|
}, z.core.$strip>;
|
|
120
172
|
export type MainlineProject = z.infer<typeof MainlineProjectSchema>;
|
|
121
|
-
export declare const
|
|
122
|
-
check: "check";
|
|
123
|
-
lint: "lint";
|
|
124
|
-
lockstep: "lockstep";
|
|
125
|
-
ratchet: "ratchet";
|
|
126
|
-
rustfmt: "rustfmt";
|
|
127
|
-
}>;
|
|
128
|
-
export type PushFindingKind = z.infer<typeof PushFindingKindSchema>;
|
|
129
|
-
export declare const PushFindingStateSchema: z.ZodEnum<{
|
|
130
|
-
dismissed: "dismissed";
|
|
131
|
-
open: "open";
|
|
132
|
-
resolved: "resolved";
|
|
133
|
-
}>;
|
|
134
|
-
export type PushFindingState = z.infer<typeof PushFindingStateSchema>;
|
|
135
|
-
export declare const PushFindingSchema: z.ZodObject<{
|
|
173
|
+
export declare const FindingSchema: z.ZodObject<{
|
|
136
174
|
id: z.ZodString;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
rustfmt: "rustfmt";
|
|
143
|
-
}>;
|
|
144
|
-
check: z.ZodOptional<z.ZodString>;
|
|
175
|
+
source: z.ZodString;
|
|
176
|
+
text: z.ZodString;
|
|
177
|
+
path: z.ZodOptional<z.ZodString>;
|
|
178
|
+
command: z.ZodOptional<z.ZodString>;
|
|
179
|
+
recheckable: z.ZodBoolean;
|
|
145
180
|
gate: z.ZodOptional<z.ZodEnum<{
|
|
146
181
|
code: "code";
|
|
147
182
|
tidy: "tidy";
|
|
148
183
|
}>>;
|
|
149
|
-
text: z.ZodString;
|
|
150
|
-
command: z.ZodOptional<z.ZodString>;
|
|
151
184
|
commit: z.ZodOptional<z.ZodObject<{
|
|
152
185
|
sha: z.ZodString;
|
|
153
186
|
subject: z.ZodString;
|
|
154
187
|
}, z.core.$strip>>;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
export type Finding = z.infer<typeof FindingSchema>;
|
|
190
|
+
export declare const RedSourceSchema: z.ZodEnum<{
|
|
191
|
+
ci: "ci";
|
|
192
|
+
land: "land";
|
|
193
|
+
push: "push";
|
|
194
|
+
}>;
|
|
195
|
+
export type RedSource = z.infer<typeof RedSourceSchema>;
|
|
196
|
+
export declare const RED_POLICY: {
|
|
197
|
+
readonly land: "route";
|
|
198
|
+
readonly push: "owner";
|
|
199
|
+
readonly ci: "fix-agent";
|
|
200
|
+
};
|
|
201
|
+
export declare const RedSchema: z.ZodObject<{
|
|
202
|
+
source: z.ZodEnum<{
|
|
203
|
+
ci: "ci";
|
|
204
|
+
land: "land";
|
|
205
|
+
push: "push";
|
|
159
206
|
}>;
|
|
160
|
-
|
|
207
|
+
scope: z.ZodString;
|
|
208
|
+
since: z.ZodNumber;
|
|
209
|
+
findings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodString;
|
|
211
|
+
source: z.ZodString;
|
|
212
|
+
text: z.ZodString;
|
|
213
|
+
path: z.ZodOptional<z.ZodString>;
|
|
214
|
+
command: z.ZodOptional<z.ZodString>;
|
|
215
|
+
recheckable: z.ZodBoolean;
|
|
216
|
+
gate: z.ZodOptional<z.ZodEnum<{
|
|
217
|
+
code: "code";
|
|
218
|
+
tidy: "tidy";
|
|
219
|
+
}>>;
|
|
220
|
+
commit: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
sha: z.ZodString;
|
|
222
|
+
subject: z.ZodString;
|
|
223
|
+
}, z.core.$strip>>;
|
|
224
|
+
}, z.core.$strip>>>;
|
|
225
|
+
suspects: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
226
|
+
named: z.ZodDefault<z.ZodBoolean>;
|
|
227
|
+
decisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
228
|
+
kind: z.ZodEnum<{
|
|
229
|
+
dismissed: "dismissed";
|
|
230
|
+
"fix-up": "fix-up";
|
|
231
|
+
held: "held";
|
|
232
|
+
original: "original";
|
|
233
|
+
reported: "reported";
|
|
234
|
+
resolved: "resolved";
|
|
235
|
+
spent: "spent";
|
|
236
|
+
waiting: "waiting";
|
|
237
|
+
}>;
|
|
238
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
239
|
+
at: z.ZodNumber;
|
|
240
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
241
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
161
243
|
}, z.core.$strip>;
|
|
162
|
-
export type
|
|
244
|
+
export type Red = z.infer<typeof RedSchema>;
|
|
163
245
|
export declare const MainlinePushSchema: z.ZodObject<{
|
|
164
246
|
project: z.ZodString;
|
|
165
247
|
id: z.ZodString;
|
|
@@ -171,32 +253,21 @@ export declare const MainlinePushSchema: z.ZodObject<{
|
|
|
171
253
|
commits: z.ZodNumber;
|
|
172
254
|
findings: z.ZodArray<z.ZodObject<{
|
|
173
255
|
id: z.ZodString;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
rustfmt: "rustfmt";
|
|
180
|
-
}>;
|
|
181
|
-
check: z.ZodOptional<z.ZodString>;
|
|
256
|
+
source: z.ZodString;
|
|
257
|
+
text: z.ZodString;
|
|
258
|
+
path: z.ZodOptional<z.ZodString>;
|
|
259
|
+
command: z.ZodOptional<z.ZodString>;
|
|
260
|
+
recheckable: z.ZodBoolean;
|
|
182
261
|
gate: z.ZodOptional<z.ZodEnum<{
|
|
183
262
|
code: "code";
|
|
184
263
|
tidy: "tidy";
|
|
185
264
|
}>>;
|
|
186
|
-
text: z.ZodString;
|
|
187
|
-
command: z.ZodOptional<z.ZodString>;
|
|
188
265
|
commit: z.ZodOptional<z.ZodObject<{
|
|
189
266
|
sha: z.ZodString;
|
|
190
267
|
subject: z.ZodString;
|
|
191
268
|
}, z.core.$strip>>;
|
|
192
|
-
state: z.ZodEnum<{
|
|
193
|
-
dismissed: "dismissed";
|
|
194
|
-
open: "open";
|
|
195
|
-
resolved: "resolved";
|
|
196
|
-
}>;
|
|
197
|
-
settledAt: z.ZodOptional<z.ZodNumber>;
|
|
198
269
|
}, z.core.$strip>>;
|
|
199
|
-
|
|
270
|
+
refused: z.ZodOptional<z.ZodBoolean>;
|
|
200
271
|
}, z.core.$strip>;
|
|
201
272
|
export type MainlinePush = z.infer<typeof MainlinePushSchema>;
|
|
202
273
|
export declare const MainlineStatusSchema: z.ZodObject<{
|
|
@@ -212,6 +283,7 @@ export declare const MainlineStatusSchema: z.ZodObject<{
|
|
|
212
283
|
}, z.core.$strip>>;
|
|
213
284
|
on: z.ZodOptional<z.ZodString>;
|
|
214
285
|
}, z.core.$strip>>;
|
|
286
|
+
session: z.ZodOptional<z.ZodString>;
|
|
215
287
|
queued: z.ZodArray<z.ZodObject<{
|
|
216
288
|
conversationId: z.ZodString;
|
|
217
289
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -235,8 +307,14 @@ export declare const MainlineStatusSchema: z.ZodObject<{
|
|
|
235
307
|
failureCount: z.ZodNumber;
|
|
236
308
|
attempt: z.ZodNumber;
|
|
237
309
|
suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
310
|
+
named: z.ZodOptional<z.ZodBoolean>;
|
|
311
|
+
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
312
|
+
name: z.ZodString;
|
|
313
|
+
path: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, z.core.$strip>>>;
|
|
238
315
|
routing: z.ZodOptional<z.ZodObject<{
|
|
239
316
|
kind: z.ZodEnum<{
|
|
317
|
+
dismissed: "dismissed";
|
|
240
318
|
"fix-up": "fix-up";
|
|
241
319
|
held: "held";
|
|
242
320
|
original: "original";
|
|
@@ -248,9 +326,34 @@ export declare const MainlineStatusSchema: z.ZodObject<{
|
|
|
248
326
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
249
327
|
at: z.ZodNumber;
|
|
250
328
|
detail: z.ZodOptional<z.ZodString>;
|
|
329
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
330
|
}, z.core.$strip>>;
|
|
252
331
|
}, z.core.$strip>>;
|
|
253
332
|
redSince: z.ZodOptional<z.ZodNumber>;
|
|
333
|
+
red: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
since: z.ZodNumber;
|
|
335
|
+
cause: z.ZodArray<z.ZodObject<{
|
|
336
|
+
conversationId: z.ZodString;
|
|
337
|
+
title: z.ZodOptional<z.ZodString>;
|
|
338
|
+
}, z.core.$strip>>;
|
|
339
|
+
named: z.ZodBoolean;
|
|
340
|
+
fixer: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
kind: z.ZodEnum<{
|
|
342
|
+
dismissed: "dismissed";
|
|
343
|
+
"fix-up": "fix-up";
|
|
344
|
+
held: "held";
|
|
345
|
+
original: "original";
|
|
346
|
+
reported: "reported";
|
|
347
|
+
resolved: "resolved";
|
|
348
|
+
spent: "spent";
|
|
349
|
+
waiting: "waiting";
|
|
350
|
+
}>;
|
|
351
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
352
|
+
at: z.ZodNumber;
|
|
353
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
354
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
355
|
+
}, z.core.$strip>>;
|
|
356
|
+
}, z.core.$strip>>;
|
|
254
357
|
}, z.core.$strip>>;
|
|
255
358
|
recent: z.ZodArray<z.ZodObject<{
|
|
256
359
|
project: z.ZodString;
|
|
@@ -270,8 +373,14 @@ export declare const MainlineStatusSchema: z.ZodObject<{
|
|
|
270
373
|
failureCount: z.ZodNumber;
|
|
271
374
|
attempt: z.ZodNumber;
|
|
272
375
|
suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
376
|
+
named: z.ZodOptional<z.ZodBoolean>;
|
|
377
|
+
units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
378
|
+
name: z.ZodString;
|
|
379
|
+
path: z.ZodOptional<z.ZodString>;
|
|
380
|
+
}, z.core.$strip>>>;
|
|
273
381
|
routing: z.ZodOptional<z.ZodObject<{
|
|
274
382
|
kind: z.ZodEnum<{
|
|
383
|
+
dismissed: "dismissed";
|
|
275
384
|
"fix-up": "fix-up";
|
|
276
385
|
held: "held";
|
|
277
386
|
original: "original";
|
|
@@ -283,9 +392,10 @@ export declare const MainlineStatusSchema: z.ZodObject<{
|
|
|
283
392
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
284
393
|
at: z.ZodNumber;
|
|
285
394
|
detail: z.ZodOptional<z.ZodString>;
|
|
395
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
286
396
|
}, z.core.$strip>>;
|
|
287
397
|
}, z.core.$strip>>;
|
|
288
|
-
|
|
398
|
+
pushed: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
289
399
|
project: z.ZodString;
|
|
290
400
|
id: z.ZodString;
|
|
291
401
|
at: z.ZodNumber;
|
|
@@ -296,32 +406,64 @@ export declare const MainlineStatusSchema: z.ZodObject<{
|
|
|
296
406
|
commits: z.ZodNumber;
|
|
297
407
|
findings: z.ZodArray<z.ZodObject<{
|
|
298
408
|
id: z.ZodString;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
rustfmt: "rustfmt";
|
|
305
|
-
}>;
|
|
306
|
-
check: z.ZodOptional<z.ZodString>;
|
|
409
|
+
source: z.ZodString;
|
|
410
|
+
text: z.ZodString;
|
|
411
|
+
path: z.ZodOptional<z.ZodString>;
|
|
412
|
+
command: z.ZodOptional<z.ZodString>;
|
|
413
|
+
recheckable: z.ZodBoolean;
|
|
307
414
|
gate: z.ZodOptional<z.ZodEnum<{
|
|
308
415
|
code: "code";
|
|
309
416
|
tidy: "tidy";
|
|
310
417
|
}>>;
|
|
418
|
+
commit: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
sha: z.ZodString;
|
|
420
|
+
subject: z.ZodString;
|
|
421
|
+
}, z.core.$strip>>;
|
|
422
|
+
}, z.core.$strip>>;
|
|
423
|
+
refused: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
}, z.core.$strip>>>;
|
|
425
|
+
reds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
426
|
+
source: z.ZodEnum<{
|
|
427
|
+
ci: "ci";
|
|
428
|
+
land: "land";
|
|
429
|
+
push: "push";
|
|
430
|
+
}>;
|
|
431
|
+
scope: z.ZodString;
|
|
432
|
+
since: z.ZodNumber;
|
|
433
|
+
findings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
434
|
+
id: z.ZodString;
|
|
435
|
+
source: z.ZodString;
|
|
311
436
|
text: z.ZodString;
|
|
437
|
+
path: z.ZodOptional<z.ZodString>;
|
|
312
438
|
command: z.ZodOptional<z.ZodString>;
|
|
439
|
+
recheckable: z.ZodBoolean;
|
|
440
|
+
gate: z.ZodOptional<z.ZodEnum<{
|
|
441
|
+
code: "code";
|
|
442
|
+
tidy: "tidy";
|
|
443
|
+
}>>;
|
|
313
444
|
commit: z.ZodOptional<z.ZodObject<{
|
|
314
445
|
sha: z.ZodString;
|
|
315
446
|
subject: z.ZodString;
|
|
316
447
|
}, z.core.$strip>>;
|
|
317
|
-
|
|
448
|
+
}, z.core.$strip>>>;
|
|
449
|
+
suspects: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
450
|
+
named: z.ZodDefault<z.ZodBoolean>;
|
|
451
|
+
decisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
452
|
+
kind: z.ZodEnum<{
|
|
318
453
|
dismissed: "dismissed";
|
|
319
|
-
|
|
454
|
+
"fix-up": "fix-up";
|
|
455
|
+
held: "held";
|
|
456
|
+
original: "original";
|
|
457
|
+
reported: "reported";
|
|
320
458
|
resolved: "resolved";
|
|
459
|
+
spent: "spent";
|
|
460
|
+
waiting: "waiting";
|
|
321
461
|
}>;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
462
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
463
|
+
at: z.ZodNumber;
|
|
464
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
465
|
+
findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
466
|
+
}, z.core.$strip>>>;
|
|
325
467
|
}, z.core.$strip>>>;
|
|
326
468
|
}, z.core.$strip>;
|
|
327
469
|
export type MainlineStatus = z.infer<typeof MainlineStatusSchema>;
|
|
@@ -366,6 +508,6 @@ export type MainlinePushFix = z.infer<typeof MainlinePushFixSchema>;
|
|
|
366
508
|
export declare const MainlinePushFixResultSchema: z.ZodObject<{
|
|
367
509
|
conversationId: z.ZodString;
|
|
368
510
|
}, z.core.$strip>;
|
|
369
|
-
export declare const
|
|
370
|
-
export declare const
|
|
511
|
+
export declare const pushRedOf: (reds: readonly Red[] | undefined, project: string) => Red | undefined;
|
|
512
|
+
export declare const pushFixBase: (red: Pick<Red, "scope" | "since"> | undefined) => string | undefined;
|
|
371
513
|
//# sourceMappingURL=mainline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mainline.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace/mainline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eA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AO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,+BAA+B;;iBAE1C,CAAC;AAEH,eAAO,MAAM,yBAAyB;;iBAEpC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;iBAWhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,2BAA2B;;iBAEtC,CAAC;AAGH,eAAO,MAAM,SAAS,SAAU,SAAS,GAAG,EAAE,GAAG,SAAS,WAAW,MAAM,KAAG,GAAG,GAAG,SACb,CAAC;AAKxE,eAAO,MAAM,WAAW,QAAS,IAAI,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,SAAS,KAAG,MAAM,GAAG,SACoC,CAAC"}
|
|
@@ -6,6 +6,14 @@ export const MainlineLandSchema = z.object({
|
|
|
6
6
|
title: z.string().optional().describe("Its title when it landed."),
|
|
7
7
|
at: z.number().describe("When the land asked for the check, in milliseconds."),
|
|
8
8
|
});
|
|
9
|
+
export const MainlineLandRefSchema = z.object({
|
|
10
|
+
conversationId: z.string().describe("The conversation whose work landed."),
|
|
11
|
+
title: z.string().optional().describe("Its title when it landed."),
|
|
12
|
+
});
|
|
13
|
+
export const MainlineFailureSchema = z.object({
|
|
14
|
+
name: z.string().describe("What failed: a test by its own name, anything else (a type error, a whole task) as the check printed it."),
|
|
15
|
+
path: z.string().optional().describe("The repository path it failed in, when it names one."),
|
|
16
|
+
});
|
|
9
17
|
export const MainlineRoutingKindSchema = z.enum([
|
|
10
18
|
"waiting",
|
|
11
19
|
"held",
|
|
@@ -14,6 +22,7 @@ export const MainlineRoutingKindSchema = z.enum([
|
|
|
14
22
|
"reported",
|
|
15
23
|
"resolved",
|
|
16
24
|
"spent",
|
|
25
|
+
"dismissed",
|
|
17
26
|
]);
|
|
18
27
|
export const MainlineRoutingSchema = z.object({
|
|
19
28
|
kind: MainlineRoutingKindSchema.describe("What became of the failures."),
|
|
@@ -23,6 +32,10 @@ export const MainlineRoutingSchema = z.object({
|
|
|
23
32
|
.describe("The conversation working on them (the original or a fresh one), or the one still working that the repair waits for."),
|
|
24
33
|
at: z.number().describe("When that was decided, in milliseconds."),
|
|
25
34
|
detail: z.string().optional().describe("One sentence on why, in the sandbox's words."),
|
|
35
|
+
findings: z
|
|
36
|
+
.array(z.string())
|
|
37
|
+
.optional()
|
|
38
|
+
.describe("The findings it was about, by id, when it was about some of a red's findings rather than the whole red."),
|
|
26
39
|
});
|
|
27
40
|
export const MAINLINE_FAILURES_KEPT = 30;
|
|
28
41
|
export const MainlineRunSchema = z.object({
|
|
@@ -39,6 +52,14 @@ export const MainlineRunSchema = z.object({
|
|
|
39
52
|
.array(z.string())
|
|
40
53
|
.optional()
|
|
41
54
|
.describe("The conversations whose lands these failures were laid at, when any could be named."),
|
|
55
|
+
named: z
|
|
56
|
+
.boolean()
|
|
57
|
+
.optional()
|
|
58
|
+
.describe("Whether the failures were laid at the suspects by the paths they changed. False when nobody could be told apart (every land the run covered is a suspect) or nothing new failed in it (none is). Absent on green, and from a daemon that did not say."),
|
|
59
|
+
units: z
|
|
60
|
+
.array(MainlineFailureSchema)
|
|
61
|
+
.optional()
|
|
62
|
+
.describe("The same first failures, split into a name and the path they failed in. Absent from a daemon that does not split them."),
|
|
42
63
|
routing: MainlineRoutingSchema.optional().describe("What became of a red run's failures. Absent on green, and until it is decided."),
|
|
43
64
|
});
|
|
44
65
|
export const MainlineProjectSchema = z.object({
|
|
@@ -52,32 +73,53 @@ export const MainlineProjectSchema = z.object({
|
|
|
52
73
|
})
|
|
53
74
|
.optional()
|
|
54
75
|
.describe("The check running on it now, if any."),
|
|
76
|
+
session: z
|
|
77
|
+
.string()
|
|
78
|
+
.optional()
|
|
79
|
+
.describe("The terminal session its check runs in, running or last, to attach to for the whole log. Absent from a daemon that does not say."),
|
|
55
80
|
queued: z.array(MainlineLandSchema).describe("Lands waiting for the next check, which will measure them together."),
|
|
56
81
|
last: MainlineRunSchema.optional().describe("Its most recent settled check."),
|
|
57
82
|
redSince: z.number().optional().describe("When its checks went red and stayed so, in milliseconds. Absent while green."),
|
|
83
|
+
red: z
|
|
84
|
+
.object({
|
|
85
|
+
since: z.number().describe("When its checks went red and stayed so, in milliseconds."),
|
|
86
|
+
cause: z
|
|
87
|
+
.array(MainlineLandRefSchema)
|
|
88
|
+
.describe("The work this red is laid at, oldest first: the lands its failures were laid at on the latest run of the streak that could name any. Empty when none could be."),
|
|
89
|
+
named: z.boolean().describe("Whether `cause` was narrowed by the paths the lands changed; false when it is every land the run covered."),
|
|
90
|
+
fixer: MainlineRoutingSchema.optional().describe("The latest decision about who has it. Absent until one is made."),
|
|
91
|
+
})
|
|
92
|
+
.optional()
|
|
93
|
+
.describe("The red streak it is in, as the sandbox laid it. Absent while green, and from a daemon that does not lay it."),
|
|
58
94
|
});
|
|
59
|
-
export const
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
check: z.string().optional().describe("The check's own id, for a check's finding."),
|
|
95
|
+
export const FindingSchema = z.object({
|
|
96
|
+
id: z.string().describe("Stable across measurements: the same problem found again is the same id."),
|
|
97
|
+
source: z.string().describe("What measured it, in the repository's own words: a check's id, `lint`, a hook."),
|
|
98
|
+
text: z.string().describe("The finding as it was printed."),
|
|
99
|
+
path: z.string().optional().describe("The repository path it is about, when it names one."),
|
|
100
|
+
command: z.string().optional().describe("The command that shows it again."),
|
|
101
|
+
recheckable: z
|
|
102
|
+
.boolean()
|
|
103
|
+
.describe("Whether a later measurement can find it gone. False for one about commits already made, which ends only when dismissed."),
|
|
69
104
|
gate: z
|
|
70
105
|
.enum(["code", "tidy"])
|
|
71
106
|
.optional()
|
|
72
|
-
.describe("For a check's finding: `code` means the tree fails the check whoever caused it; `tidy` means the
|
|
73
|
-
text: z.string().describe("The finding as the check printed it."),
|
|
74
|
-
command: z.string().optional().describe("The command that shows it again."),
|
|
107
|
+
.describe("For a check's finding: `code` means the tree fails the check whoever caused it; `tidy` means the change measured added this line."),
|
|
75
108
|
commit: z
|
|
76
109
|
.object({ sha: z.string(), subject: z.string() })
|
|
77
110
|
.optional()
|
|
78
|
-
.describe("The newest
|
|
79
|
-
|
|
80
|
-
|
|
111
|
+
.describe("The newest commit of the change measured that touched the path it names, when it names one."),
|
|
112
|
+
});
|
|
113
|
+
export const RedSourceSchema = z.enum(["land", "push", "ci"]);
|
|
114
|
+
export const RED_POLICY = { land: "route", push: "owner", ci: "fix-agent" };
|
|
115
|
+
export const RedSchema = z.object({
|
|
116
|
+
source: RedSourceSchema.describe("What went red."),
|
|
117
|
+
scope: z.string().describe("Where: a project's folder, or a repository and branch."),
|
|
118
|
+
since: z.number().describe("When the red streak began (state/red-streak.ts)."),
|
|
119
|
+
findings: z.array(FindingSchema).default([]).describe("What it owes, as the red's own measurement named it."),
|
|
120
|
+
suspects: z.array(z.string()).default([]).describe("The conversations it was laid at."),
|
|
121
|
+
named: z.boolean().default(false).describe("Whether the paths they changed narrowed it to them."),
|
|
122
|
+
decisions: z.array(MainlineRoutingSchema).default([]).describe("What was decided about it, oldest first."),
|
|
81
123
|
});
|
|
82
124
|
export const MainlinePushSchema = z.object({
|
|
83
125
|
project: z.string().describe("Which project, by folder relative to the workspace. Empty is the workspace root."),
|
|
@@ -88,16 +130,25 @@ export const MainlinePushSchema = z.object({
|
|
|
88
130
|
base: z.string().optional().describe("The commit the pushed range starts from; absent when the remote had nothing to compare with."),
|
|
89
131
|
head: z.string().describe("The commit that was pushed."),
|
|
90
132
|
commits: z.number().describe("How many commits the push carried."),
|
|
91
|
-
findings: z
|
|
92
|
-
|
|
133
|
+
findings: z
|
|
134
|
+
.array(FindingSchema)
|
|
135
|
+
.describe("What it found that this push brought in, less what an earlier push had already left open. Empty for a clean push."),
|
|
136
|
+
refused: z
|
|
137
|
+
.boolean()
|
|
138
|
+
.optional()
|
|
139
|
+
.describe("True when the repository's own pre-push hook refused it, so nothing reached the remote and its one finding is what the hook said."),
|
|
93
140
|
});
|
|
94
141
|
export const MainlineStatusSchema = z.object({
|
|
95
142
|
projects: z.array(MainlineProjectSchema).describe("Every project a land has been checked in, or is waiting to be."),
|
|
96
143
|
recent: z.array(MainlineRunSchema).describe("The latest settled checks across every project, newest first."),
|
|
97
|
-
|
|
144
|
+
pushed: z
|
|
98
145
|
.array(MainlinePushSchema)
|
|
99
146
|
.optional()
|
|
100
|
-
.describe("The latest
|
|
147
|
+
.describe("The latest pushes the hook measured across every project, newest first, with what each brought in. Absent from a daemon that records none."),
|
|
148
|
+
reds: z
|
|
149
|
+
.array(RedSchema)
|
|
150
|
+
.optional()
|
|
151
|
+
.describe("Every red the main line holds, one record whatever went red: each red project's land check and what pushes left in each project, with what each owes and every decision about it. Absent from a daemon that keeps none."),
|
|
101
152
|
});
|
|
102
153
|
export const MainlinePushDismissSchema = z.object({
|
|
103
154
|
project: z.string().describe("Which project, by folder relative to the workspace."),
|
|
@@ -126,9 +177,6 @@ export const MainlinePushFixSchema = z.object({
|
|
|
126
177
|
export const MainlinePushFixResultSchema = z.object({
|
|
127
178
|
conversationId: z.string().describe("The conversation holding the findings. Open it to watch."),
|
|
128
179
|
});
|
|
129
|
-
export const
|
|
130
|
-
export const
|
|
131
|
-
const oldest = oldestOpenPush(pushes, project);
|
|
132
|
-
return oldest === undefined ? undefined : pushFixConversationId(project === "" ? "workspace" : project, `left:${oldest.head}`);
|
|
133
|
-
};
|
|
180
|
+
export const pushRedOf = (reds, project) => reds?.find((red) => red.source === "push" && red.scope === project);
|
|
181
|
+
export const pushFixBase = (red) => red === undefined ? undefined : pushFixConversationId(red.scope === "" ? "workspace" : red.scope, `red:${red.since}`);
|
|
134
182
|
//# sourceMappingURL=mainline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mainline.js","sourceRoot":"","sources":["../../../src/schemas/workspace/mainline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAMjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;IAC1E,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAClE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qDAAqD,CAAC;CACjF,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC;IAE5C,SAAS;IAET,MAAM;IAEN,UAAU;IAEV,QAAQ;IAER,UAAU;IAEV,UAAU;IAEV,OAAO;
|
|
1
|
+
{"version":3,"file":"mainline.js","sourceRoot":"","sources":["../../../src/schemas/workspace/mainline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAMjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;IAC1E,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,C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,QAAQ,CACL,mLAAmL,CACtL;CACR,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0DAA0D,CAAC;CAClG,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAgC,EAAE,OAAe,EAAmB,EAAE,CAC5F,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,KAAK,MAAM,IAAI,GAAG,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC;AAKxE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAA6C,EAAsB,EAAE,CAC7F,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const accessChanges: (baseText: string, headText: string) => string[];
|
|
1
2
|
export declare const currentLock: () => Record<string, unknown>;
|
|
2
3
|
export declare const serializeLock: (lock: Record<string, unknown>) => string;
|
|
3
4
|
//# sourceMappingURL=contract-lock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-lock.d.ts","sourceRoot":"","sources":["../../src/state/contract-lock.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contract-lock.d.ts","sourceRoot":"","sources":["../../src/state/contract-lock.ts"],"names":[],"mappings":"AAgEA,eAAO,MAAM,aAAa,aAAc,MAAM,YAAY,MAAM,KAAG,MAAM,EAiBxE,CAAC;AAKF,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAuBpD,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAGnC,CAAC"}
|