@grackle-ai/ahp 0.131.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.
Files changed (153) hide show
  1. package/dist/index.d.ts +23 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +23 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/vendor/ahp/action-origin.generated.d.ts +33 -0
  6. package/dist/vendor/ahp/action-origin.generated.d.ts.map +1 -0
  7. package/dist/vendor/ahp/action-origin.generated.js +71 -0
  8. package/dist/vendor/ahp/action-origin.generated.js.map +1 -0
  9. package/dist/vendor/ahp/actions.d.ts +14 -0
  10. package/dist/vendor/ahp/actions.d.ts.map +1 -0
  11. package/dist/vendor/ahp/actions.js +15 -0
  12. package/dist/vendor/ahp/actions.js.map +1 -0
  13. package/dist/vendor/ahp/channels-changeset/actions.d.ts +87 -0
  14. package/dist/vendor/ahp/channels-changeset/actions.d.ts.map +1 -0
  15. package/dist/vendor/ahp/channels-changeset/actions.js +9 -0
  16. package/dist/vendor/ahp/channels-changeset/actions.js.map +1 -0
  17. package/dist/vendor/ahp/channels-changeset/commands.d.ts +103 -0
  18. package/dist/vendor/ahp/channels-changeset/commands.d.ts.map +1 -0
  19. package/dist/vendor/ahp/channels-changeset/commands.js +22 -0
  20. package/dist/vendor/ahp/channels-changeset/commands.js.map +1 -0
  21. package/dist/vendor/ahp/channels-changeset/reducer.d.ts +18 -0
  22. package/dist/vendor/ahp/channels-changeset/reducer.d.ts.map +1 -0
  23. package/dist/vendor/ahp/channels-changeset/reducer.js +65 -0
  24. package/dist/vendor/ahp/channels-changeset/reducer.js.map +1 -0
  25. package/dist/vendor/ahp/channels-changeset/state.d.ts +155 -0
  26. package/dist/vendor/ahp/channels-changeset/state.d.ts.map +1 -0
  27. package/dist/vendor/ahp/channels-changeset/state.js +39 -0
  28. package/dist/vendor/ahp/channels-changeset/state.js.map +1 -0
  29. package/dist/vendor/ahp/channels-otlp/notifications.d.ts +121 -0
  30. package/dist/vendor/ahp/channels-otlp/notifications.d.ts.map +1 -0
  31. package/dist/vendor/ahp/channels-otlp/notifications.js +11 -0
  32. package/dist/vendor/ahp/channels-otlp/notifications.js.map +1 -0
  33. package/dist/vendor/ahp/channels-otlp/state.d.ts +65 -0
  34. package/dist/vendor/ahp/channels-otlp/state.d.ts.map +1 -0
  35. package/dist/vendor/ahp/channels-otlp/state.js +10 -0
  36. package/dist/vendor/ahp/channels-otlp/state.js.map +1 -0
  37. package/dist/vendor/ahp/channels-root/actions.d.ts +62 -0
  38. package/dist/vendor/ahp/channels-root/actions.d.ts.map +1 -0
  39. package/dist/vendor/ahp/channels-root/actions.js +8 -0
  40. package/dist/vendor/ahp/channels-root/actions.js.map +1 -0
  41. package/dist/vendor/ahp/channels-root/commands.d.ts +172 -0
  42. package/dist/vendor/ahp/channels-root/commands.d.ts.map +1 -0
  43. package/dist/vendor/ahp/channels-root/commands.js +10 -0
  44. package/dist/vendor/ahp/channels-root/commands.js.map +1 -0
  45. package/dist/vendor/ahp/channels-root/notifications.d.ts +136 -0
  46. package/dist/vendor/ahp/channels-root/notifications.d.ts.map +1 -0
  47. package/dist/vendor/ahp/channels-root/notifications.js +9 -0
  48. package/dist/vendor/ahp/channels-root/notifications.js.map +1 -0
  49. package/dist/vendor/ahp/channels-root/reducer.d.ts +12 -0
  50. package/dist/vendor/ahp/channels-root/reducer.d.ts.map +1 -0
  51. package/dist/vendor/ahp/channels-root/reducer.js +36 -0
  52. package/dist/vendor/ahp/channels-root/reducer.js.map +1 -0
  53. package/dist/vendor/ahp/channels-root/state.d.ts +123 -0
  54. package/dist/vendor/ahp/channels-root/state.d.ts.map +1 -0
  55. package/dist/vendor/ahp/channels-root/state.js +19 -0
  56. package/dist/vendor/ahp/channels-root/state.js.map +1 -0
  57. package/dist/vendor/ahp/channels-session/actions.d.ts +736 -0
  58. package/dist/vendor/ahp/channels-session/actions.d.ts.map +1 -0
  59. package/dist/vendor/ahp/channels-session/actions.js +8 -0
  60. package/dist/vendor/ahp/channels-session/actions.js.map +1 -0
  61. package/dist/vendor/ahp/channels-session/commands.d.ts +261 -0
  62. package/dist/vendor/ahp/channels-session/commands.d.ts.map +1 -0
  63. package/dist/vendor/ahp/channels-session/commands.js +23 -0
  64. package/dist/vendor/ahp/channels-session/commands.js.map +1 -0
  65. package/dist/vendor/ahp/channels-session/reducer.d.ts +14 -0
  66. package/dist/vendor/ahp/channels-session/reducer.d.ts.map +1 -0
  67. package/dist/vendor/ahp/channels-session/reducer.js +703 -0
  68. package/dist/vendor/ahp/channels-session/reducer.js.map +1 -0
  69. package/dist/vendor/ahp/channels-session/state.d.ts +1217 -0
  70. package/dist/vendor/ahp/channels-session/state.d.ts.map +1 -0
  71. package/dist/vendor/ahp/channels-session/state.js +229 -0
  72. package/dist/vendor/ahp/channels-session/state.js.map +1 -0
  73. package/dist/vendor/ahp/channels-terminal/actions.d.ts +185 -0
  74. package/dist/vendor/ahp/channels-terminal/actions.d.ts.map +1 -0
  75. package/dist/vendor/ahp/channels-terminal/actions.js +8 -0
  76. package/dist/vendor/ahp/channels-terminal/actions.js.map +1 -0
  77. package/dist/vendor/ahp/channels-terminal/commands.d.ts +50 -0
  78. package/dist/vendor/ahp/channels-terminal/commands.d.ts.map +1 -0
  79. package/dist/vendor/ahp/channels-terminal/commands.js +8 -0
  80. package/dist/vendor/ahp/channels-terminal/commands.js.map +1 -0
  81. package/dist/vendor/ahp/channels-terminal/reducer.d.ts +12 -0
  82. package/dist/vendor/ahp/channels-terminal/reducer.d.ts.map +1 -0
  83. package/dist/vendor/ahp/channels-terminal/reducer.js +80 -0
  84. package/dist/vendor/ahp/channels-terminal/reducer.js.map +1 -0
  85. package/dist/vendor/ahp/channels-terminal/state.d.ts +151 -0
  86. package/dist/vendor/ahp/channels-terminal/state.d.ts.map +1 -0
  87. package/dist/vendor/ahp/channels-terminal/state.js +18 -0
  88. package/dist/vendor/ahp/channels-terminal/state.js.map +1 -0
  89. package/dist/vendor/ahp/commands.d.ts +14 -0
  90. package/dist/vendor/ahp/commands.d.ts.map +1 -0
  91. package/dist/vendor/ahp/commands.js +15 -0
  92. package/dist/vendor/ahp/commands.js.map +1 -0
  93. package/dist/vendor/ahp/common/actions.d.ts +107 -0
  94. package/dist/vendor/ahp/common/actions.d.ts.map +1 -0
  95. package/dist/vendor/ahp/common/actions.js +77 -0
  96. package/dist/vendor/ahp/common/actions.js.map +1 -0
  97. package/dist/vendor/ahp/common/commands.d.ts +594 -0
  98. package/dist/vendor/ahp/common/commands.d.ts.map +1 -0
  99. package/dist/vendor/ahp/common/commands.js +32 -0
  100. package/dist/vendor/ahp/common/commands.js.map +1 -0
  101. package/dist/vendor/ahp/common/errors.d.ts +184 -0
  102. package/dist/vendor/ahp/common/errors.d.ts.map +1 -0
  103. package/dist/vendor/ahp/common/errors.js +82 -0
  104. package/dist/vendor/ahp/common/errors.js.map +1 -0
  105. package/dist/vendor/ahp/common/messages.d.ts +330 -0
  106. package/dist/vendor/ahp/common/messages.d.ts.map +1 -0
  107. package/dist/vendor/ahp/common/messages.js +11 -0
  108. package/dist/vendor/ahp/common/messages.js.map +1 -0
  109. package/dist/vendor/ahp/common/notifications.d.ts +58 -0
  110. package/dist/vendor/ahp/common/notifications.d.ts.map +1 -0
  111. package/dist/vendor/ahp/common/notifications.js +20 -0
  112. package/dist/vendor/ahp/common/notifications.js.map +1 -0
  113. package/dist/vendor/ahp/common/reducer-helpers.d.ts +24 -0
  114. package/dist/vendor/ahp/common/reducer-helpers.d.ts.map +1 -0
  115. package/dist/vendor/ahp/common/reducer-helpers.js +31 -0
  116. package/dist/vendor/ahp/common/reducer-helpers.js.map +1 -0
  117. package/dist/vendor/ahp/common/state.d.ts +286 -0
  118. package/dist/vendor/ahp/common/state.d.ts.map +1 -0
  119. package/dist/vendor/ahp/common/state.js +11 -0
  120. package/dist/vendor/ahp/common/state.js.map +1 -0
  121. package/dist/vendor/ahp/errors.d.ts +8 -0
  122. package/dist/vendor/ahp/errors.d.ts.map +1 -0
  123. package/dist/vendor/ahp/errors.js +9 -0
  124. package/dist/vendor/ahp/errors.js.map +1 -0
  125. package/dist/vendor/ahp/index.d.ts +24 -0
  126. package/dist/vendor/ahp/index.d.ts.map +1 -0
  127. package/dist/vendor/ahp/index.js +21 -0
  128. package/dist/vendor/ahp/index.js.map +1 -0
  129. package/dist/vendor/ahp/messages.d.ts +8 -0
  130. package/dist/vendor/ahp/messages.d.ts.map +1 -0
  131. package/dist/vendor/ahp/messages.js +9 -0
  132. package/dist/vendor/ahp/messages.js.map +1 -0
  133. package/dist/vendor/ahp/notifications.d.ts +11 -0
  134. package/dist/vendor/ahp/notifications.d.ts.map +1 -0
  135. package/dist/vendor/ahp/notifications.js +12 -0
  136. package/dist/vendor/ahp/notifications.js.map +1 -0
  137. package/dist/vendor/ahp/reducers.d.ts +12 -0
  138. package/dist/vendor/ahp/reducers.d.ts.map +1 -0
  139. package/dist/vendor/ahp/reducers.js +13 -0
  140. package/dist/vendor/ahp/reducers.js.map +1 -0
  141. package/dist/vendor/ahp/state.d.ts +15 -0
  142. package/dist/vendor/ahp/state.d.ts.map +1 -0
  143. package/dist/vendor/ahp/state.js +16 -0
  144. package/dist/vendor/ahp/state.js.map +1 -0
  145. package/dist/vendor/ahp/version/message-checks.d.ts +15 -0
  146. package/dist/vendor/ahp/version/message-checks.d.ts.map +1 -0
  147. package/dist/vendor/ahp/version/message-checks.js +16 -0
  148. package/dist/vendor/ahp/version/message-checks.js.map +1 -0
  149. package/dist/vendor/ahp/version/registry.d.ts +56 -0
  150. package/dist/vendor/ahp/version/registry.d.ts.map +1 -0
  151. package/dist/vendor/ahp/version/registry.js +138 -0
  152. package/dist/vendor/ahp/version/registry.js.map +1 -0
  153. package/package.json +47 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/vendor/ahp/channels-session/actions.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM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AE,UAAU,CAAC,qBAAqB,CAAC;IACvC,+BAA+B;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,yBAAyB;IACzB,QAAQ,EAAE,wBAAwB,CAAC;IACnC,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CAC9C"}
