@nyte-ai/schema 0.0.25-beta.1 → 0.0.25-nightly.20261025.2

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 (40) hide show
  1. package/THIRD-PARTY-NOTICES.md +13 -5
  2. package/dist/chunks/{browser-bg1esaw0.js → browser-33tkdpyt.js} +3 -1
  3. package/dist/chunks/{browser-5w8ywd56.js → browser-5d4b93z0.js} +11 -4
  4. package/dist/chunks/{browser-8ancsy4m.js → browser-687z1792.js} +1 -1
  5. package/dist/chunks/{browser-t5xqtqzh.js → browser-772jascc.js} +1 -1
  6. package/dist/chunks/{browser-t7t9fc1r.js → browser-a2fneqk0.js} +3 -3
  7. package/dist/chunks/{browser-fw8cf4fc.js → browser-bc2qzchx.js} +4 -4
  8. package/dist/chunks/{browser-b1zjf2es.js → browser-c3qng9c0.js} +4 -4
  9. package/dist/chunks/{browser-40skw1kj.js → browser-g63zm094.js} +1 -1
  10. package/dist/chunks/{browser-ts4gc07c.js → browser-gvr7sjqk.js} +4 -4
  11. package/dist/chunks/{browser-40enyw9r.js → browser-jyrqtmaz.js} +2 -1
  12. package/dist/chunks/{browser-pvrs6rs5.js → browser-y40pk6zb.js} +3 -3
  13. package/dist/chunks/{browser-kmkhr82d.js → browser-ytzehszf.js} +4 -4
  14. package/dist/chunks/{browser-pk5dmvrr.js → browser-zn6g4y57.js} +1 -1
  15. package/dist/src/connection.js +5 -5
  16. package/dist/src/events.d.ts +2 -2
  17. package/dist/src/events.js +6 -6
  18. package/dist/src/index.js +17 -13
  19. package/dist/src/jobs.d.ts +8 -0
  20. package/dist/src/jobs.js +1 -1
  21. package/dist/src/mcp.d.ts +4 -2
  22. package/dist/src/parts.js +3 -3
  23. package/dist/src/runs.js +2 -2
  24. package/dist/src/sessions.d.ts +2 -2
  25. package/dist/src/sessions.js +4 -4
  26. package/dist/src/store.d.ts +1 -1
  27. package/dist/src/store.js +7 -7
  28. package/dist/src/views.d.ts +3 -3
  29. package/dist/src/views.js +6 -6
  30. package/dist/src/wire/operations/host.d.ts +9 -0
  31. package/dist/src/wire/operations/host.js +8 -8
  32. package/dist/src/wire/operations/index.d.ts +17 -3
  33. package/dist/src/wire/operations/index.js +11 -11
  34. package/dist/src/wire/operations/session.d.ts +3 -3
  35. package/dist/src/wire/operations/session.js +7 -7
  36. package/dist/src/wire/operations/workspace.d.ts +5 -0
  37. package/dist/src/wire/operations/workspace.js +5 -5
  38. package/dist/src/workspaces.d.ts +5 -0
  39. package/dist/src/workspaces.js +5 -1
  40. package/package.json +1 -1
@@ -55,6 +55,11 @@ SOFTWARE.
55
55
  `@earendil-works/pi-codemode` 1.0.0 supply the MCP client and QuickJS
56
56
  executor. Tool discovery and code-mode integration are adapted from commit
57
57
  `86dfceec402ad77e563bf4feab5f26c42d5f5db6`.
58
+ - BM25 tool search (`tool_search`, `searchTools()`), tool namespaces with
59
+ `describeNamespace()`, the budgeted codemode listing and the one-line MCP
60
+ server summary (`packages/plugin/src/tool-search.ts`,
61
+ `packages/plugin/src/codemode.ts`, `packages/core/src/builtins/mcp.ts`) are
62
+ ported from commit `d5b3de22d0e24a3e9c38a9410d3329b099717283`.
58
63
  - Transcript reconciliation, checkpoint instruction snapshots, provider system
59
64
  updates, and cache warming are ported from the 1.0.0 release commit
60
65
  `a13d35a742c6ef8462812a28fbe1d8c8b7431c32`.
@@ -312,11 +317,14 @@ Copyright 2025 OpenAI
312
317
  front of the queue (`packages/tui/src/model/interactions.ts`) is its
313
318
  `onEmptySubmit`. The rename
314
319
  plugin's context construction, prompt, model fallback, and output cleanup
315
- (`packages/plugin/src/rename.ts`) port OpenCode v2. The web-search
316
- plugin set (`packages/plugin/src/web-search.ts`) ports its Exa, Firecrawl,
317
- Parallel, and Tavily adapters, its stateless MCP `tools/call` transport and
318
- response bounds, its result and error vocabulary, and its arrangement of one
319
- plugin per provider from OpenCode v2.
320
+ (`packages/plugin/src/rename.ts`) port OpenCode v2. The web plugin
321
+ (`packages/plugin/src/web/`) ports OpenCode v2's web search and fetch tools:
322
+ the search provider registry any plugin can add to (`searchProviders` in
323
+ `packages/core/src/contract/plugin.ts`), its Exa, Firecrawl, Parallel, and
324
+ Tavily adapters, their stateless MCP `tools/call` transport and response
325
+ bounds, the result and error vocabulary, `web_fetch`'s Accept headers,
326
+ Cloudflare-challenge retry and size limits, and the streaming HTML-to-Markdown
327
+ and HTML-to-text converters (`packages/plugin/src/web/html-markdown.ts`).
320
328
  - Core's ripgrep resolver and search adapter (`packages/core/src/ripgrep.ts`,
321
329
  `packages/core/src/ripgrep/binary.ts`) and filename search
322
330
  (`packages/core/src/file-search.ts`) adapt OpenCode v2's core implementation.
@@ -44,6 +44,7 @@ var ForgetOutcomeType2 = Type.Union([
44
44
  Type.Object({ kind: Type.Literal("busy"), sessions: Type.Array(idSchema2()) }),
45
45
  Type.Object({ kind: Type.Literal("missing") })
46
46
  ]);
