@h-rig/contracts 0.0.6-alpha.157 → 0.0.6-alpha.158
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/dist/index.cjs +2340 -6832
- package/dist/index.mjs +2116 -6608
- package/dist/src/agent-roles.d.ts +8 -0
- package/dist/src/browser.d.ts +34 -4
- package/dist/src/browser.js +8 -1
- package/dist/src/capability-id.d.ts +22 -0
- package/dist/src/capability-id.js +8 -0
- package/dist/src/cli-output.d.ts +24 -0
- package/dist/src/cli-runner.d.ts +43 -0
- package/dist/src/cli-runner.js +13 -0
- package/dist/src/collab-session-viewer.d.ts +36 -0
- package/dist/src/collab-session-viewer.js +13 -0
- package/dist/src/config.d.ts +11 -0
- package/dist/src/config.js +279 -1098
- package/dist/src/control-plane-types.d.ts +41 -1
- package/dist/src/control-plane-types.js +9 -25
- package/dist/src/dependency-preflight.d.ts +43 -0
- package/dist/src/dependency-preflight.js +13 -0
- package/dist/src/doctor.d.ts +67 -4
- package/dist/src/doctor.js +8 -9
- package/dist/src/errors.d.ts +13 -0
- package/dist/src/errors.js +17 -0
- package/dist/src/github.d.ts +43 -0
- package/dist/src/github.js +12 -1
- package/dist/src/graph.d.ts +37 -0
- package/dist/src/graph.js +13 -0
- package/dist/src/guard.d.ts +111 -0
- package/dist/src/guard.js +6 -0
- package/dist/src/harness-events.d.ts +8 -0
- package/dist/src/harness-events.js +1 -0
- package/dist/src/help-catalog.d.ts +17 -10
- package/dist/src/help-catalog.js +9 -651
- package/dist/src/host.d.ts +41 -0
- package/dist/src/host.js +13 -0
- package/dist/src/identity.d.ts +44 -0
- package/dist/src/identity.js +1 -0
- package/dist/src/index.d.ts +27 -7
- package/dist/src/index.js +2116 -6608
- package/dist/src/isolation.d.ts +207 -15
- package/dist/src/isolation.js +8 -1
- package/dist/src/kernel.d.ts +11 -0
- package/dist/src/kernel.js +7 -0
- package/dist/src/layout.d.ts +49 -0
- package/dist/src/layout.js +10 -0
- package/dist/src/lifecycle-capabilities.d.ts +99 -0
- package/dist/src/lifecycle-capabilities.js +18 -1
- package/dist/src/managed-repos.d.ts +79 -16
- package/dist/src/managed-repos.js +12 -1
- package/dist/src/memory.d.ts +52 -4
- package/dist/src/memory.js +8 -1
- package/dist/src/notify.d.ts +46 -0
- package/dist/src/notify.js +13 -0
- package/dist/src/orchestration.d.ts +0 -3652
- package/dist/src/orchestration.js +28 -964
- package/dist/src/plugin-hooks.js +22 -3
- package/dist/src/plugin.d.ts +47 -0
- package/dist/src/plugin.js +24 -3
- package/dist/src/prompt.d.ts +29 -0
- package/dist/src/prompt.js +13 -0
- package/dist/src/provider-instructions.d.ts +26 -4
- package/dist/src/provider-instructions.js +8 -1
- package/dist/src/provider.js +1 -824
- package/dist/src/remote.d.ts +0 -8
- package/dist/src/remote.js +229 -1075
- package/dist/src/run-discovery.d.ts +79 -0
- package/dist/src/run-discovery.js +13 -0
- package/dist/src/run-dispatch.d.ts +34 -0
- package/dist/src/run-dispatch.js +13 -0
- package/dist/src/run-identity.d.ts +47 -0
- package/dist/src/run-identity.js +13 -0
- package/dist/src/run-journal.d.ts +0 -236
- package/dist/src/run-journal.js +249 -1321
- package/dist/src/run-read-model.d.ts +234 -0
- package/dist/src/run-read-model.js +13 -0
- package/dist/src/run-record.d.ts +0 -11
- package/dist/src/run-record.js +0 -16
- package/dist/src/run-registry-backbone.d.ts +56 -0
- package/dist/src/run-registry-backbone.js +13 -0
- package/dist/src/run-session-journal.d.ts +1 -25
- package/dist/src/run-session-journal.js +0 -1731
- package/dist/src/run-status.d.ts +0 -2
- package/dist/src/run-status.js +0 -11
- package/dist/src/run-timeline.d.ts +0 -3
- package/dist/src/run-timeline.js +0 -1498
- package/dist/src/runtime-task-context.d.ts +82 -0
- package/dist/src/runtime-task-context.js +1 -0
- package/dist/src/runtime.js +66 -904
- package/dist/src/session-asset-materializer.d.ts +35 -0
- package/dist/src/session-asset-materializer.js +13 -0
- package/dist/src/setup.d.ts +47 -0
- package/dist/src/setup.js +13 -0
- package/dist/src/supervisor-journal.js +117 -955
- package/dist/src/task-data.d.ts +239 -0
- package/dist/src/task-data.js +13 -0
- package/dist/src/task-graph-primitives.d.ts +0 -21
- package/dist/src/task-graph-primitives.js +0 -318
- package/dist/src/task-source.d.ts +65 -0
- package/dist/src/task-source.js +12 -0
- package/dist/src/task-state-metadata.d.ts +21 -0
- package/dist/src/task-state-metadata.js +1 -0
- package/dist/src/tool-materializer.d.ts +36 -0
- package/dist/src/tool-materializer.js +13 -0
- package/dist/src/tool-registry.d.ts +3 -0
- package/dist/src/tool-registry.js +58 -0
- package/dist/src/toolchain-sources.d.ts +54 -0
- package/dist/src/toolchain-sources.js +17 -0
- package/dist/src/workflow-journal.d.ts +0 -32
- package/dist/src/workflow-journal.js +0 -371
- package/dist/src/workspace-config.d.ts +18 -0
- package/dist/src/workspace-config.js +13 -0
- package/dist/src/workspace.js +73 -911
- package/package.json +1 -1
- package/dist/src/engine.d.ts +0 -2789
- package/dist/src/engine.js +0 -2392
- package/dist/src/ipc.d.ts +0 -248
- package/dist/src/providerRuntime.d.ts +0 -3949
- package/dist/src/providerRuntime.js +0 -1633
- package/dist/src/rig.d.ts +0 -783
- package/dist/src/rig.js +0 -2537
- package/dist/src/server.d.ts +0 -106
- package/dist/src/server.js +0 -1056
- package/dist/src/serviceFabric.d.ts +0 -62
- package/dist/src/serviceFabric.js +0 -1069
- package/dist/src/ws.d.ts +0 -747
- package/dist/src/ws.js +0 -3126
- /package/dist/src/{ipc.js → agent-roles.js} +0 -0
package/dist/src/server.d.ts
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
export declare const ServerConfigIssue: Schema.Union<readonly [Schema.Struct<{
|
|
3
|
-
readonly kind: Schema.Literal<"keybindings.malformed-config">;
|
|
4
|
-
readonly message: Schema.Trim;
|
|
5
|
-
}>, Schema.Struct<{
|
|
6
|
-
readonly kind: Schema.Literal<"keybindings.invalid-entry">;
|
|
7
|
-
readonly message: Schema.Trim;
|
|
8
|
-
readonly index: Schema.Number;
|
|
9
|
-
}>]>;
|
|
10
|
-
export type ServerConfigIssue = typeof ServerConfigIssue.Type;
|
|
11
|
-
export declare const ServerProviderStatusState: Schema.Literals<readonly ["ready", "warning", "error"]>;
|
|
12
|
-
export type ServerProviderStatusState = typeof ServerProviderStatusState.Type;
|
|
13
|
-
export declare const ServerProviderAuthStatus: Schema.Literals<readonly ["authenticated", "unauthenticated", "unknown"]>;
|
|
14
|
-
export type ServerProviderAuthStatus = typeof ServerProviderAuthStatus.Type;
|
|
15
|
-
export declare const ServerProviderStatus: Schema.Struct<{
|
|
16
|
-
readonly provider: Schema.Literals<readonly ["codex", "claude"]>;
|
|
17
|
-
readonly status: Schema.Literals<readonly ["ready", "warning", "error"]>;
|
|
18
|
-
readonly available: Schema.Boolean;
|
|
19
|
-
readonly authStatus: Schema.Literals<readonly ["authenticated", "unauthenticated", "unknown"]>;
|
|
20
|
-
readonly checkedAt: Schema.String;
|
|
21
|
-
readonly message: Schema.optional<Schema.Trim>;
|
|
22
|
-
}>;
|
|
23
|
-
export type ServerProviderStatus = typeof ServerProviderStatus.Type;
|
|
24
|
-
export declare const ServerConfig: Schema.Struct<{
|
|
25
|
-
readonly cwd: Schema.Trim;
|
|
26
|
-
readonly rigRoot: Schema.NullOr<Schema.Trim>;
|
|
27
|
-
readonly keybindingsConfigPath: Schema.Trim;
|
|
28
|
-
readonly keybindings: Schema.$Array<Schema.Struct<{
|
|
29
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.new", "terminal.close", "diff.toggle", "chat.new", "chat.newLocal", "editor.openFavorite"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.String, Schema.Literal<".run">]>]>;
|
|
30
|
-
readonly shortcut: Schema.Struct<{
|
|
31
|
-
readonly key: Schema.Trim;
|
|
32
|
-
readonly metaKey: Schema.Boolean;
|
|
33
|
-
readonly ctrlKey: Schema.Boolean;
|
|
34
|
-
readonly shiftKey: Schema.Boolean;
|
|
35
|
-
readonly altKey: Schema.Boolean;
|
|
36
|
-
readonly modKey: Schema.Boolean;
|
|
37
|
-
}>;
|
|
38
|
-
readonly whenAst: Schema.optional<Schema.Schema<import("./keybindings").KeybindingWhenNode>>;
|
|
39
|
-
}>>;
|
|
40
|
-
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
41
|
-
readonly kind: Schema.Literal<"keybindings.malformed-config">;
|
|
42
|
-
readonly message: Schema.Trim;
|
|
43
|
-
}>, Schema.Struct<{
|
|
44
|
-
readonly kind: Schema.Literal<"keybindings.invalid-entry">;
|
|
45
|
-
readonly message: Schema.Trim;
|
|
46
|
-
readonly index: Schema.Number;
|
|
47
|
-
}>]>>;
|
|
48
|
-
readonly providers: Schema.$Array<Schema.Struct<{
|
|
49
|
-
readonly provider: Schema.Literals<readonly ["codex", "claude"]>;
|
|
50
|
-
readonly status: Schema.Literals<readonly ["ready", "warning", "error"]>;
|
|
51
|
-
readonly available: Schema.Boolean;
|
|
52
|
-
readonly authStatus: Schema.Literals<readonly ["authenticated", "unauthenticated", "unknown"]>;
|
|
53
|
-
readonly checkedAt: Schema.String;
|
|
54
|
-
readonly message: Schema.optional<Schema.Trim>;
|
|
55
|
-
}>>;
|
|
56
|
-
readonly availableEditors: Schema.$Array<Schema.Literals<("cursor" | "vscode" | "zed" | "file-manager")[]>>;
|
|
57
|
-
}>;
|
|
58
|
-
export type ServerConfig = typeof ServerConfig.Type;
|
|
59
|
-
export declare const ServerUpsertKeybindingInput: Schema.Struct<{
|
|
60
|
-
readonly key: Schema.Trim;
|
|
61
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.new", "terminal.close", "diff.toggle", "chat.new", "chat.newLocal", "editor.openFavorite"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.String, Schema.Literal<".run">]>]>;
|
|
62
|
-
readonly when: Schema.optional<Schema.Trim>;
|
|
63
|
-
}>;
|
|
64
|
-
export type ServerUpsertKeybindingInput = typeof ServerUpsertKeybindingInput.Type;
|
|
65
|
-
export declare const ServerUpsertKeybindingResult: Schema.Struct<{
|
|
66
|
-
readonly keybindings: Schema.$Array<Schema.Struct<{
|
|
67
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.new", "terminal.close", "diff.toggle", "chat.new", "chat.newLocal", "editor.openFavorite"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.String, Schema.Literal<".run">]>]>;
|
|
68
|
-
readonly shortcut: Schema.Struct<{
|
|
69
|
-
readonly key: Schema.Trim;
|
|
70
|
-
readonly metaKey: Schema.Boolean;
|
|
71
|
-
readonly ctrlKey: Schema.Boolean;
|
|
72
|
-
readonly shiftKey: Schema.Boolean;
|
|
73
|
-
readonly altKey: Schema.Boolean;
|
|
74
|
-
readonly modKey: Schema.Boolean;
|
|
75
|
-
}>;
|
|
76
|
-
readonly whenAst: Schema.optional<Schema.Schema<import("./keybindings").KeybindingWhenNode>>;
|
|
77
|
-
}>>;
|
|
78
|
-
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
79
|
-
readonly kind: Schema.Literal<"keybindings.malformed-config">;
|
|
80
|
-
readonly message: Schema.Trim;
|
|
81
|
-
}>, Schema.Struct<{
|
|
82
|
-
readonly kind: Schema.Literal<"keybindings.invalid-entry">;
|
|
83
|
-
readonly message: Schema.Trim;
|
|
84
|
-
readonly index: Schema.Number;
|
|
85
|
-
}>]>>;
|
|
86
|
-
}>;
|
|
87
|
-
export type ServerUpsertKeybindingResult = typeof ServerUpsertKeybindingResult.Type;
|
|
88
|
-
export declare const ServerConfigUpdatedPayload: Schema.Struct<{
|
|
89
|
-
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
90
|
-
readonly kind: Schema.Literal<"keybindings.malformed-config">;
|
|
91
|
-
readonly message: Schema.Trim;
|
|
92
|
-
}>, Schema.Struct<{
|
|
93
|
-
readonly kind: Schema.Literal<"keybindings.invalid-entry">;
|
|
94
|
-
readonly message: Schema.Trim;
|
|
95
|
-
readonly index: Schema.Number;
|
|
96
|
-
}>]>>;
|
|
97
|
-
readonly providers: Schema.$Array<Schema.Struct<{
|
|
98
|
-
readonly provider: Schema.Literals<readonly ["codex", "claude"]>;
|
|
99
|
-
readonly status: Schema.Literals<readonly ["ready", "warning", "error"]>;
|
|
100
|
-
readonly available: Schema.Boolean;
|
|
101
|
-
readonly authStatus: Schema.Literals<readonly ["authenticated", "unauthenticated", "unknown"]>;
|
|
102
|
-
readonly checkedAt: Schema.String;
|
|
103
|
-
readonly message: Schema.optional<Schema.Trim>;
|
|
104
|
-
}>>;
|
|
105
|
-
}>;
|
|
106
|
-
export type ServerConfigUpdatedPayload = typeof ServerConfigUpdatedPayload.Type;
|