@@ -0,0 +1,8 @@
1
+ /* eslint-disable -- vendored third-party code, see SOURCE.md */
2
+ /**
3
+ * Session Channel Actions — Mutations of an `ahp-session:` channel's state.
4
+ *
5
+ * @module channels-session/actions
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=actions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/vendor/ahp/channels-session/actions.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE;;;;GAIG"}
@@ -0,0 +1,261 @@
1
+ /**
2
+ * Session Channel Commands — `createSession`, `disposeSession`, `fetchTurns`,
3
+ * and `completions`. Most target a specific `ahp-session:` URI.
4
+ *
5
+ * @module channels-session/commands
6
+ */
7
+ import type { URI } from '../common/state.js';
8
+ import type { BaseParams } from '../common/commands.js';
9
+ import type { ModelSelection } from '../channels-root/state.js';
10
+ import type { Turn, SessionActiveClient, MessageAttachment, AgentSelection } from './state.js';
11
+ /**
12
+ * Creates a new session with the specified agent provider.
13
+ *
14
+ * If the session URI already exists, the server MUST return an error with code
15
+ * `-32003` (`SessionAlreadyExists`).
16
+ *
17
+ * After creation, the client should subscribe to the session URI to receive state
18
+ * updates. The server also broadcasts a `root/sessionAdded` notification to all
19
+ * clients.
20
+ *
21
+ * @category Commands
22
+ * @method createSession
23
+ * @direction Client → Server
24
+ * @messageType Request
25
+ * @version 1
26
+ * @example
27
+ * ```jsonc
28
+ * // Client → Server
29
+ * { "jsonrpc": "2.0", "id": 2, "method": "createSession",
30
+ * "params": { "channel": "ahp-session:/<uuid>", "provider": "copilot", "model": "gpt-4o" } }
31
+ *
32
+ * // Server → Client (success)
33
+ * { "jsonrpc": "2.0", "id": 2, "result": null }
34
+ *
35
+ * // Server → Client (failure — provider not found)
36
+ * { "jsonrpc": "2.0", "id": 2, "error": { "code": -32002, "message": "No agent for provider" } }
37
+ *
38
+ * // Server → Client (failure — session already exists)
39
+ * { "jsonrpc": "2.0", "id": 2, "error": { "code": -32003, "message": "Session already exists" } }
40
+ * ```
41
+ */
42
+ /**
43
+ * Identifies a source session and turn to fork from.
44
+ *
45
+ * When provided in `createSession`, the server populates the new session with
46
+ * content from the source session up to and including the response of the
47
+ * specified turn.
48
+ */
49
+ export interface SessionForkSource {
50
+ /** URI of the existing session to fork from */
51
+ session: URI;
52
+ /** Turn ID in the source session; content up to and including this turn's response is copied */
53
+ turnId: string;
54
+ }
55
+ export interface CreateSessionParams extends BaseParams {
56
+ /** Session URI (client-chosen, e.g. `ahp-session:/<uuid>`) */
57
+ channel: URI;
58
+ /** Agent provider ID */
59
+ provider?: string;
60
+ /** Model selection (ID and optional model-specific configuration) */
61
+ model?: ModelSelection;
62
+ /**
63
+ * Initial custom agent selection for the new session.
64
+ *
65
+ * Omit to start the session with no custom agent selected (provider default).
66
+ */
67
+ agent?: AgentSelection;
68
+ /** Working directory for the session */
69
+ workingDirectory?: URI;
70
+ /**
71
+ * Fork from an existing session. The new session is populated with content
72
+ * from the source session up to and including the specified turn's response.
73
+ */
74
+ fork?: SessionForkSource;
75
+ /**
76
+ * Agent-specific configuration values collected via `resolveSessionConfig`.
77
+ * Keys and values correspond to the schema returned by the server.
78
+ */
79
+ config?: Record<string, unknown>;
80
+ /**
81
+ * Eagerly claim the active client role for the new session.
82
+ *
83
+ * When provided, the server initializes the session with this client as the
84
+ * active client, equivalent to dispatching a `session/activeClientChanged`
85
+ * action immediately after creation. The `clientId` MUST match the
86
+ * `clientId` the creating client supplied in `initialize`.
87
+ */
88
+ activeClient?: SessionActiveClient;
89
+ }
90
+ /**
91
+ * Disposes a session and cleans up server-side resources.
92
+ *
93
+ * The server broadcasts a `root/sessionRemoved` notification to all clients.
94
+ *
95
+ * @category Commands
96
+ * @method disposeSession
97
+ * @direction Client → Server
98
+ * @messageType Request
99
+ * @version 1
100
+ */
101
+ export interface DisposeSessionParams extends BaseParams {
102
+ }
103
+ /**
104
+ * Fetches historical turns for a session. Used for lazy loading of conversation
105
+ * history.
106
+ *
107
+ * @category Commands
108
+ * @method fetchTurns
109
+ * @direction Client → Server
110
+ * @messageType Request
111
+ * @version 1
112
+ * @example
113
+ * ```jsonc
114
+ * // Client → Server (fetch the 20 most recent turns)
115
+ * { "jsonrpc": "2.0", "id": 8, "method": "fetchTurns",
116
+ * "params": { "channel": "ahp-session:/<uuid>", "limit": 20 } }
117
+ *
118
+ * // Server → Client
119
+ * { "jsonrpc": "2.0", "id": 8, "result": {
120
+ * "turns": [ { "id": "t1", ... }, { "id": "t2", ... } ],
121
+ * "hasMore": true
122
+ * }}
123
+ *
124
+ * // Client → Server (fetch 20 turns before t1)
125
+ * { "jsonrpc": "2.0", "id": 9, "method": "fetchTurns",
126
+ * "params": { "channel": "ahp-session:/<uuid>", "before": "t1", "limit": 20 } }
127
+ * ```
128
+ */
129
+ export interface FetchTurnsParams extends BaseParams {
130
+ /** Session URI */
131
+ channel: URI;
132
+ /** Turn ID to fetch before (exclusive). Omit to fetch from the most recent turn. */
133
+ before?: string;
134
+ /** Maximum number of turns to return. Server MAY impose its own upper bound. */
135
+ limit?: number;
136
+ }
137
+ /**
138
+ * Result of the `fetchTurns` command.
139
+ */
140
+ export interface FetchTurnsResult {
141
+ /** The requested turns, ordered oldest-first */
142
+ turns: Turn[];
143
+ /** Whether more turns exist before the returned range */
144
+ hasMore: boolean;
145
+ }
146
+ /**
147
+ * The kind of completion items being requested.
148
+ *
149
+ * @category Commands
150
+ */
151
+ export declare enum CompletionItemKind {
152
+ /**
153
+ * Completions for the text of a {@link UserMessage} the user is composing.
154
+ * Each returned item carries an attachment that gets associated with the
155
+ * message when accepted.
156
+ */
157
+ UserMessage = "userMessage"
158
+ }
159
+ /**
160
+ * Requests completion items for a partially-typed input (e.g. a user message
161
+ * the user is currently composing). Used to power `@`-mention pickers,
162
+ * file/symbol references, and similar inline-completion experiences.
163
+ *
164
+ * Servers SHOULD treat this command as best-effort and return promptly. The
165
+ * client SHOULD debounce calls to avoid flooding the server with requests on
166
+ * every keystroke.
167
+ *
168
+ * @category Commands
169
+ * @method completions
170
+ * @direction Client → Server
171
+ * @messageType Request
172
+ * @version 1
173
+ * @example
174
+ * ```jsonc
175
+ * // User has typed "look at @foo" and the cursor is just after "@foo".
176
+ * // Client → Server
177
+ * { "jsonrpc": "2.0", "id": 12, "method": "completions",
178
+ * "params": { "kind": "userMessage", "channel": "ahp-session:/<uuid>",
179
+ * "text": "look at @foo", "offset": 12 } }
180
+ *
181
+ * // Server → Client
182
+ * { "jsonrpc": "2.0", "id": 12, "result": {
183
+ * "items": [
184
+ * {
185
+ * "insertText": "@foo.ts",
186
+ * "rangeStart": 8,
187
+ * "rangeEnd": 12,
188
+ * "attachment": {
189
+ * "type": "resource",
190
+ * "label": "foo.ts",
191
+ * "displayKind": "document",
192
+ * "uri": "file:///workspace/foo.ts"
193
+ * }
194
+ * }
195
+ * ]
196
+ * }}
197
+ * ```
198
+ */
199
+ export interface CompletionsParams extends BaseParams {
200
+ /** What kind of completion is being requested. */
201
+ kind: CompletionItemKind;
202
+ /** The session URI the completion is being requested for. */
203
+ channel: URI;
204
+ /**
205
+ * The complete text of the input being completed (e.g. the full user
206
+ * message text typed so far).
207
+ */
208
+ text: string;
209
+ /**
210
+ * The character offset within `text` at which the completion is requested,
211
+ * measured in UTF-16 code units. MUST satisfy `0 <= offset <= text.length`.
212
+ */
213
+ offset: number;
214
+ }
215
+ /**
216
+ * A single completion item returned by the `completions` command.
217
+ *
218
+ * When the user accepts an item, the client SHOULD:
219
+ * 1. Replace the range `[rangeStart, rangeEnd)` in the input with `insertText`
220
+ * (or insert `insertText` at the cursor when the range is omitted).
221
+ * 2. Associate the item's `attachment` with the resulting {@link UserMessage}.
222
+ *
223
+ * @category Commands
224
+ */
225
+ export interface CompletionItem {
226
+ /**
227
+ * The text inserted into the input when this item is accepted.
228
+ */
229
+ insertText: string;
230
+ /**
231
+ * If defined, the start of the range in the input's `text` that is replaced
232
+ * by `insertText`. The range is the half-open interval
233
+ * `[rangeStart, rangeEnd)` of character offsets, measured in UTF-16 code
234
+ * units.
235
+ *
236
+ * When omitted, the client SHOULD insert `insertText` at the cursor.
237
+ *
238
+ * Note: this range refers to positions in the *current* input. The
239
+ * attachment's own `rangeStart`/`rangeEnd` (when present) refer to
240
+ * positions in the final {@link UserMessage.text} after the item is
241
+ * accepted.
242
+ */
243
+ rangeStart?: number;
244
+ /**
245
+ * The end of the range in the input's `text` that is replaced by
246
+ * `insertText`. See {@link rangeStart}.
247
+ */
248
+ rangeEnd?: number;
249
+ /**
250
+ * The attachment associated with this completion item.
251
+ */
252
+ attachment: MessageAttachment;
253
+ }
254
+ /**
255
+ * Result of the `completions` command.
256
+ */
257
+ export interface CompletionsResult {
258
+ /** The completion items, in the order the server suggests displaying them. */
259
+ items: CompletionItem[];
260
+ }
261
+ //# sourceMappingURL=commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../src/vendor/ahp/channels-session/commands.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EACV,IAAI,EACJ,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACf,MAAM,YAAY,CAAC;AAIpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,OAAO,EAAE,GAAG,CAAC;IAC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;IACb;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,iBAAiB,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,8EAA8E;IAC9E,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB"}
@@ -0,0 +1,23 @@
1
+ /* eslint-disable -- vendored third-party code, see SOURCE.md */
2
+ /**
3
+ * Session Channel Commands — `createSession`, `disposeSession`, `fetchTurns`,
4
+ * and `completions`. Most target a specific `ahp-session:` URI.
5
+ *
6
+ * @module channels-session/commands
7
+ */
8
+ // ─── completions ─────────────────────────────────────────────────────────────
9
+ /**
10
+ * The kind of completion items being requested.
11
+ *
12
+ * @category Commands
13
+ */
14
+ export var CompletionItemKind;
15
+ (function (CompletionItemKind) {
16
+ /**
17
+ * Completions for the text of a {@link UserMessage} the user is composing.
18
+ * Each returned item carries an attachment that gets associated with the
19
+ * message when accepted.
20
+ */
21
+ CompletionItemKind["UserMessage"] = "userMessage";
22
+ })(CompletionItemKind || (CompletionItemKind = {}));
23
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/vendor/ahp/channels-session/commands.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE;;;;;GAKG;AA6JH,gFAAgF;AAEhF;;;;GAIG;AACH,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,iDAA2B,CAAA;AAC7B,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Session Channel Reducer — Pure reducer for `SessionState`, including all
3
+ * session-internal helpers (turn lifecycle, tool call transitions, pending
4
+ * messages, input requests).
5
+ *
6
+ * @module channels-session/reducer
7
+ */
8
+ import type { SessionState } from './state.js';
9
+ import type { SessionAction } from '../action-origin.generated.js';
10
+ /**
11
+ * Pure reducer for session state. Handles all {@link SessionAction} variants.
12
+ */
13
+ export declare function sessionReducer(state: SessionState, action: SessionAction, log?: (msg: string) => void): SessionState;
14
+ //# sourceMappingURL=reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../src/vendor/ahp/channels-session/reducer.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AAGH,OAAO,KAAK,EAGV,YAAY,EAOb,MAAM,YAAY,CAAC;AAWpB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAqOnE;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,GAAG,YAAY,CAgiBpH"}