47
+ var WorktreeCleanupType2 = Type.Object({ cleaned: Type.Number() });
47
48
  var WorkspaceInspectionType2 = Type.Object({
48
49
  target: WorkspaceTargetType2,
49
50
  identity: idSchema2(),
@@ -76,7 +77,8 @@ var WorkspaceTargetSchema2 = standard2(withJson2(WorkspaceTargetType2));
76
77
  var ActivationSchema2 = standard2(ActivationType2);
77
78
  var AddOutcomeSchema2 = standard2(AddOutcomeType2);
78
79
  var ForgetOutcomeSchema2 = standard2(ForgetOutcomeType2);
80
+ var WorktreeCleanupSchema2 = standard2(WorktreeCleanupType2);
79
81
  var WorkspaceInspectionSchema2 = standard2(withJson2(WorkspaceInspectionType2));
80
82
  var WorkspaceInfoSchema2 = standard2(withJson2(WorkspaceInfoType2));
81
83
 
82
- export { AvailabilityType2, WorkspaceTargetType2, ActivationType2, AddOutcomeType2, ForgetOutcomeType2, WorkspaceInspectionType2, WorktreeIsolationType2, WorkspaceInfoType2, AvailabilitySchema2, WorkspaceTargetSchema2, ActivationSchema2, AddOutcomeSchema2, ForgetOutcomeSchema2, WorkspaceInspectionSchema2, WorkspaceInfoSchema2 };
84
+ export { AvailabilityType2, WorkspaceTargetType2, ActivationType2, AddOutcomeType2, ForgetOutcomeType2, WorktreeCleanupType2, WorkspaceInspectionType2, WorktreeIsolationType2, WorkspaceInfoType2, AvailabilitySchema2, WorkspaceTargetSchema2, ActivationSchema2, AddOutcomeSchema2, ForgetOutcomeSchema2, WorktreeCleanupSchema2, WorkspaceInspectionSchema2, WorkspaceInfoSchema2 };
@@ -30,15 +30,16 @@ import {
30
30
  WorkspaceInfoType2,
31
31
  AddOutcomeSchema2,
32
32
  ForgetOutcomeSchema2,
33
+ WorktreeCleanupSchema2,
33
34
  WorkspaceInspectionSchema2
34
- } from "./browser-bg1esaw0.js";
35
+ } from "./browser-33tkdpyt.js";
35
36
  import {
36
37
  SessionInfoType2
37
- } from "./browser-t7t9fc1r.js";
38
+ } from "./browser-a2fneqk0.js";
38
39
  import {
39
40
  HostViewWireSchema2,
40
41
  SettingOutcomeSchema2
41
- } from "./browser-pk5dmvrr.js";
42
+ } from "./browser-zn6g4y57.js";
42
43
  import {
43
44
  PromptOverrideType2
44
45
  } from "./browser-j629a6wa.js";
@@ -48,7 +49,7 @@ import {
48
49
  } from "./browser-0byq2fja.js";
49
50
  import {
50
51
  SessionsFrameType2
51
- } from "./browser-kmkhr82d.js";
52
+ } from "./browser-ytzehszf.js";
52
53
  import {
53
54
  wireSchema2,
54
55
  wireObject2,
@@ -211,6 +212,12 @@ var HOST_OPERATIONS2 = {
211
212
  input: wireObject2({ id: idSchema2() }),
212
213
  output: ForgetOutcomeSchema2
213
214
  },
215
+ "workspaces.cleanWorktrees": {
216
+ ...OWNER,
217
+ kind: "command",
218
+ input: NO_INPUT,
219
+ output: WorktreeCleanupSchema2
220
+ },
214
221
  "sessions.watch": {
215
222
  ...PARTICIPANT,
216
223
  kind: "watch",
@@ -23,7 +23,7 @@ import {
23
23
  } from "./browser-1sfp0bcx.js";
24
24
  import {
25
25
  JobEndType2
26
- } from "./browser-40enyw9r.js";
26
+ } from "./browser-jyrqtmaz.js";
27
27
 
28
28
  // src/runs.ts
29
29
  import { Type } from "typebox";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./browser-sgwxbek9.js";
17
17
  import {
18
18
  WaitTargetType2
19
- } from "./browser-8ancsy4m.js";
19
+ } from "./browser-687z1792.js";
20
20
  import {
21
21
  ToolClassType2,
22
22
  ToolOutcomeType2,
@@ -21,10 +21,10 @@ import {
21
21
  } from "./browser-0sbkxgkx.js";
22
22
  import {
23
23
  ExecutionType2
24
- } from "./browser-8ancsy4m.js";
24
+ } from "./browser-687z1792.js";
25
25
  import {
26
26
  ActivationType2
27
- } from "./browser-bg1esaw0.js";
27
+ } from "./browser-33tkdpyt.js";
28
28
 
29
29
  // src/sessions.ts
30
30
  import { Type } from "typebox";
@@ -120,7 +120,7 @@ var ToolInfoType2 = Type.Object({
120
120
  description: Type.String(),
121
121
  parameters: JsonObjectType2,
122
122
  output: nullable2(JsonObjectType2),
123
- exposure: Type.Enum(["model", "deferred", "code", "hidden"])
123
+ exposure: Type.Enum(["model", "model-only", "deferred", "code", "hidden"])
124
124
  });
125
125
  var SessionCatalogViewType2 = Type.Object({
126
126
  commands: Type.Array(CommandInfoType2),
@@ -36,7 +36,7 @@ import {
36
36
  RunEndType2,
37
37
  WaitTargetType2,
38
38
  BackgroundItemType2
39
- } from "./browser-8ancsy4m.js";
39
+ } from "./browser-687z1792.js";
40
40
  import {
41
41
  ToolOutcomeType2,
42
42
  ToolProgressType2
@@ -44,14 +44,14 @@ import {
44
44
  import {
45
45
  PlacementType2,
46
46
  ToolChangesType2
47
- } from "./browser-t5xqtqzh.js";
47
+ } from "./browser-772jascc.js";
48
48
  import {
49
49
  ActivationType2
50
- } from "./browser-bg1esaw0.js";
50
+ } from "./browser-33tkdpyt.js";
51
51
  import {
52
52
  SessionInfoType2,
53
53
  SessionCatalogViewType2
54
- } from "./browser-t7t9fc1r.js";
54
+ } from "./browser-a2fneqk0.js";
55
55
 
56
56
  // src/events.ts
57
57
  import { Type } from "typebox";
@@ -16,7 +16,7 @@ import {
16
16
  JobsChangeType2,
17
17
  JobEndSchema2,
18
18
  OutputFrameSchema2
19
- } from "./browser-40enyw9r.js";
19
+ } from "./browser-jyrqtmaz.js";
20
20
  import {
21
21
  McpServerConfigType2,
22
22
  McpViewSchema2,
@@ -27,15 +27,15 @@ import {
27
27
  } from "./browser-0byq2fja.js";
28
28
  import {
29
29
  stopOutcomeSchema2
30
- } from "./browser-8ancsy4m.js";
30
+ } from "./browser-687z1792.js";
31
31
  import {
32
32
  WorkspaceInfoSchema2
33
- } from "./browser-bg1esaw0.js";
33
+ } from "./browser-33tkdpyt.js";
34
34
  import {
35
35
  WorkspaceCatalogViewType2,
36
36
  CommandCompletionsSchema2,
37
37
  WorkspaceCommandOutcomeSchema2
38
- } from "./browser-t7t9fc1r.js";
38
+ } from "./browser-a2fneqk0.js";
39
39
  import {
40
40
  wireSchema2,
41
41
  wireObject2,
@@ -13,7 +13,7 @@ import {
13
13
  } from "./browser-4et7qtz3.js";
14
14
  import {
15
15
  DurableEventType2
16
- } from "./browser-fw8cf4fc.js";
16
+ } from "./browser-bc2qzchx.js";
17
17
 
