@stateforge-labs/herdr-sdk 0.0.0-stage → 0.3.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/LICENSE +18 -0
- package/NOTICE.md +51 -0
- package/README.md +211 -2
- package/bin/herdr-drift.js +14 -0
- package/bin/herdr-skill.js +38 -0
- package/dist/admin.d.ts +2 -0
- package/dist/admin.js +3 -0
- package/dist/constants.d.ts +236 -0
- package/dist/constants.js +294 -0
- package/dist/core/backoff.d.ts +20 -0
- package/dist/core/backoff.js +53 -0
- package/dist/core/constants.d.ts +143 -0
- package/dist/core/constants.js +98 -0
- package/dist/core/errors.d.ts +35 -0
- package/dist/core/errors.js +16 -0
- package/dist/core/events.d.ts +42 -0
- package/dist/core/events.js +128 -0
- package/dist/core/kernel.d.ts +65 -0
- package/dist/core/kernel.js +138 -0
- package/dist/core/link.d.ts +47 -0
- package/dist/core/link.js +187 -0
- package/dist/core/test-kit/constants.d.ts +51 -0
- package/dist/core/test-kit/constants.js +43 -0
- package/dist/core/test-kit/fake-core.d.ts +61 -0
- package/dist/core/test-kit/fake-core.js +228 -0
- package/dist/core/test-kit/frames.d.ts +1 -0
- package/dist/core/test-kit/frames.js +480 -0
- package/dist/core/test-kit/setup-test.d.ts +18 -0
- package/dist/core/test-kit/setup-test.js +35 -0
- package/dist/core/wire.d.ts +85 -0
- package/dist/core/wire.js +199 -0
- package/dist/core-test-kit.d.ts +5 -0
- package/dist/core-test-kit.js +5 -0
- package/dist/core.d.ts +15 -0
- package/dist/core.js +12 -0
- package/dist/drift/cli.d.ts +22 -0
- package/dist/drift/cli.js +146 -0
- package/dist/drift/constants.d.ts +83 -0
- package/dist/drift/constants.js +73 -0
- package/dist/drift/diff.d.ts +7 -0
- package/dist/drift/diff.js +91 -0
- package/dist/drift/schema.d.ts +19 -0
- package/dist/drift/schema.js +190 -0
- package/dist/drift/types.d.ts +76 -0
- package/dist/drift/types.js +1 -0
- package/dist/drift.d.ts +5 -0
- package/dist/drift.js +6 -0
- package/dist/effect.d.ts +3 -0
- package/dist/effect.js +4 -0
- package/dist/herdr/client/connect.d.ts +5 -0
- package/dist/herdr/client/connect.js +81 -0
- package/dist/herdr/client/held.d.ts +54 -0
- package/dist/herdr/client/held.js +100 -0
- package/dist/herdr/client/long-poll.d.ts +33 -0
- package/dist/herdr/client/long-poll.js +66 -0
- package/dist/herdr/client/scoped.d.ts +45 -0
- package/dist/herdr/client/scoped.js +241 -0
- package/dist/herdr/client/streams.d.ts +9 -0
- package/dist/herdr/client/streams.js +40 -0
- package/dist/herdr/client/subscribe.d.ts +75 -0
- package/dist/herdr/client/subscribe.js +208 -0
- package/dist/herdr/client/types.d.ts +150 -0
- package/dist/herdr/client/types.js +1 -0
- package/dist/herdr/client/watch-pane-set.d.ts +34 -0
- package/dist/herdr/client/watch-pane-set.js +271 -0
- package/dist/herdr/client/watch.d.ts +117 -0
- package/dist/herdr/client/watch.js +138 -0
- package/dist/herdr/effect/to-tagged-error.d.ts +2 -0
- package/dist/herdr/effect/to-tagged-error.js +54 -0
- package/dist/herdr/effect/types.d.ts +51 -0
- package/dist/herdr/effect/types.js +26 -0
- package/dist/herdr/errors.d.ts +53 -0
- package/dist/herdr/errors.js +87 -0
- package/dist/herdr/generated/entries/admin.d.ts +2 -0
- package/dist/herdr/generated/entries/admin.js +5 -0
- package/dist/herdr/generated/entries/client.d.ts +2 -0
- package/dist/herdr/generated/entries/client.js +5 -0
- package/dist/herdr/generated/entries/held.d.ts +2 -0
- package/dist/herdr/generated/entries/held.js +5 -0
- package/dist/herdr/generated/entries/prompt.d.ts +2 -0
- package/dist/herdr/generated/entries/prompt.js +5 -0
- package/dist/herdr/generated/entries/read-only-content.d.ts +2 -0
- package/dist/herdr/generated/entries/read-only-content.js +5 -0
- package/dist/herdr/generated/entries/read-only.d.ts +2 -0
- package/dist/herdr/generated/entries/read-only.js +5 -0
- package/dist/herdr/generated/entry-methods.d.ts +9 -0
- package/dist/herdr/generated/entry-methods.js +17 -0
- package/dist/herdr/generated/errors.d.ts +4 -0
- package/dist/herdr/generated/errors.js +3 -0
- package/dist/herdr/generated/events.d.ts +274 -0
- package/dist/herdr/generated/events.js +3 -0
- package/dist/herdr/generated/index.d.ts +20 -0
- package/dist/herdr/generated/index.js +19 -0
- package/dist/herdr/generated/method-table.d.ts +615 -0
- package/dist/herdr/generated/method-table.js +106 -0
- package/dist/herdr/generated/names/agent-status.d.ts +10 -0
- package/dist/herdr/generated/names/agent-status.js +10 -0
- package/dist/herdr/generated/names/capability-class.d.ts +14 -0
- package/dist/herdr/generated/names/capability-class.js +15 -0
- package/dist/herdr/generated/names/event-kind.d.ts +31 -0
- package/dist/herdr/generated/names/event-kind.js +31 -0
- package/dist/herdr/generated/names/event-match-kind.d.ts +23 -0
- package/dist/herdr/generated/names/event-match-kind.js +24 -0
- package/dist/herdr/generated/names/index.d.ts +10 -0
- package/dist/herdr/generated/names/index.js +12 -0
- package/dist/herdr/generated/names/method.d.ts +209 -0
- package/dist/herdr/generated/names/method.js +209 -0
- package/dist/herdr/generated/names/result-tag.d.ts +68 -0
- package/dist/herdr/generated/names/result-tag.js +68 -0
- package/dist/herdr/generated/names/server-capability.d.ts +10 -0
- package/dist/herdr/generated/names/server-capability.js +11 -0
- package/dist/herdr/generated/names/subscription-event-kind.d.ts +8 -0
- package/dist/herdr/generated/names/subscription-event-kind.js +8 -0
- package/dist/herdr/generated/names/subscription-type.d.ts +31 -0
- package/dist/herdr/generated/names/subscription-type.js +32 -0
- package/dist/herdr/generated/names/token-name-pattern.d.ts +2 -0
- package/dist/herdr/generated/names/token-name-pattern.js +4 -0
- package/dist/herdr/generated/namespaces.d.ts +785 -0
- package/dist/herdr/generated/namespaces.js +3 -0
- package/dist/herdr/generated/overrides.d.ts +33 -0
- package/dist/herdr/generated/overrides.js +20 -0
- package/dist/herdr/generated/params.d.ts +799 -0
- package/dist/herdr/generated/params.js +3 -0
- package/dist/herdr/generated/preset-methods.d.ts +4 -0
- package/dist/herdr/generated/preset-methods.js +7 -0
- package/dist/herdr/generated/presets/sessions-reader.d.ts +2 -0
- package/dist/herdr/generated/presets/sessions-reader.js +5 -0
- package/dist/herdr/generated/results.d.ts +978 -0
- package/dist/herdr/generated/results.js +52 -0
- package/dist/herdr/generated/test-data/defaults.d.ts +739 -0
- package/dist/herdr/generated/test-data/defaults.js +741 -0
- package/dist/herdr/generated/test-data/shapes.d.ts +1325 -0
- package/dist/herdr/generated/test-data/shapes.js +2245 -0
- package/dist/herdr/test-kit/fake-herdr.d.ts +13 -0
- package/dist/herdr/test-kit/fake-herdr.js +216 -0
- package/dist/herdr/test-kit/fake-protocol.d.ts +107 -0
- package/dist/herdr/test-kit/fake-protocol.js +436 -0
- package/dist/herdr/test-kit/types.d.ts +88 -0
- package/dist/herdr/test-kit/types.js +1 -0
- package/dist/herdr/wire/codec.d.ts +36 -0
- package/dist/herdr/wire/codec.js +62 -0
- package/dist/herdr/wire/connection.d.ts +13 -0
- package/dist/herdr/wire/connection.js +65 -0
- package/dist/herdr/wire/dedicated.d.ts +2 -0
- package/dist/herdr/wire/dedicated.js +238 -0
- package/dist/herdr/wire/push-decoder.d.ts +2 -0
- package/dist/herdr/wire/push-decoder.js +40 -0
- package/dist/herdr/wire/rpc.d.ts +3 -0
- package/dist/herdr/wire/rpc.js +141 -0
- package/dist/herdr/wire/socket-path.d.ts +8 -0
- package/dist/herdr/wire/socket-path.js +23 -0
- package/dist/herdr/wire/types.d.ts +78 -0
- package/dist/herdr/wire/types.js +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +7 -0
- package/dist/read-only.d.ts +5 -0
- package/dist/read-only.js +6 -0
- package/dist/schema.d.ts +5 -0
- package/dist/schema.js +6 -0
- package/dist/test-kit.d.ts +2 -0
- package/dist/test-kit.js +3 -0
- package/docs/api/events.md +43 -0
- package/docs/api/methods.md +232 -0
- package/package.json +112 -4
- package/schema/herdr-api.schema.json +10759 -0
- package/schema/herdr-version.json +5 -0
- package/skills/herdr-sdk/SKILL.md +75 -0
- package/skills/herdr-sdk/references/api-map.md +28 -0
- package/skills/herdr-sdk/references/errors.md +19 -0
- package/skills/herdr-sdk/references/recipes.md +171 -0
- package/skills/herdr-sdk/references/versions.md +7 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
// GENERATED by tools/gen/ from schema/herdr-api.schema.json. Do not edit.
|
|
2
|
+
// herdr protocol 22, schema_version 1.
|
|
3
|
+
export const MethodPing = "ping";
|
|
4
|
+
export const MethodServerStop = "server.stop";
|
|
5
|
+
export const MethodServerLiveHandoff = "server.live_handoff";
|
|
6
|
+
export const MethodServerReloadConfig = "server.reload_config";
|
|
7
|
+
export const MethodServerSshAgentRegister = "server.ssh_agent.register";
|
|
8
|
+
export const MethodServerAgentManifests = "server.agent_manifests";
|
|
9
|
+
export const MethodServerReloadAgentManifests = "server.reload_agent_manifests";
|
|
10
|
+
export const MethodNotificationShow = "notification.show";
|
|
11
|
+
export const MethodProductAnnouncementDismiss = "product_announcement.dismiss";
|
|
12
|
+
export const MethodReleaseNotesDismiss = "release_notes.dismiss";
|
|
13
|
+
export const MethodCommandInvoke = "command.invoke";
|
|
14
|
+
export const MethodClientWindowTitleSet = "client.window_title.set";
|
|
15
|
+
export const MethodClientWindowTitleClear = "client.window_title.clear";
|
|
16
|
+
export const MethodClientShellSurfaceSet = "client_shell.surface.set";
|
|
17
|
+
export const MethodSessionSnapshot = "session.snapshot";
|
|
18
|
+
export const MethodWorkspaceCreate = "workspace.create";
|
|
19
|
+
export const MethodWorkspaceList = "workspace.list";
|
|
20
|
+
export const MethodWorkspaceGet = "workspace.get";
|
|
21
|
+
export const MethodWorkspaceFocus = "workspace.focus";
|
|
22
|
+
export const MethodWorkspaceRename = "workspace.rename";
|
|
23
|
+
export const MethodWorkspaceMove = "workspace.move";
|
|
24
|
+
export const MethodWorkspaceMoveBlock = "workspace.move_block";
|
|
25
|
+
export const MethodWorkspaceReportMetadata = "workspace.report_metadata";
|
|
26
|
+
export const MethodWorkspaceClose = "workspace.close";
|
|
27
|
+
export const MethodWorktreeList = "worktree.list";
|
|
28
|
+
export const MethodWorktreeCreate = "worktree.create";
|
|
29
|
+
export const MethodWorktreeOpen = "worktree.open";
|
|
30
|
+
export const MethodWorktreeRemove = "worktree.remove";
|
|
31
|
+
export const MethodTabCreate = "tab.create";
|
|
32
|
+
export const MethodTabList = "tab.list";
|
|
33
|
+
export const MethodTabGet = "tab.get";
|
|
34
|
+
export const MethodTabFocus = "tab.focus";
|
|
35
|
+
export const MethodTabRename = "tab.rename";
|
|
36
|
+
export const MethodTabMove = "tab.move";
|
|
37
|
+
export const MethodTabClose = "tab.close";
|
|
38
|
+
export const MethodAgentList = "agent.list";
|
|
39
|
+
export const MethodAgentGet = "agent.get";
|
|
40
|
+
export const MethodAgentRead = "agent.read";
|
|
41
|
+
export const MethodAgentExplain = "agent.explain";
|
|
42
|
+
export const MethodAgentSendKeys = "agent.send_keys";
|
|
43
|
+
export const MethodAgentRename = "agent.rename";
|
|
44
|
+
export const MethodAgentViewSet = "agent.view.set";
|
|
45
|
+
export const MethodAgentViewClear = "agent.view.clear";
|
|
46
|
+
export const MethodAgentFocus = "agent.focus";
|
|
47
|
+
export const MethodAgentStart = "agent.start";
|
|
48
|
+
export const MethodAgentPrompt = "agent.prompt";
|
|
49
|
+
export const MethodAgentWait = "agent.wait";
|
|
50
|
+
export const MethodPaneSplit = "pane.split";
|
|
51
|
+
export const MethodPaneSwap = "pane.swap";
|
|
52
|
+
export const MethodPaneMove = "pane.move";
|
|
53
|
+
export const MethodPaneZoom = "pane.zoom";
|
|
54
|
+
export const MethodPaneLayout = "pane.layout";
|
|
55
|
+
export const MethodPaneProcessInfo = "pane.process_info";
|
|
56
|
+
export const MethodLayoutExport = "layout.export";
|
|
57
|
+
export const MethodLayoutApply = "layout.apply";
|
|
58
|
+
export const MethodLayoutSetSplitRatio = "layout.set_split_ratio";
|
|
59
|
+
export const MethodPaneNeighbor = "pane.neighbor";
|
|
60
|
+
export const MethodPaneEdges = "pane.edges";
|
|
61
|
+
export const MethodPaneFocusDirection = "pane.focus_direction";
|
|
62
|
+
export const MethodPaneResize = "pane.resize";
|
|
63
|
+
export const MethodPaneScroll = "pane.scroll";
|
|
64
|
+
export const MethodPaneClear = "pane.clear";
|
|
65
|
+
export const MethodPaneEditScrollback = "pane.edit_scrollback";
|
|
66
|
+
export const MethodPaneSelectionRead = "pane.selection.read";
|
|
67
|
+
export const MethodPaneCopyMotion = "pane.copy_motion";
|
|
68
|
+
export const MethodPaneCopySearch = "pane.copy_search";
|
|
69
|
+
export const MethodPaneList = "pane.list";
|
|
70
|
+
export const MethodPaneCurrent = "pane.current";
|
|
71
|
+
export const MethodPaneGet = "pane.get";
|
|
72
|
+
export const MethodPaneFocus = "pane.focus";
|
|
73
|
+
export const MethodPaneInputSet = "pane.input.set";
|
|
74
|
+
export const MethodPaneLinkActivate = "pane.link.activate";
|
|
75
|
+
export const MethodPaneLinkResolve = "pane.link.resolve";
|
|
76
|
+
export const MethodPaneRename = "pane.rename";
|
|
77
|
+
export const MethodPaneSendText = "pane.send_text";
|
|
78
|
+
export const MethodPaneSendKeys = "pane.send_keys";
|
|
79
|
+
export const MethodPaneSendInput = "pane.send_input";
|
|
80
|
+
export const MethodPaneRead = "pane.read";
|
|
81
|
+
export const MethodPaneReportAgent = "pane.report_agent";
|
|
82
|
+
export const MethodPaneReportAgentSession = "pane.report_agent_session";
|
|
83
|
+
export const MethodPaneReportMetadata = "pane.report_metadata";
|
|
84
|
+
export const MethodPaneClearAgentAuthority = "pane.clear_agent_authority";
|
|
85
|
+
export const MethodPaneReleaseAgent = "pane.release_agent";
|
|
86
|
+
export const MethodPaneClose = "pane.close";
|
|
87
|
+
export const MethodPopupClose = "popup.close";
|
|
88
|
+
export const MethodEventsSubscribe = "events.subscribe";
|
|
89
|
+
export const MethodEventsWait = "events.wait";
|
|
90
|
+
export const MethodPaneWaitForOutput = "pane.wait_for_output";
|
|
91
|
+
export const MethodIntegrationList = "integration.list";
|
|
92
|
+
export const MethodIntegrationInstall = "integration.install";
|
|
93
|
+
export const MethodIntegrationUninstall = "integration.uninstall";
|
|
94
|
+
export const MethodPluginLink = "plugin.link";
|
|
95
|
+
export const MethodPluginList = "plugin.list";
|
|
96
|
+
export const MethodPluginUnlink = "plugin.unlink";
|
|
97
|
+
export const MethodPluginEnable = "plugin.enable";
|
|
98
|
+
export const MethodPluginDisable = "plugin.disable";
|
|
99
|
+
export const MethodPluginActionList = "plugin.action.list";
|
|
100
|
+
export const MethodPluginActionInvoke = "plugin.action.invoke";
|
|
101
|
+
export const MethodPluginLogList = "plugin.log.list";
|
|
102
|
+
export const MethodPluginPaneOpen = "plugin.pane.open";
|
|
103
|
+
export const MethodPluginPaneFocus = "plugin.pane.focus";
|
|
104
|
+
export const MethodPluginPaneClose = "plugin.pane.close";
|
|
105
|
+
/** Every wire method name. */
|
|
106
|
+
export const Method = {
|
|
107
|
+
Ping: MethodPing,
|
|
108
|
+
ServerStop: MethodServerStop,
|
|
109
|
+
ServerLiveHandoff: MethodServerLiveHandoff,
|
|
110
|
+
ServerReloadConfig: MethodServerReloadConfig,
|
|
111
|
+
ServerSshAgentRegister: MethodServerSshAgentRegister,
|
|
112
|
+
ServerAgentManifests: MethodServerAgentManifests,
|
|
113
|
+
ServerReloadAgentManifests: MethodServerReloadAgentManifests,
|
|
114
|
+
NotificationShow: MethodNotificationShow,
|
|
115
|
+
ProductAnnouncementDismiss: MethodProductAnnouncementDismiss,
|
|
116
|
+
ReleaseNotesDismiss: MethodReleaseNotesDismiss,
|
|
117
|
+
CommandInvoke: MethodCommandInvoke,
|
|
118
|
+
ClientWindowTitleSet: MethodClientWindowTitleSet,
|
|
119
|
+
ClientWindowTitleClear: MethodClientWindowTitleClear,
|
|
120
|
+
ClientShellSurfaceSet: MethodClientShellSurfaceSet,
|
|
121
|
+
SessionSnapshot: MethodSessionSnapshot,
|
|
122
|
+
WorkspaceCreate: MethodWorkspaceCreate,
|
|
123
|
+
WorkspaceList: MethodWorkspaceList,
|
|
124
|
+
WorkspaceGet: MethodWorkspaceGet,
|
|
125
|
+
WorkspaceFocus: MethodWorkspaceFocus,
|
|
126
|
+
WorkspaceRename: MethodWorkspaceRename,
|
|
127
|
+
WorkspaceMove: MethodWorkspaceMove,
|
|
128
|
+
WorkspaceMoveBlock: MethodWorkspaceMoveBlock,
|
|
129
|
+
WorkspaceReportMetadata: MethodWorkspaceReportMetadata,
|
|
130
|
+
WorkspaceClose: MethodWorkspaceClose,
|
|
131
|
+
WorktreeList: MethodWorktreeList,
|
|
132
|
+
WorktreeCreate: MethodWorktreeCreate,
|
|
133
|
+
WorktreeOpen: MethodWorktreeOpen,
|
|
134
|
+
WorktreeRemove: MethodWorktreeRemove,
|
|
135
|
+
TabCreate: MethodTabCreate,
|
|
136
|
+
TabList: MethodTabList,
|
|
137
|
+
TabGet: MethodTabGet,
|
|
138
|
+
TabFocus: MethodTabFocus,
|
|
139
|
+
TabRename: MethodTabRename,
|
|
140
|
+
TabMove: MethodTabMove,
|
|
141
|
+
TabClose: MethodTabClose,
|
|
142
|
+
AgentList: MethodAgentList,
|
|
143
|
+
AgentGet: MethodAgentGet,
|
|
144
|
+
AgentRead: MethodAgentRead,
|
|
145
|
+
AgentExplain: MethodAgentExplain,
|
|
146
|
+
AgentSendKeys: MethodAgentSendKeys,
|
|
147
|
+
AgentRename: MethodAgentRename,
|
|
148
|
+
AgentViewSet: MethodAgentViewSet,
|
|
149
|
+
AgentViewClear: MethodAgentViewClear,
|
|
150
|
+
AgentFocus: MethodAgentFocus,
|
|
151
|
+
AgentStart: MethodAgentStart,
|
|
152
|
+
AgentPrompt: MethodAgentPrompt,
|
|
153
|
+
AgentWait: MethodAgentWait,
|
|
154
|
+
PaneSplit: MethodPaneSplit,
|
|
155
|
+
PaneSwap: MethodPaneSwap,
|
|
156
|
+
PaneMove: MethodPaneMove,
|
|
157
|
+
PaneZoom: MethodPaneZoom,
|
|
158
|
+
PaneLayout: MethodPaneLayout,
|
|
159
|
+
PaneProcessInfo: MethodPaneProcessInfo,
|
|
160
|
+
LayoutExport: MethodLayoutExport,
|
|
161
|
+
LayoutApply: MethodLayoutApply,
|
|
162
|
+
LayoutSetSplitRatio: MethodLayoutSetSplitRatio,
|
|
163
|
+
PaneNeighbor: MethodPaneNeighbor,
|
|
164
|
+
PaneEdges: MethodPaneEdges,
|
|
165
|
+
PaneFocusDirection: MethodPaneFocusDirection,
|
|
166
|
+
PaneResize: MethodPaneResize,
|
|
167
|
+
PaneScroll: MethodPaneScroll,
|
|
168
|
+
PaneClear: MethodPaneClear,
|
|
169
|
+
PaneEditScrollback: MethodPaneEditScrollback,
|
|
170
|
+
PaneSelectionRead: MethodPaneSelectionRead,
|
|
171
|
+
PaneCopyMotion: MethodPaneCopyMotion,
|
|
172
|
+
PaneCopySearch: MethodPaneCopySearch,
|
|
173
|
+
PaneList: MethodPaneList,
|
|
174
|
+
PaneCurrent: MethodPaneCurrent,
|
|
175
|
+
PaneGet: MethodPaneGet,
|
|
176
|
+
PaneFocus: MethodPaneFocus,
|
|
177
|
+
PaneInputSet: MethodPaneInputSet,
|
|
178
|
+
PaneLinkActivate: MethodPaneLinkActivate,
|
|
179
|
+
PaneLinkResolve: MethodPaneLinkResolve,
|
|
180
|
+
PaneRename: MethodPaneRename,
|
|
181
|
+
PaneSendText: MethodPaneSendText,
|
|
182
|
+
PaneSendKeys: MethodPaneSendKeys,
|
|
183
|
+
PaneSendInput: MethodPaneSendInput,
|
|
184
|
+
PaneRead: MethodPaneRead,
|
|
185
|
+
PaneReportAgent: MethodPaneReportAgent,
|
|
186
|
+
PaneReportAgentSession: MethodPaneReportAgentSession,
|
|
187
|
+
PaneReportMetadata: MethodPaneReportMetadata,
|
|
188
|
+
PaneClearAgentAuthority: MethodPaneClearAgentAuthority,
|
|
189
|
+
PaneReleaseAgent: MethodPaneReleaseAgent,
|
|
190
|
+
PaneClose: MethodPaneClose,
|
|
191
|
+
PopupClose: MethodPopupClose,
|
|
192
|
+
EventsSubscribe: MethodEventsSubscribe,
|
|
193
|
+
EventsWait: MethodEventsWait,
|
|
194
|
+
PaneWaitForOutput: MethodPaneWaitForOutput,
|
|
195
|
+
IntegrationList: MethodIntegrationList,
|
|
196
|
+
IntegrationInstall: MethodIntegrationInstall,
|
|
197
|
+
IntegrationUninstall: MethodIntegrationUninstall,
|
|
198
|
+
PluginLink: MethodPluginLink,
|
|
199
|
+
PluginList: MethodPluginList,
|
|
200
|
+
PluginUnlink: MethodPluginUnlink,
|
|
201
|
+
PluginEnable: MethodPluginEnable,
|
|
202
|
+
PluginDisable: MethodPluginDisable,
|
|
203
|
+
PluginActionList: MethodPluginActionList,
|
|
204
|
+
PluginActionInvoke: MethodPluginActionInvoke,
|
|
205
|
+
PluginLogList: MethodPluginLogList,
|
|
206
|
+
PluginPaneOpen: MethodPluginPaneOpen,
|
|
207
|
+
PluginPaneFocus: MethodPluginPaneFocus,
|
|
208
|
+
PluginPaneClose: MethodPluginPaneClose,
|
|
209
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { ResultTag as ResultTagName } from '../results.js';
|
|
2
|
+
/** Response tags. */
|
|
3
|
+
export declare const ResultTag: {
|
|
4
|
+
readonly Pong: "pong";
|
|
5
|
+
readonly SessionSnapshot: "session_snapshot";
|
|
6
|
+
readonly WorkspaceInfo: "workspace_info";
|
|
7
|
+
readonly WorkspaceCreated: "workspace_created";
|
|
8
|
+
readonly WorkspaceList: "workspace_list";
|
|
9
|
+
readonly WorktreeList: "worktree_list";
|
|
10
|
+
readonly WorktreeCreated: "worktree_created";
|
|
11
|
+
readonly WorktreeOpened: "worktree_opened";
|
|
12
|
+
readonly WorktreeRemoved: "worktree_removed";
|
|
13
|
+
readonly TabInfo: "tab_info";
|
|
14
|
+
readonly TabCreated: "tab_created";
|
|
15
|
+
readonly TabList: "tab_list";
|
|
16
|
+
readonly AgentInfo: "agent_info";
|
|
17
|
+
readonly AgentStarted: "agent_started";
|
|
18
|
+
readonly AgentPrompted: "agent_prompted";
|
|
19
|
+
readonly AgentList: "agent_list";
|
|
20
|
+
readonly AgentView: "agent_view";
|
|
21
|
+
readonly PaneInfo: "pane_info";
|
|
22
|
+
readonly PaneList: "pane_list";
|
|
23
|
+
readonly PaneCurrent: "pane_current";
|
|
24
|
+
readonly PaneSwap: "pane_swap";
|
|
25
|
+
readonly PaneMove: "pane_move";
|
|
26
|
+
readonly PaneZoom: "pane_zoom";
|
|
27
|
+
readonly PaneLayout: "pane_layout";
|
|
28
|
+
readonly PaneProcessInfo: "pane_process_info";
|
|
29
|
+
readonly LayoutExport: "layout_export";
|
|
30
|
+
readonly LayoutApply: "layout_apply";
|
|
31
|
+
readonly LayoutSplitRatioSet: "layout_split_ratio_set";
|
|
32
|
+
readonly PaneNeighbor: "pane_neighbor";
|
|
33
|
+
readonly PaneEdges: "pane_edges";
|
|
34
|
+
readonly PaneFocusDirection: "pane_focus_direction";
|
|
35
|
+
readonly PaneResize: "pane_resize";
|
|
36
|
+
readonly PaneRead: "pane_read";
|
|
37
|
+
readonly PaneSelection: "pane_selection";
|
|
38
|
+
readonly PaneCopyMotion: "pane_copy_motion";
|
|
39
|
+
readonly PaneCopySearch: "pane_copy_search";
|
|
40
|
+
readonly AgentExplain: "agent_explain";
|
|
41
|
+
readonly SubscriptionStarted: "subscription_started";
|
|
42
|
+
readonly WaitMatched: "wait_matched";
|
|
43
|
+
readonly OutputMatched: "output_matched";
|
|
44
|
+
readonly NotificationShow: "notification_show";
|
|
45
|
+
readonly ClientWindowTitle: "client_window_title";
|
|
46
|
+
readonly IntegrationList: "integration_list";
|
|
47
|
+
readonly IntegrationInstall: "integration_install";
|
|
48
|
+
readonly IntegrationUninstall: "integration_uninstall";
|
|
49
|
+
readonly AgentManifestReload: "agent_manifest_reload";
|
|
50
|
+
readonly AgentManifestStatus: "agent_manifest_status";
|
|
51
|
+
readonly PluginLinked: "plugin_linked";
|
|
52
|
+
readonly PluginList: "plugin_list";
|
|
53
|
+
readonly PluginUnlinked: "plugin_unlinked";
|
|
54
|
+
readonly PluginEnabled: "plugin_enabled";
|
|
55
|
+
readonly PluginDisabled: "plugin_disabled";
|
|
56
|
+
readonly PluginActionList: "plugin_action_list";
|
|
57
|
+
readonly PluginActionInvoked: "plugin_action_invoked";
|
|
58
|
+
readonly PaneLinkResolved: "pane_link_resolved";
|
|
59
|
+
readonly PaneLinkActivated: "pane_link_activated";
|
|
60
|
+
readonly PluginLogList: "plugin_log_list";
|
|
61
|
+
readonly PluginPaneOpened: "plugin_pane_opened";
|
|
62
|
+
readonly PluginPaneFocused: "plugin_pane_focused";
|
|
63
|
+
readonly PluginPaneClosed: "plugin_pane_closed";
|
|
64
|
+
readonly ConfigReload: "config_reload";
|
|
65
|
+
readonly ClientShellSurfaceSet: "client_shell_surface_set";
|
|
66
|
+
readonly Ok: "ok";
|
|
67
|
+
};
|
|
68
|
+
export type ResultTag = ResultTagName;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// GENERATED by tools/gen/ from schema/herdr-api.schema.json. Do not edit.
|
|
2
|
+
// herdr protocol 22, schema_version 1.
|
|
3
|
+
/** Response tags. */
|
|
4
|
+
export const ResultTag = {
|
|
5
|
+
Pong: "pong",
|
|
6
|
+
SessionSnapshot: "session_snapshot",
|
|
7
|
+
WorkspaceInfo: "workspace_info",
|
|
8
|
+
WorkspaceCreated: "workspace_created",
|
|
9
|
+
WorkspaceList: "workspace_list",
|
|
10
|
+
WorktreeList: "worktree_list",
|
|
11
|
+
WorktreeCreated: "worktree_created",
|
|
12
|
+
WorktreeOpened: "worktree_opened",
|
|
13
|
+
WorktreeRemoved: "worktree_removed",
|
|
14
|
+
TabInfo: "tab_info",
|
|
15
|
+
TabCreated: "tab_created",
|
|
16
|
+
TabList: "tab_list",
|
|
17
|
+
AgentInfo: "agent_info",
|
|
18
|
+
AgentStarted: "agent_started",
|
|
19
|
+
AgentPrompted: "agent_prompted",
|
|
20
|
+
AgentList: "agent_list",
|
|
21
|
+
AgentView: "agent_view",
|
|
22
|
+
PaneInfo: "pane_info",
|
|
23
|
+
PaneList: "pane_list",
|
|
24
|
+
PaneCurrent: "pane_current",
|
|
25
|
+
PaneSwap: "pane_swap",
|
|
26
|
+
PaneMove: "pane_move",
|
|
27
|
+
PaneZoom: "pane_zoom",
|
|
28
|
+
PaneLayout: "pane_layout",
|
|
29
|
+
PaneProcessInfo: "pane_process_info",
|
|
30
|
+
LayoutExport: "layout_export",
|
|
31
|
+
LayoutApply: "layout_apply",
|
|
32
|
+
LayoutSplitRatioSet: "layout_split_ratio_set",
|
|
33
|
+
PaneNeighbor: "pane_neighbor",
|
|
34
|
+
PaneEdges: "pane_edges",
|
|
35
|
+
PaneFocusDirection: "pane_focus_direction",
|
|
36
|
+
PaneResize: "pane_resize",
|
|
37
|
+
PaneRead: "pane_read",
|
|
38
|
+
PaneSelection: "pane_selection",
|
|
39
|
+
PaneCopyMotion: "pane_copy_motion",
|
|
40
|
+
PaneCopySearch: "pane_copy_search",
|
|
41
|
+
AgentExplain: "agent_explain",
|
|
42
|
+
SubscriptionStarted: "subscription_started",
|
|
43
|
+
WaitMatched: "wait_matched",
|
|
44
|
+
OutputMatched: "output_matched",
|
|
45
|
+
NotificationShow: "notification_show",
|
|
46
|
+
ClientWindowTitle: "client_window_title",
|
|
47
|
+
IntegrationList: "integration_list",
|
|
48
|
+
IntegrationInstall: "integration_install",
|
|
49
|
+
IntegrationUninstall: "integration_uninstall",
|
|
50
|
+
AgentManifestReload: "agent_manifest_reload",
|
|
51
|
+
AgentManifestStatus: "agent_manifest_status",
|
|
52
|
+
PluginLinked: "plugin_linked",
|
|
53
|
+
PluginList: "plugin_list",
|
|
54
|
+
PluginUnlinked: "plugin_unlinked",
|
|
55
|
+
PluginEnabled: "plugin_enabled",
|
|
56
|
+
PluginDisabled: "plugin_disabled",
|
|
57
|
+
PluginActionList: "plugin_action_list",
|
|
58
|
+
PluginActionInvoked: "plugin_action_invoked",
|
|
59
|
+
PaneLinkResolved: "pane_link_resolved",
|
|
60
|
+
PaneLinkActivated: "pane_link_activated",
|
|
61
|
+
PluginLogList: "plugin_log_list",
|
|
62
|
+
PluginPaneOpened: "plugin_pane_opened",
|
|
63
|
+
PluginPaneFocused: "plugin_pane_focused",
|
|
64
|
+
PluginPaneClosed: "plugin_pane_closed",
|
|
65
|
+
ConfigReload: "config_reload",
|
|
66
|
+
ClientShellSurfaceSet: "client_shell_surface_set",
|
|
67
|
+
Ok: "ok",
|
|
68
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** ServerCapabilities keys that gate a method. */
|
|
2
|
+
export declare const ServerCapability: {
|
|
3
|
+
readonly DetachedServerDaemon: "detached_server_daemon";
|
|
4
|
+
readonly EndpointProtocolGeneration: "endpoint_protocol_generation";
|
|
5
|
+
readonly HealthCheck: "health_check";
|
|
6
|
+
readonly LiveHandoff: "live_handoff";
|
|
7
|
+
readonly SshAgentRegistration: "ssh_agent_registration";
|
|
8
|
+
readonly SurfaceInterest: "surface_interest";
|
|
9
|
+
};
|
|
10
|
+
export type ServerCapability = (typeof ServerCapability)[keyof typeof ServerCapability];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// GENERATED by tools/gen/ from schema/herdr-api.schema.json. Do not edit.
|
|
2
|
+
// herdr protocol 22, schema_version 1.
|
|
3
|
+
/** ServerCapabilities keys that gate a method. */
|
|
4
|
+
export const ServerCapability = {
|
|
5
|
+
DetachedServerDaemon: "detached_server_daemon",
|
|
6
|
+
EndpointProtocolGeneration: "endpoint_protocol_generation",
|
|
7
|
+
HealthCheck: "health_check",
|
|
8
|
+
LiveHandoff: "live_handoff",
|
|
9
|
+
SshAgentRegistration: "ssh_agent_registration",
|
|
10
|
+
SurfaceInterest: "surface_interest",
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SubscriptionEventKind as SubscriptionEventKindName } from '../events.js';
|
|
2
|
+
/** Kinds carried by a subscription_event frame. */
|
|
3
|
+
export declare const SubscriptionEventKind: {
|
|
4
|
+
readonly PaneOutputMatched: "pane.output_matched";
|
|
5
|
+
readonly PaneAgentStatusChanged: "pane.agent_status_changed";
|
|
6
|
+
readonly PaneScrollChanged: "pane.scroll_changed";
|
|
7
|
+
};
|
|
8
|
+
export type SubscriptionEventKind = SubscriptionEventKindName;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// GENERATED by tools/gen/ from schema/herdr-api.schema.json. Do not edit.
|
|
2
|
+
// herdr protocol 22, schema_version 1.
|
|
3
|
+
/** Kinds carried by a subscription_event frame. */
|
|
4
|
+
export const SubscriptionEventKind = {
|
|
5
|
+
PaneOutputMatched: "pane.output_matched",
|
|
6
|
+
PaneAgentStatusChanged: "pane.agent_status_changed",
|
|
7
|
+
PaneScrollChanged: "pane.scroll_changed",
|
|
8
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Subscription type names. */
|
|
2
|
+
export declare const SubscriptionType: {
|
|
3
|
+
readonly WorkspaceCreated: "workspace.created";
|
|
4
|
+
readonly WorkspaceUpdated: "workspace.updated";
|
|
5
|
+
readonly WorkspaceMetadataUpdated: "workspace.metadata_updated";
|
|
6
|
+
readonly WorkspaceRenamed: "workspace.renamed";
|
|
7
|
+
readonly WorkspaceMoved: "workspace.moved";
|
|
8
|
+
readonly WorkspaceReordered: "workspace.reordered";
|
|
9
|
+
readonly WorkspaceClosed: "workspace.closed";
|
|
10
|
+
readonly WorkspaceFocused: "workspace.focused";
|
|
11
|
+
readonly WorktreeCreated: "worktree.created";
|
|
12
|
+
readonly WorktreeOpened: "worktree.opened";
|
|
13
|
+
readonly WorktreeRemoved: "worktree.removed";
|
|
14
|
+
readonly TabCreated: "tab.created";
|
|
15
|
+
readonly TabClosed: "tab.closed";
|
|
16
|
+
readonly TabFocused: "tab.focused";
|
|
17
|
+
readonly TabRenamed: "tab.renamed";
|
|
18
|
+
readonly TabMoved: "tab.moved";
|
|
19
|
+
readonly PaneCreated: "pane.created";
|
|
20
|
+
readonly PaneClosed: "pane.closed";
|
|
21
|
+
readonly PaneUpdated: "pane.updated";
|
|
22
|
+
readonly PaneFocused: "pane.focused";
|
|
23
|
+
readonly PaneMoved: "pane.moved";
|
|
24
|
+
readonly PaneExited: "pane.exited";
|
|
25
|
+
readonly PaneAgentDetected: "pane.agent_detected";
|
|
26
|
+
readonly PaneOutputMatched: "pane.output_matched";
|
|
27
|
+
readonly PaneAgentStatusChanged: "pane.agent_status_changed";
|
|
28
|
+
readonly PaneScrollChanged: "pane.scroll_changed";
|
|
29
|
+
readonly LayoutUpdated: "layout.updated";
|
|
30
|
+
};
|
|
31
|
+
export type SubscriptionType = (typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// GENERATED by tools/gen/ from schema/herdr-api.schema.json. Do not edit.
|
|
2
|
+
// herdr protocol 22, schema_version 1.
|
|
3
|
+
/** Subscription type names. */
|
|
4
|
+
export const SubscriptionType = {
|
|
5
|
+
WorkspaceCreated: "workspace.created",
|
|
6
|
+
WorkspaceUpdated: "workspace.updated",
|
|
7
|
+
WorkspaceMetadataUpdated: "workspace.metadata_updated",
|
|
8
|
+
WorkspaceRenamed: "workspace.renamed",
|
|
9
|
+
WorkspaceMoved: "workspace.moved",
|
|
10
|
+
WorkspaceReordered: "workspace.reordered",
|
|
11
|
+
WorkspaceClosed: "workspace.closed",
|
|
12
|
+
WorkspaceFocused: "workspace.focused",
|
|
13
|
+
WorktreeCreated: "worktree.created",
|
|
14
|
+
WorktreeOpened: "worktree.opened",
|
|
15
|
+
WorktreeRemoved: "worktree.removed",
|
|
16
|
+
TabCreated: "tab.created",
|
|
17
|
+
TabClosed: "tab.closed",
|
|
18
|
+
TabFocused: "tab.focused",
|
|
19
|
+
TabRenamed: "tab.renamed",
|
|
20
|
+
TabMoved: "tab.moved",
|
|
21
|
+
PaneCreated: "pane.created",
|
|
22
|
+
PaneClosed: "pane.closed",
|
|
23
|
+
PaneUpdated: "pane.updated",
|
|
24
|
+
PaneFocused: "pane.focused",
|
|
25
|
+
PaneMoved: "pane.moved",
|
|
26
|
+
PaneExited: "pane.exited",
|
|
27
|
+
PaneAgentDetected: "pane.agent_detected",
|
|
28
|
+
PaneOutputMatched: "pane.output_matched",
|
|
29
|
+
PaneAgentStatusChanged: "pane.agent_status_changed",
|
|
30
|
+
PaneScrollChanged: "pane.scroll_changed",
|
|
31
|
+
LayoutUpdated: "layout.updated",
|
|
32
|
+
};
|