18
18
  // src/store.ts
19
19
  import { Type } from "typebox";
@@ -35,26 +35,26 @@ import {
35
35
  RunEndType2,
36
36
  stopOutcomeSchema2,
37
37
  RunEndSchema2
38
- } from "./browser-8ancsy4m.js";
38
+ } from "./browser-687z1792.js";
39
39
  import {
40
40
  PlacementType2,
41
41
  PartViewType2,
42
42
  actOutcomeSchema2
43
- } from "./browser-t5xqtqzh.js";
43
+ } from "./browser-772jascc.js";
44
44
  import {
45
45
  SessionInfoSchema2,
46
46
  CommandOutcomeSchema2,
47
47
  CommandCompletionsSchema2,
48
48
  UpdateOutcomeSchema2,
49
49
  RemoveSessionOutcomeSchema2
50
- } from "./browser-t7t9fc1r.js";
50
+ } from "./browser-a2fneqk0.js";
51
51
  import {
52
52
  ViewOptionsType2,
53
53
  UserStatusType2,
54
54
  HistoryPageType2,
55
55
  SessionViewSchema2,
56
56
  ViewFrameSchema2
57
- } from "./browser-kmkhr82d.js";
57
+ } from "./browser-ytzehszf.js";
58
58
  import {
59
59
  wireSchema2,
60
60
  wireObject2,
@@ -35,7 +35,8 @@ var JobViewType2 = Type.Object({
35
35
  state: JobStateType2,
36
36
  startedAt: Type.Number(),
37
37
  endedAt: nullable2(Type.Number()),
38
- tail: Type.String()
38
+ tail: Type.String(),
39
+ foreground: Type.Boolean()
39
40
  });
40
41
  var JobMovedType = Type.Object({ kind: Type.Literal("job"), job: JobViewType2 });
41
42
  var JobForgottenType = Type.Object({ kind: Type.Literal("forgotten"), id: idSchema2() });
@@ -13,13 +13,13 @@ import {
13
13
  import {
14
14
  HOST_OPERATIONS2,
15
15
  MAINTENANCE_OPERATIONS2
16
- } from "./browser-5w8ywd56.js";
16
+ } from "./browser-5d4b93z0.js";
17
17
  import {
18
18
  SESSION_OPERATIONS2
19
- } from "./browser-ts4gc07c.js";
19
+ } from "./browser-gvr7sjqk.js";
20
20
  import {
21
21
  WORKSPACE_OPERATIONS2
22
- } from "./browser-b1zjf2es.js";
22
+ } from "./browser-c3qng9c0.js";
23
23
 
24
24
  // src/wire/operations/index.ts
25
25
  var OPERATIONS2 = {
@@ -33,19 +33,19 @@ import {
33
33
  WaitTargetType2,
34
34
  ExecutionType2,
35
35
  BackgroundItemType2
36
- } from "./browser-8ancsy4m.js";
36
+ } from "./browser-687z1792.js";
37
37
  import {
38
38
  PartStatusType2,
39
39
  PartViewType2
40
- } from "./browser-t5xqtqzh.js";
40
+ } from "./browser-772jascc.js";
41
41
  import {
42
42
  ActivationType2
43
- } from "./browser-bg1esaw0.js";
43
+ } from "./browser-33tkdpyt.js";
44
44
  import {
45
45
  HeadInfoType2,
46
46
  SessionInfoType2,
47
47
  SessionCatalogViewType2
48
- } from "./browser-t7t9fc1r.js";
48
+ } from "./browser-a2fneqk0.js";
49
49
 
50
50
  // src/views.ts
51
51
  import { Type } from "typebox";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./browser-6e1madxa.js";
25
25
  import {
26
26
  SettingInfoType2
27
- } from "./browser-t7t9fc1r.js";
27
+ } from "./browser-a2fneqk0.js";
28
28
 
29
29
  // src/connection.ts
30
30
  import { Type } from "typebox";
@@ -7,14 +7,14 @@ import {
7
7
  CredentialSourceWireSchema2,
8
8
  JournalEntrySchema2,
9
9
  SettingOutcomeSchema2
10
- } from "../chunks/browser-pk5dmvrr.js";
10
+ } from "../chunks/browser-zn6g4y57.js";
11
11
  import"../chunks/browser-82qzgxz4.js";
12
12
  import"../chunks/browser-6e1madxa.js";
13
- import"../chunks/browser-t7t9fc1r.js";
14
- import"../chunks/browser-bg1esaw0.js";
15
- import"../chunks/browser-8ancsy4m.js";
13
+ import"../chunks/browser-a2fneqk0.js";
14
+ import"../chunks/browser-33tkdpyt.js";
15
+ import"../chunks/browser-687z1792.js";
16
16
  import"../chunks/browser-wqkhghw2.js";
17
- import"../chunks/browser-40enyw9r.js";
17
+ import"../chunks/browser-jyrqtmaz.js";
18
18
  import"../chunks/browser-m0wzr0g8.js";
19
19
  import"../chunks/browser-ynj8v9ad.js";
20
20
  import"../chunks/browser-0sbkxgkx.js";
@@ -863,7 +863,7 @@ export declare const DurableEventType: Type.TUnion<[Type.TObject<{
863
863
  description: Type.TString;
864
864
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
865
865
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
866
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
866
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
867
867
  }>>;
868
868
  }>;
869
869
  }>]>;
@@ -1725,7 +1725,7 @@ export declare const SessionEventType: Type.TUnion<[Type.TObject<{
1725
1725
  description: Type.TString;
1726
1726
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
1727
1727
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
1728
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
1728
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
1729
1729
  }>>;
1730
1730
  }>;
1731
1731
  }>]>;
@@ -7,14 +7,14 @@ import {
7
7
  DurableEventSchema2,
8
8
  SessionEventSchema2,
9
9
  PatchEventSchema2
10
- } from "../chunks/browser-fw8cf4fc.js";
11
- import"../chunks/browser-t5xqtqzh.js";
10
+ } from "../chunks/browser-bc2qzchx.js";
11
+ import"../chunks/browser-772jascc.js";
12
12
  import"../chunks/browser-h86zs54a.js";
13
- import"../chunks/browser-t7t9fc1r.js";
14
- import"../chunks/browser-bg1esaw0.js";
15
- import"../chunks/browser-8ancsy4m.js";
13
+ import"../chunks/browser-a2fneqk0.js";
14
+ import"../chunks/browser-33tkdpyt.js";
15
+ import"../chunks/browser-687z1792.js";
16
16
  import"../chunks/browser-wqkhghw2.js";
17
- import"../chunks/browser-40enyw9r.js";
17
+ import"../chunks/browser-jyrqtmaz.js";
18
18
  import"../chunks/browser-m0wzr0g8.js";
19
19
  import"../chunks/browser-ynj8v9ad.js";
20
20
  import"../chunks/browser-0sbkxgkx.js";
package/dist/src/index.js CHANGED
@@ -170,7 +170,7 @@ import {
170
170
  JobStateSchema2,
171
171
  JobViewSchema2,
172
172
  OutputFrameSchema2
173
- } from "../chunks/browser-40enyw9r.js";
173
+ } from "../chunks/browser-jyrqtmaz.js";
174
174
  import {
175
175
  RunViewType2,
176
176
  RunEndType2,
@@ -185,13 +185,14 @@ import {
185
185
  ExecutionSchema2,
186
186
  BackgroundItemSchema2,
187
187
  WaitOutcomeSchema2
188
- } from "../chunks/browser-8ancsy4m.js";
188
+ } from "../chunks/browser-687z1792.js";
189
189
  import {
190
190
  AvailabilityType2,
191
191
  WorkspaceTargetType2,
192
192
  ActivationType2,
193
193
  AddOutcomeType2,
194
194
  ForgetOutcomeType2,
195
+ WorktreeCleanupType2,
195
196
  WorkspaceInspectionType2,
196
197
  WorktreeIsolationType2,
197
198
  WorkspaceInfoType2,
@@ -200,9 +201,10 @@ import {
200
201
  ActivationSchema2,
201
202
  AddOutcomeSchema2,
202
203
  ForgetOutcomeSchema2,
204
+ WorktreeCleanupSchema2,
203
205
  WorkspaceInspectionSchema2,
204
206
  WorkspaceInfoSchema2
205
- } from "../chunks/browser-bg1esaw0.js";
207
+ } from "../chunks/browser-33tkdpyt.js";
206
208
  import {
207
209
  HeadInfoType2,
208
210
  SessionInfoType2,
@@ -233,7 +235,7 @@ import {
233
235
  WorkspaceCommandOutcomeSchema2,
234
236
  UpdateOutcomeSchema2,
235
237
  RemoveSessionOutcomeSchema2
236
- } from "../chunks/browser-t7t9fc1r.js";
238
+ } from "../chunks/browser-a2fneqk0.js";
237
239
  import {
238
240
  HostViewWireType2,
239
241
  CredentialSourceWireType2,
@@ -243,7 +245,7 @@ import {
243
245
  CredentialSourceWireSchema2,
244
246
  JournalEntrySchema2,
245
247
  SettingOutcomeSchema2
246
- } from "../chunks/browser-pk5dmvrr.js";
248
+ } from "../chunks/browser-zn6g4y57.js";
247
249
  import"../chunks/browser-k20f6cvv.js";
248
250
  import {
249
251
  FileStatusType2,
@@ -290,7 +292,7 @@ import {
290
292
  PartStatusSchema2,
291
293
  PartViewSchema2,
292
294
  ToolPartStateSchema2
293
- } from "../chunks/browser-t5xqtqzh.js";
295
+ } from "../chunks/browser-772jascc.js";
294
296
  import {
295
297
  CommitBodyType2,
296
298
  DurableEventType2,
@@ -300,7 +302,7 @@ import {
300
302
  DurableEventSchema2,
301
303
  SessionEventSchema2,
302
304
  PatchEventSchema2
303
- } from "../chunks/browser-fw8cf4fc.js";
305
+ } from "../chunks/browser-bc2qzchx.js";
304
306
  import {
305
307
  GitStatusType2,
306
308
  GitCommitViewType2,
@@ -399,7 +401,7 @@ import {
399
401
  RefSchema2,
400
402
  RefUpdateSchema2,
401
403
  SetOutcomeSchema2
402
- } from "../chunks/browser-40skw1kj.js";
404
+ } from "../chunks/browser-g63zm094.js";
403
405
  import {
404
406
  ViewOptionsType2,
405
407
  UserStatusType2,
@@ -417,18 +419,18 @@ import {
417
419
  SessionViewSchema2,
418
420
  HistoryPageSchema2,
419
421
  ViewFrameSchema2
420
- } from "../chunks/browser-kmkhr82d.js";
422
+ } from "../chunks/browser-ytzehszf.js";
421
423
  import"../chunks/browser-r87w64mz.js";
422
424
  import"../chunks/browser-fd3accdr.js";
423
425
  import"../chunks/browser-pdv675va.js";
424
426
  import"../chunks/browser-0xr6c36r.js";
425
427
  import"../chunks/browser-0g0z3617.js";
426
- import"../chunks/browser-5w8ywd56.js";
427
- import"../chunks/browser-ts4gc07c.js";
428
- import"../chunks/browser-b1zjf2es.js";
428
+ import"../chunks/browser-5d4b93z0.js";
429
+ import"../chunks/browser-gvr7sjqk.js";
430
+ import"../chunks/browser-c3qng9c0.js";
429
431
  import {
430
432
  OPERATIONS2
431
- } from "../chunks/browser-pvrs6rs5.js";
433
+ } from "../chunks/browser-y40pk6zb.js";
432
434
  export {
433
435
  ActivationSchema2 as ActivationSchema,
434
436
  ActivationType2 as ActivationType,
@@ -774,6 +776,8 @@ export {
774
776
  WorkspaceInspectionType2 as WorkspaceInspectionType,
775
777
  WorkspaceTargetSchema2 as WorkspaceTargetSchema,
776
778
  WorkspaceTargetType2 as WorkspaceTargetType,
779
+ WorktreeCleanupSchema2 as WorktreeCleanupSchema,
780
+ WorktreeCleanupType2 as WorktreeCleanupType,
777
781
  WorktreeIsolationType2 as WorktreeIsolationType,
778
782
  WriteOutcomeSchema2 as WriteOutcomeSchema,
779
783
  WriteOutcomeType2 as WriteOutcomeType,
@@ -42,6 +42,8 @@ export declare const JobViewType: Type.TObject<{
42
42
  startedAt: Type.TNumber;
43
43
  endedAt: Type.TUnion<[Type.TNumber, Type.TNull]>;
44
44
  tail: Type.TString;
45
+ /** True while the job is still the tool call that started it; false for a job started detached or once moved to the background. */
46
+ foreground: Type.TBoolean;
45
47
  }>;
46
48
  export type JobView = Decoded<typeof JobViewType>;
47
49
  /** One job's move in a workspace's job list: its new view, or its removal once the list stops keeping it. */
@@ -69,6 +71,8 @@ export declare const JobChangeType: Type.TUnion<[Type.TObject<{
69
71
  startedAt: Type.TNumber;
70
72
  endedAt: Type.TUnion<[Type.TNumber, Type.TNull]>;
71
73
  tail: Type.TString;
74
+ /** True while the job is still the tool call that started it; false for a job started detached or once moved to the background. */
75
+ foreground: Type.TBoolean;
72
76
  }>;
73
77
  }>, Type.TObject<{
74
78
  kind: Type.TLiteral<"forgotten">;
@@ -100,6 +104,8 @@ export declare const JobsChangeType: Type.TUnion<[Type.TObject<{
100
104
  startedAt: Type.TNumber;
101
105
  endedAt: Type.TUnion<[Type.TNumber, Type.TNull]>;
102
106
  tail: Type.TString;
107
+ /** True while the job is still the tool call that started it; false for a job started detached or once moved to the background. */
108
+ foreground: Type.TBoolean;
103
109
  }>>;
104
110
  }>, Type.TObject<{
105
111
  kind: Type.TLiteral<"job">;
@@ -125,6 +131,8 @@ export declare const JobsChangeType: Type.TUnion<[Type.TObject<{
125
131
  startedAt: Type.TNumber;
126
132
  endedAt: Type.TUnion<[Type.TNumber, Type.TNull]>;
127
133
  tail: Type.TString;
134
+ /** True while the job is still the tool call that started it; false for a job started detached or once moved to the background. */
135
+ foreground: Type.TBoolean;
128
136
  }>;
129
137
  }>, Type.TObject<{
130
138
  kind: Type.TLiteral<"forgotten">;
package/dist/src/jobs.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  JobStateSchema2,
13
13
  JobViewSchema2,
14
14
  OutputFrameSchema2
15
- } from "../chunks/browser-40enyw9r.js";
15
+ } from "../chunks/browser-jyrqtmaz.js";
16
16
  import"../chunks/browser-m0wzr0g8.js";
17
17
  import"../chunks/browser-4et7qtz3.js";
18
18
  import"../chunks/browser-ypez6s7v.js";
package/dist/src/mcp.d.ts CHANGED
@@ -3,8 +3,10 @@ import type { Decoded, Schema } from "./schema.ts";
3
3
  export declare const McpExposureType: Type.TEnum<["model", "deferred", "code", "hidden"]>;
4
4
  /**
5
5
  * How a server's tools reach the model. `model` declares them, `deferred`
6
- * leaves them for tool search, `code` makes them callable only from codemode
7
- * scripts (the default), and `hidden` makes them unreachable.
6
+ * leaves them for `tool_search` to load, `code` leaves them for codemode
7
+ * scripts (the default), and `hidden` makes them unreachable. Neither
8
+ * `deferred` nor `code` tools are listed; both are callable from scripts and
9
+ * found by `searchTools()` and `tool_search`.
8
10
  */
9
11
  export type McpExposure = Decoded<typeof McpExposureType>;
10
12
  export declare const McpScopeType: Type.TEnum<["user", "project"]>;
package/dist/src/parts.js CHANGED
@@ -10,10 +10,10 @@ import {
10
10
  PartStatusSchema2,
11
11
  PartViewSchema2,
12
12
  ToolPartStateSchema2
13
- } from "../chunks/browser-t5xqtqzh.js";
13
+ } from "../chunks/browser-772jascc.js";
14
14
  import"../chunks/browser-h86zs54a.js";
15
- import"../chunks/browser-8ancsy4m.js";
16
- import"../chunks/browser-40enyw9r.js";
15
+ import"../chunks/browser-687z1792.js";
16
+ import"../chunks/browser-jyrqtmaz.js";
17
17
  import"../chunks/browser-m0wzr0g8.js";
18
18
  import"../chunks/browser-ynj8v9ad.js";
19
19
  import"../chunks/browser-0sbkxgkx.js";
package/dist/src/runs.js CHANGED
@@ -12,8 +12,8 @@ import {
12
12
  ExecutionSchema2,
13
13
  BackgroundItemSchema2,
14
14
  WaitOutcomeSchema2
15
- } from "../chunks/browser-8ancsy4m.js";
16
- import"../chunks/browser-40enyw9r.js";
15
+ } from "../chunks/browser-687z1792.js";
16
+ import"../chunks/browser-jyrqtmaz.js";
17
17
  import"../chunks/browser-m0wzr0g8.js";
18
18
  import"../chunks/browser-ynj8v9ad.js";
19
19
  import"../chunks/browser-0sbkxgkx.js";
@@ -403,7 +403,7 @@ export declare const ToolInfoType: Type.TObject<{
403
403
  description: Type.TString;
404
404
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
405
405
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
406
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
406
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
407
407
  }>;
408
408
  export type ToolInfo = Decoded<typeof ToolInfoType>;
409
409
  export declare const SessionCatalogViewType: Type.TObject<{
@@ -457,7 +457,7 @@ export declare const SessionCatalogViewType: Type.TObject<{
457
457
  description: Type.TString;
458
458
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
459
459
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
460
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
460
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
461
461
  }>>;
462
462
  }>;
463
463
  export type SessionCatalogView = Decoded<typeof SessionCatalogViewType>;
@@ -28,11 +28,11 @@ import {
28
28
  WorkspaceCommandOutcomeSchema2,
29
29
  UpdateOutcomeSchema2,
30
30
  RemoveSessionOutcomeSchema2
31
- } from "../chunks/browser-t7t9fc1r.js";
32
- import"../chunks/browser-bg1esaw0.js";
33
- import"../chunks/browser-8ancsy4m.js";
31
+ } from "../chunks/browser-a2fneqk0.js";
32
+ import"../chunks/browser-33tkdpyt.js";
33
+ import"../chunks/browser-687z1792.js";
34
34
  import"../chunks/browser-wqkhghw2.js";
35
- import"../chunks/browser-40enyw9r.js";
35
+ import"../chunks/browser-jyrqtmaz.js";
36
36
  import"../chunks/browser-m0wzr0g8.js";
37
37
  import"../chunks/browser-ynj8v9ad.js";
38
38
  import"../chunks/browser-0sbkxgkx.js";
@@ -805,7 +805,7 @@ export declare const RefUpdateType: Type.TObject<{
805
805
  description: Type.TString;
806
806
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
807
807
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
808
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
808
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
809
809
  }>>;
810
810
  }>;
811
811
  }>]>>>;
package/dist/src/store.js CHANGED
@@ -5,15 +5,15 @@ import {
5
5
  RefSchema2,
6
6
  RefUpdateSchema2,
7
7
  SetOutcomeSchema2
8
- } from "../chunks/browser-40skw1kj.js";
9
- import"../chunks/browser-fw8cf4fc.js";
10
- import"../chunks/browser-t5xqtqzh.js";
8
+ } from "../chunks/browser-g63zm094.js";
9
+ import"../chunks/browser-bc2qzchx.js";
10
+ import"../chunks/browser-772jascc.js";
11
11
  import"../chunks/browser-h86zs54a.js";
12
- import"../chunks/browser-t7t9fc1r.js";
13
- import"../chunks/browser-bg1esaw0.js";
14
- import"../chunks/browser-8ancsy4m.js";
12
+ import"../chunks/browser-a2fneqk0.js";
13
+ import"../chunks/browser-33tkdpyt.js";
14
+ import"../chunks/browser-687z1792.js";
15
15
  import"../chunks/browser-wqkhghw2.js";
16
- import"../chunks/browser-40enyw9r.js";
16
+ import"../chunks/browser-jyrqtmaz.js";
17
17
  import"../chunks/browser-m0wzr0g8.js";
18
18
  import"../chunks/browser-ynj8v9ad.js";
19
19
  import"../chunks/browser-0sbkxgkx.js";
@@ -1250,7 +1250,7 @@ export declare const SessionViewType: Type.TObject<{
1250
1250
  description: Type.TString;
1251
1251
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
1252
1252
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
1253
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
1253
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
1254
1254
  }>>;
1255
1255
  }>;
1256
1256
  }>;
@@ -2492,7 +2492,7 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2492
2492
  description: Type.TString;
2493
2493
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
2494
2494
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
2495
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
2495
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
2496
2496
  }>>;
2497
2497
  }>;
2498
2498
  }>;
@@ -3416,7 +3416,7 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
3416
3416
  description: Type.TString;
3417
3417
  parameters: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
3418
3418
  output: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>, Type.TNull]>;
3419
- exposure: Type.TEnum<["model", "deferred", "code", "hidden"]>;
3419
+ exposure: Type.TEnum<["model", "model-only", "deferred", "code", "hidden"]>;
3420
3420
  }>>;
3421
3421
  }>>;
3422
3422
  }>]>;
package/dist/src/views.js CHANGED
@@ -15,14 +15,14 @@ import {
15
15
  SessionViewSchema2,
16
16
  HistoryPageSchema2,
17
17
  ViewFrameSchema2
18
- } from "../chunks/browser-kmkhr82d.js";
19
- import"../chunks/browser-t5xqtqzh.js";
18
+ } from "../chunks/browser-ytzehszf.js";
19
+ import"../chunks/browser-772jascc.js";
20
20
  import"../chunks/browser-h86zs54a.js";
21
- import"../chunks/browser-t7t9fc1r.js";
22
- import"../chunks/browser-bg1esaw0.js";
23
- import"../chunks/browser-8ancsy4m.js";
21
+ import"../chunks/browser-a2fneqk0.js";
22
+ import"../chunks/browser-33tkdpyt.js";
23
+ import"../chunks/browser-687z1792.js";
24
24
  import"../chunks/browser-wqkhghw2.js";
25
- import"../chunks/browser-40enyw9r.js";
25
+ import"../chunks/browser-jyrqtmaz.js";
26
26
  import"../chunks/browser-m0wzr0g8.js";
27
27
  import"../chunks/browser-ynj8v9ad.js";
28
28
  import"../chunks/browser-0sbkxgkx.js";
@@ -457,6 +457,15 @@ export declare const HOST_OPERATIONS: {
457
457
  readonly kind: "missing";
458
458
  }>;
459
459
  };
460
+ readonly "workspaces.cleanWorktrees": {
461
+ readonly authority: "owner";
462
+ readonly scope: "host";
463
+ readonly kind: "command";
464
+ readonly input: import("../../schema.ts").Schema<object>;
465
+ readonly output: import("../../schema.ts").Schema<{
466
+ readonly cleaned: number;
467
+ }>;
468
+ };
460
469
  readonly "sessions.watch": {
461
470
  readonly authority: "participant";
462
471
  readonly scope: "host";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  HOST_OPERATIONS2,
3
3
  MAINTENANCE_OPERATIONS2
4
- } from "../../../chunks/browser-5w8ywd56.js";
4
+ } from "../../../chunks/browser-5d4b93z0.js";
5
5
  import"../../../chunks/browser-r87w64mz.js";
6
- import"../../../chunks/browser-kmkhr82d.js";
6
+ import"../../../chunks/browser-ytzehszf.js";
7
7
  import"../../../chunks/browser-j629a6wa.js";
8
8
  import"../../../chunks/browser-0byq2fja.js";
9
- import"../../../chunks/browser-pk5dmvrr.js";
9
+ import"../../../chunks/browser-zn6g4y57.js";
10
10
  import"../../../chunks/browser-82qzgxz4.js";
11
11
  import"../../../chunks/browser-6e1madxa.js";
12
- import"../../../chunks/browser-t5xqtqzh.js";
12
+ import"../../../chunks/browser-772jascc.js";
13
13
  import"../../../chunks/browser-h86zs54a.js";
14
- import"../../../chunks/browser-t7t9fc1r.js";
15
- import"../../../chunks/browser-bg1esaw0.js";
16
- import"../../../chunks/browser-8ancsy4m.js";
14
+ import"../../../chunks/browser-a2fneqk0.js";
15
+ import"../../../chunks/browser-33tkdpyt.js";
16
+ import"../../../chunks/browser-687z1792.js";
17
17
  import"../../../chunks/browser-wqkhghw2.js";
18
- import"../../../chunks/browser-40enyw9r.js";
18
+ import"../../../chunks/browser-jyrqtmaz.js";
19
19
  import"../../../chunks/browser-m0wzr0g8.js";
20
20
  import"../../../chunks/browser-ynj8v9ad.js";
21
21
  import"../../../chunks/browser-0sbkxgkx.js";
@@ -1914,6 +1914,15 @@ export declare const OPERATIONS: {
1914
1914
  readonly kind: "missing";
1915
1915
  }>;
1916
1916
  };
1917
+ "workspaces.cleanWorktrees": {
1918
+ readonly authority: "owner";
1919
+ readonly scope: "host";
1920
+ readonly kind: "command";
1921
+ readonly input: import("../../schema.ts").Schema<object>;
1922
+ readonly output: import("../../schema.ts").Schema<{
1923
+ readonly cleaned: number;
1924
+ }>;
1925
+ };
1917
1926
  "sessions.watch": {
1918
1927
  readonly authority: "participant";
1919
1928
  readonly scope: "host";
@@ -3854,7 +3863,7 @@ export declare const OPERATIONS: {
3854
3863
  readonly output: {
3855
3864
  readonly [x: string]: import("../../json.ts").Json;
3856
3865
  } | null;
3857
- readonly exposure: "code" | "deferred" | "hidden" | "model";
3866
+ readonly exposure: "code" | "deferred" | "hidden" | "model" | "model-only";
3858
3867
  }[];
3859
3868
  };
3860
3869
  }>;
@@ -4788,7 +4797,7 @@ export declare const OPERATIONS: {
4788
4797
  readonly output: {
4789
4798
  readonly [x: string]: import("../../json.ts").Json;
4790
4799
  } | null;
4791
- readonly exposure: "code" | "deferred" | "hidden" | "model";
4800
+ readonly exposure: "code" | "deferred" | "hidden" | "model" | "model-only";
4792
4801
  }[];
4793
4802
  };
4794
4803
  };
@@ -5735,7 +5744,7 @@ export declare const OPERATIONS: {
5735
5744
  readonly output: {
5736
5745
  readonly [x: string]: import("../../json.ts").Json;
5737
5746
  } | null;
5738
- readonly exposure: "code" | "deferred" | "hidden" | "model";
5747
+ readonly exposure: "code" | "deferred" | "hidden" | "model" | "model-only";
5739
5748
  }[];
5740
5749
  } | undefined;
5741
5750
  }>;
@@ -7276,6 +7285,7 @@ export declare const OPERATIONS: {
7276
7285
  startedAt: number;
7277
7286
  endedAt: number | null;
7278
7287
  tail: string;
7288
+ foreground: boolean;
7279
7289
  key: import("../../ids.ts").Id<"job-key"> | null;
7280
7290
  }>;
7281
7291
  };
@@ -7309,6 +7319,7 @@ export declare const OPERATIONS: {
7309
7319
  startedAt: number;
7310
7320
  endedAt: number | null;
7311
7321
  tail: string;
7322
+ foreground: boolean;
7312
7323
  key: import("../../ids.ts").Id<"job-key"> | null;
7313
7324
  } | {
7314
7325
  kind: "ended";
@@ -7352,6 +7363,7 @@ export declare const OPERATIONS: {
7352
7363
  startedAt: number;
7353
7364
  endedAt: number | null;
7354
7365
  tail: string;
7366
+ foreground: boolean;
7355
7367
  }[]>;
7356
7368
  };
7357
7369
  "jobs.watch": {
@@ -7385,6 +7397,7 @@ export declare const OPERATIONS: {
7385
7397
  startedAt: number;
7386
7398
  endedAt: number | null;
7387
7399
  tail: string;
7400
+ foreground: boolean;
7388
7401
  };
7389
7402
  } | {
7390
7403
  kind: "forgotten";
@@ -7413,6 +7426,7 @@ export declare const OPERATIONS: {
7413
7426
  startedAt: number;
7414
7427
  endedAt: number | null;
7415
7428
  tail: string;
7429
+ foreground: boolean;
7416
7430
  }[];
7417
7431
  }>;
7418
7432
  };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  OPERATIONS2
3
- } from "../../../chunks/browser-pvrs6rs5.js";
4
- import"../../../chunks/browser-ts4gc07c.js";
5
- import"../../../chunks/browser-b1zjf2es.js";
3
+ } from "../../../chunks/browser-y40pk6zb.js";
4
+ import"../../../chunks/browser-gvr7sjqk.js";
5
+ import"../../../chunks/browser-c3qng9c0.js";
6
6
  import"../../../chunks/browser-fd3accdr.js";
7
7
  import"../../../chunks/browser-pdv675va.js";
8
8
  import"../../../chunks/browser-0xr6c36r.js";
9
9
  import"../../../chunks/browser-0g0z3617.js";
10
- import"../../../chunks/browser-5w8ywd56.js";
10
+ import"../../../chunks/browser-5d4b93z0.js";
11
11
  import"../../../chunks/browser-r87w64mz.js";
12
- import"../../../chunks/browser-kmkhr82d.js";
12
+ import"../../../chunks/browser-ytzehszf.js";
13
13
  import"../../../chunks/browser-b519jtez.js";
14
14
  import"../../../chunks/browser-j629a6wa.js";
15
15
  import"../../../chunks/browser-0byq2fja.js";
16
16
  import"../../../chunks/browser-ekbecx9r.js";
17
17
  import"../../../chunks/browser-mzfc0v5j.js";
18
- import"../../../chunks/browser-pk5dmvrr.js";
18
+ import"../../../chunks/browser-zn6g4y57.js";
19
19
  import"../../../chunks/browser-82qzgxz4.js";
20
20
  import"../../../chunks/browser-6e1madxa.js";
21
- import"../../../chunks/browser-t5xqtqzh.js";
21
+ import"../../../chunks/browser-772jascc.js";
22
22
  import"../../../chunks/browser-h86zs54a.js";
23
- import"../../../chunks/browser-t7t9fc1r.js";
24
- import"../../../chunks/browser-bg1esaw0.js";
25
- import"../../../chunks/browser-8ancsy4m.js";
23
+ import"../../../chunks/browser-a2fneqk0.js";
24
+ import"../../../chunks/browser-33tkdpyt.js";
25
+ import"../../../chunks/browser-687z1792.js";
26
26
  import"../../../chunks/browser-wqkhghw2.js";
27
- import"../../../chunks/browser-40enyw9r.js";
27
+ import"../../../chunks/browser-jyrqtmaz.js";
28
28
  import"../../../chunks/browser-m0wzr0g8.js";
29
29
  import"../../../chunks/browser-ynj8v9ad.js";
30
30
  import"../../../chunks/browser-0sbkxgkx.js";
@@ -1362,7 +1362,7 @@ export declare const SESSION_OPERATIONS: {
1362
1362
  readonly output: {
1363
1363
  readonly [x: string]: import("../../json.ts").Json;
1364
1364
  } | null;
1365
- readonly exposure: "code" | "deferred" | "hidden" | "model";
1365
+ readonly exposure: "code" | "deferred" | "hidden" | "model" | "model-only";
1366
1366
  }[];
1367
1367
  };
1368
1368
  }>;
@@ -2296,7 +2296,7 @@ export declare const SESSION_OPERATIONS: {
2296
2296
  readonly output: {
2297
2297
  readonly [x: string]: import("../../json.ts").Json;
2298
2298
  } | null;
2299
- readonly exposure: "code" | "deferred" | "hidden" | "model";
2299
+ readonly exposure: "code" | "deferred" | "hidden" | "model" | "model-only";
2300
2300
  }[];
2301
2301
  };
2302
2302
  };
@@ -3243,7 +3243,7 @@ export declare const SESSION_OPERATIONS: {
3243
3243
  readonly output: {
3244
3244
  readonly [x: string]: import("../../json.ts").Json;
3245
3245
  } | null;
3246
- readonly exposure: "code" | "deferred" | "hidden" | "model";
3246
+ readonly exposure: "code" | "deferred" | "hidden" | "model" | "model-only";
3247
3247
  }[];
3248
3248
  } | undefined;
3249
3249
  }>;
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SESSION_OPERATIONS2
3
- } from "../../../chunks/browser-ts4gc07c.js";
3
+ } from "../../../chunks/browser-gvr7sjqk.js";
4
4
  import"../../../chunks/browser-r87w64mz.js";
5
- import"../../../chunks/browser-kmkhr82d.js";
5
+ import"../../../chunks/browser-ytzehszf.js";
6
6
  import"../../../chunks/browser-82qzgxz4.js";
7
- import"../../../chunks/browser-t5xqtqzh.js";
7
+ import"../../../chunks/browser-772jascc.js";
8
8
  import"../../../chunks/browser-h86zs54a.js";
9
- import"../../../chunks/browser-t7t9fc1r.js";
10
- import"../../../chunks/browser-bg1esaw0.js";
11
- import"../../../chunks/browser-8ancsy4m.js";
9
+ import"../../../chunks/browser-a2fneqk0.js";
10
+ import"../../../chunks/browser-33tkdpyt.js";
11
+ import"../../../chunks/browser-687z1792.js";
12
12
  import"../../../chunks/browser-wqkhghw2.js";
13
- import"../../../chunks/browser-40enyw9r.js";
13
+ import"../../../chunks/browser-jyrqtmaz.js";
14
14
  import"../../../chunks/browser-m0wzr0g8.js";
15
15
  import"../../../chunks/browser-ynj8v9ad.js";
16
16
  import"../../../chunks/browser-0sbkxgkx.js";
@@ -599,6 +599,7 @@ export declare const WORKSPACE_OPERATIONS: {
599
599
  startedAt: number;
600
600
  endedAt: number | null;
601
601
  tail: string;
602
+ foreground: boolean;
602
603
  key: import("../../ids.ts").Id<"job-key"> | null;
603
604
  }>;
604
605
  };
@@ -632,6 +633,7 @@ export declare const WORKSPACE_OPERATIONS: {
632
633
  startedAt: number;
633
634
  endedAt: number | null;
634
635
  tail: string;
636
+ foreground: boolean;
635
637
  key: import("../../ids.ts").Id<"job-key"> | null;
636
638
  } | {
637
639
  kind: "ended";
@@ -675,6 +677,7 @@ export declare const WORKSPACE_OPERATIONS: {
675
677
  startedAt: number;
676
678
  endedAt: number | null;
677
679
  tail: string;
680
+ foreground: boolean;
678
681
  }[]>;
679
682
  };
680
683
  readonly "jobs.watch": {
@@ -708,6 +711,7 @@ export declare const WORKSPACE_OPERATIONS: {
708
711
  startedAt: number;
709
712
  endedAt: number | null;
710
713
  tail: string;
714
+ foreground: boolean;
711
715
  };
712
716
  } | {
713
717
  kind: "forgotten";
@@ -736,6 +740,7 @@ export declare const WORKSPACE_OPERATIONS: {
736
740
  startedAt: number;
737
741
  endedAt: number | null;
738
742
  tail: string;
743
+ foreground: boolean;
739
744
  }[];
740
745
  }>;
741
746
  };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  WORKSPACE_OPERATIONS2
3
- } from "../../../chunks/browser-b1zjf2es.js";
3
+ } from "../../../chunks/browser-c3qng9c0.js";
4
4
  import"../../../chunks/browser-r87w64mz.js";
5
5
  import"../../../chunks/browser-b519jtez.js";
6
6
  import"../../../chunks/browser-0byq2fja.js";
7
- import"../../../chunks/browser-t7t9fc1r.js";
8
- import"../../../chunks/browser-bg1esaw0.js";
9
- import"../../../chunks/browser-8ancsy4m.js";
7
+ import"../../../chunks/browser-a2fneqk0.js";
8
+ import"../../../chunks/browser-33tkdpyt.js";
9
+ import"../../../chunks/browser-687z1792.js";
10
10
  import"../../../chunks/browser-wqkhghw2.js";
11
- import"../../../chunks/browser-40enyw9r.js";
11
+ import"../../../chunks/browser-jyrqtmaz.js";
12
12
  import"../../../chunks/browser-m0wzr0g8.js";
13
13
  import"../../../chunks/browser-ynj8v9ad.js";
14
14
  import"../../../chunks/browser-0sbkxgkx.js";
@@ -51,6 +51,10 @@ export declare const ForgetOutcomeType: Type.TUnion<[Type.TObject<{
51
51
  kind: Type.TLiteral<"missing">;
52
52
  }>]>;
53
53
  export type ForgetOutcome = Decoded<typeof ForgetOutcomeType>;
54
+ export declare const WorktreeCleanupType: Type.TObject<{
55
+ cleaned: Type.TNumber;
56
+ }>;
57
+ export type WorktreeCleanup = Decoded<typeof WorktreeCleanupType>;
54
58
  export declare const WorkspaceInspectionType: Type.TObject<{
55
59
  target: Type.TUnion<[Type.TObject<{
56
60
  kind: Type.TLiteral<"local">;
@@ -115,5 +119,6 @@ export declare const WorkspaceTargetSchema: Schema<WorkspaceTarget>;
115
119
  export declare const ActivationSchema: Schema<Activation>;
116
120
  export declare const AddOutcomeSchema: Schema<AddOutcome>;
117
121
  export declare const ForgetOutcomeSchema: Schema<ForgetOutcome>;
122
+ export declare const WorktreeCleanupSchema: Schema<WorktreeCleanup>;
118
123
  export declare const WorkspaceInspectionSchema: Schema<WorkspaceInspection>;
119
124
  export declare const WorkspaceInfoSchema: Schema<WorkspaceInfo>;
@@ -4,6 +4,7 @@ import {
4
4
  ActivationType2,
5
5
  AddOutcomeType2,
6
6
  ForgetOutcomeType2,
7
+ WorktreeCleanupType2,
7
8
  WorkspaceInspectionType2,
8
9
  WorktreeIsolationType2,
9
10
  WorkspaceInfoType2,
@@ -12,9 +13,10 @@ import {
12
13
  ActivationSchema2,
13
14
  AddOutcomeSchema2,
14
15
  ForgetOutcomeSchema2,
16
+ WorktreeCleanupSchema2,
15
17
  WorkspaceInspectionSchema2,
16
18
  WorkspaceInfoSchema2
17
- } from "../chunks/browser-bg1esaw0.js";
19
+ } from "../chunks/browser-33tkdpyt.js";
18
20
  import"../chunks/browser-sgwxbek9.js";
19
21
  import"../chunks/browser-4et7qtz3.js";
20
22
  import"../chunks/browser-ypez6s7v.js";
@@ -34,5 +36,7 @@ export {
34
36
  WorkspaceInspectionType2 as WorkspaceInspectionType,
35
37
  WorkspaceTargetSchema2 as WorkspaceTargetSchema,
36
38
  WorkspaceTargetType2 as WorkspaceTargetType,
39
+ WorktreeCleanupSchema2 as WorktreeCleanupSchema,
40
+ WorktreeCleanupType2 as WorktreeCleanupType,
37
41
  WorktreeIsolationType2 as WorktreeIsolationType
38
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyte-ai/schema",
3
- "version": "0.0.25-beta.1",
3
+ "version": "0.0.25-nightly.20261025.2",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {