@slopus/happy-agent-client 0.0.71 → 0.0.72

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.
@@ -1,6 +1,6 @@
1
1
  /** Bootstrap: one request that gets a desktop client on screen instantly. */
2
2
  import { type Static } from "@sinclair/typebox";
3
- import type { Agent, AgentDraftResponse, AgentModeResponse, AgentResponse } from "./agents.js";
3
+ import { type Agent, type AgentDraftResponse, type AgentModeResponse, type AgentResponse } from "./agents.js";
4
4
  import { type EventCursor } from "./common.js";
5
5
  import type { UserMessage } from "./messages.js";
6
6
  import type { BackgroundProcess } from "./processes.js";
@@ -25,11 +25,48 @@ export interface AgentBootstrapResponse extends AgentDraftResponse, AgentModeRes
25
25
  * `GET /v0/bootstrap/desktop`
26
26
  *
27
27
  * A composition of other endpoints' objects; nothing here has a shape of its
28
- * own. There is no separate global agent list: each included project and
29
- * workspace carries its own ordered top-level agents. Every full agent may embed its recursive
28
+ * own. There is no separate list of active agents: each included project and
29
+ * workspace carries its own ordered active top-level agents, and the archived agents of those
30
+ * owners arrive together in `archivedAgents`. Every full agent may embed its recursive
30
31
  * active subtask tree, including each bot's agent and shared-filesystem subtasks.
31
32
  */
32
33
  export declare const desktopBootstrapResponseSchema: import("@sinclair/typebox").TObject<{
34
+ /**
35
+ * The archived agents of the included projects and workspaces, newest `archivedAt` first
36
+ * with the agent ID as the tie-breaker, bounded to the most recently archived ones. Absent
37
+ * on older compatible daemons, which carry no archived agents in bootstrap.
38
+ */
39
+ archivedAgents: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
40
+ archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
41
+ canSendMessages: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
42
+ createdAt: import("@sinclair/typebox").TInteger;
43
+ id: import("@sinclair/typebox").TString;
44
+ lastCursor: import("@sinclair/typebox").TString;
45
+ managedByAnotherAgent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
46
+ orderKey: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
47
+ parentAgentId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
48
+ pendingQuestionId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
49
+ processes: import("@sinclair/typebox").TObject<{
50
+ running: import("@sinclair/typebox").TInteger;
51
+ }>;
52
+ status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"idle">, import("@sinclair/typebox").TLiteral<"thinking">, import("@sinclair/typebox").TLiteral<"working">, import("@sinclair/typebox").TLiteral<"generating_tools">, import("@sinclair/typebox").TLiteral<"running_tools">]>;
53
+ subagents: import("@sinclair/typebox").TObject<{
54
+ running: import("@sinclair/typebox").TInteger;
55
+ total: import("@sinclair/typebox").TInteger;
56
+ }>;
57
+ subtask: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
58
+ subtasks: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>>;
59
+ title: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
60
+ titleStatus: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"idle">, import("@sinclair/typebox").TLiteral<"ready">]>;
61
+ unread: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
62
+ reason: import("@sinclair/typebox").TString;
63
+ since: import("@sinclair/typebox").TInteger;
64
+ }>, import("@sinclair/typebox").TNull]>;
65
+ updatedAt: import("@sinclair/typebox").TInteger;
66
+ userVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
67
+ version: import("@sinclair/typebox").TString;
68
+ workspaceId: import("@sinclair/typebox").TString;
69
+ }>>>>;
33
70
  /** Every bot, archived ones included. Absent on older compatible daemons. */
34
71
  bots: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
35
72
  agent: import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -394,12 +431,14 @@ export declare const desktopBootstrapResponseSchema: import("@sinclair/typebox")
394
431
  image: import("@sinclair/typebox").TString;
395
432
  type: import("@sinclair/typebox").TLiteral<"docker">;
396
433
  }>]>;
434
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
397
435
  }>;
398
436
  status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"archived">]>;
399
437
  updatedAt: import("@sinclair/typebox").TInteger;
400
438
  version: import("@sinclair/typebox").TString;
401
439
  worktreeSupport: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"supported">, import("@sinclair/typebox").TLiteral<"unsupported">, import("@sinclair/typebox").TLiteral<"unknown">]>;
402
440
  worktreeUnsupportedReason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
441
+ workspaceSetupCommands: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
403
442
  }>>;
404
443
  /** Each project's root workspace and the workspaces directly under it. */
405
444
  workspaces: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../sources/protocol/bootstrap.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAE7E,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG/F,OAAO,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIjF,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE9C,0EAA0E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5E,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /** Bootstrap: one request that gets a desktop client on screen instantly. */
2
2
  import { Type } from "@sinclair/typebox";
3
+ import { agentSchema, } from "./agents.js";
3
4
  import { botSchema } from "./bots.js";
4
5
  import { cloudSchema } from "./cloud.js";
5
6
  import { eventCursorSchema } from "./common.js";
@@ -12,11 +13,18 @@ import { workspaceSchema } from "./workspaces.js";
12
13
  * `GET /v0/bootstrap/desktop`
13
14
  *
14
15
  * A composition of other endpoints' objects; nothing here has a shape of its
15
- * own. There is no separate global agent list: each included project and
16
- * workspace carries its own ordered top-level agents. Every full agent may embed its recursive
16
+ * own. There is no separate list of active agents: each included project and
17
+ * workspace carries its own ordered active top-level agents, and the archived agents of those
18
+ * owners arrive together in `archivedAgents`. Every full agent may embed its recursive
17
19
  * active subtask tree, including each bot's agent and shared-filesystem subtasks.
18
20
  */
19
21
  export const desktopBootstrapResponseSchema = Type.Object({
22
+ /**
23
+ * The archived agents of the included projects and workspaces, newest `archivedAt` first
24
+ * with the agent ID as the tie-breaker, bounded to the most recently archived ones. Absent
25
+ * on older compatible daemons, which carry no archived agents in bootstrap.
26
+ */
27
+ archivedAgents: Type.Optional(Type.Array(agentSchema)),
20
28
  /** Every bot, archived ones included. Absent on older compatible daemons. */
21
29
  bots: Type.Optional(Type.Array(botSchema)),
22
30
  config: daemonConfigSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../sources/protocol/bootstrap.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAE7E,OAAO,EAAe,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAoB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAoBlD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,IAAI,CAAC,MAAM,CAAC;IACtD,6EAA6E;IAC7E,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM,EAAE,kBAAkB;IAC1B;;;OAGG;IACH,MAAM,EAAE,iBAAiB;IACzB,oFAAoF;IACpF,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;IACjC,iFAAiF;IACjF,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IACvD,UAAU,EAAE,qBAAqB;IACjC,OAAO,EAAE,aAAa;IACtB,8CAA8C;IAC9C,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;IACnC,0EAA0E;IAC1E,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC;CAC1C,CAAC,CAAC"}
1
+ {"version":3,"file":"bootstrap.js","source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IAAI,CAAC,KAAK,CAAC,eAAe,CAAC;CAC1C,CAAC,CAAC"}
@@ -32,6 +32,11 @@ export declare const projectSettingsSchema: import("@sinclair/typebox").TObject<
32
32
  image: import("@sinclair/typebox").TString;
33
33
  type: import("@sinclair/typebox").TLiteral<"docker">;
34
34
  }>]>;
35
+ /**
36
+ * What a client sends as the first user message to the first agent in every new workspace
37
+ * of this project; `null` when the project says nothing. Absent on older daemons.
38
+ */
39
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
35
40
  }>;
36
41
  export type ProjectSettings = Static<typeof projectSettingsSchema>;
37
42
  /** The project object. A project is also the root workspace of its tree. */
@@ -121,6 +126,11 @@ export declare const projectSchema: import("@sinclair/typebox").TObject<{
121
126
  image: import("@sinclair/typebox").TString;
122
127
  type: import("@sinclair/typebox").TLiteral<"docker">;
123
128
  }>]>;
129
+ /**
130
+ * What a client sends as the first user message to the first agent in every new workspace
131
+ * of this project; `null` when the project says nothing. Absent on older daemons.
132
+ */
133
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
124
134
  }>;
125
135
  status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"archived">]>;
126
136
  updatedAt: import("@sinclair/typebox").TInteger;
@@ -129,6 +139,11 @@ export declare const projectSchema: import("@sinclair/typebox").TObject<{
129
139
  worktreeSupport: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"supported">, import("@sinclair/typebox").TLiteral<"unsupported">, import("@sinclair/typebox").TLiteral<"unknown">]>;
130
140
  /** Accompanies `worktreeSupport` of `"unsupported"`. */
131
141
  worktreeUnsupportedReason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
142
+ /**
143
+ * The ordered shell commands a new workspace of this project runs once its checkout exists,
144
+ * as the daemon last read them from the project's `happy.toml`. Absent on older daemons.
145
+ */
146
+ workspaceSetupCommands: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
132
147
  }>;
133
148
  export type Project = Static<typeof projectSchema>;
134
149
  /** `GET /v0/projects` */
@@ -219,6 +234,11 @@ export declare const projectListResponseSchema: import("@sinclair/typebox").TObj
219
234
  image: import("@sinclair/typebox").TString;
220
235
  type: import("@sinclair/typebox").TLiteral<"docker">;
221
236
  }>]>;
237
+ /**
238
+ * What a client sends as the first user message to the first agent in every new workspace
239
+ * of this project; `null` when the project says nothing. Absent on older daemons.
240
+ */
241
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
222
242
  }>;
223
243
  status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"archived">]>;
224
244
  updatedAt: import("@sinclair/typebox").TInteger;
@@ -227,6 +247,11 @@ export declare const projectListResponseSchema: import("@sinclair/typebox").TObj
227
247
  worktreeSupport: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"supported">, import("@sinclair/typebox").TLiteral<"unsupported">, import("@sinclair/typebox").TLiteral<"unknown">]>;
228
248
  /** Accompanies `worktreeSupport` of `"unsupported"`. */
229
249
  worktreeUnsupportedReason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
250
+ /**
251
+ * The ordered shell commands a new workspace of this project runs once its checkout exists,
252
+ * as the daemon last read them from the project's `happy.toml`. Absent on older daemons.
253
+ */
254
+ workspaceSetupCommands: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
230
255
  }>>;
231
256
  }>;
232
257
  export type ProjectListResponse = Static<typeof projectListResponseSchema>;
@@ -318,6 +343,11 @@ export declare const projectResponseSchema: import("@sinclair/typebox").TObject<
318
343
  image: import("@sinclair/typebox").TString;
319
344
  type: import("@sinclair/typebox").TLiteral<"docker">;
320
345
  }>]>;
346
+ /**
347
+ * What a client sends as the first user message to the first agent in every new workspace
348
+ * of this project; `null` when the project says nothing. Absent on older daemons.
349
+ */
350
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
321
351
  }>;
322
352
  status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"archived">]>;
323
353
  updatedAt: import("@sinclair/typebox").TInteger;
@@ -326,6 +356,11 @@ export declare const projectResponseSchema: import("@sinclair/typebox").TObject<
326
356
  worktreeSupport: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"supported">, import("@sinclair/typebox").TLiteral<"unsupported">, import("@sinclair/typebox").TLiteral<"unknown">]>;
327
357
  /** Accompanies `worktreeSupport` of `"unsupported"`. */
328
358
  worktreeUnsupportedReason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
359
+ /**
360
+ * The ordered shell commands a new workspace of this project runs once its checkout exists,
361
+ * as the daemon last read them from the project's `happy.toml`. Absent on older daemons.
362
+ */
363
+ workspaceSetupCommands: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
329
364
  }>;
330
365
  }>;
331
366
  export type ProjectResponse = Static<typeof projectResponseSchema>;
@@ -417,6 +452,11 @@ export declare const projectSettingsResponseSchema: import("@sinclair/typebox").
417
452
  image: import("@sinclair/typebox").TString;
418
453
  type: import("@sinclair/typebox").TLiteral<"docker">;
419
454
  }>]>;
455
+ /**
456
+ * What a client sends as the first user message to the first agent in every new workspace
457
+ * of this project; `null` when the project says nothing. Absent on older daemons.
458
+ */
459
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
420
460
  }>;
421
461
  status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"archived">]>;
422
462
  updatedAt: import("@sinclair/typebox").TInteger;
@@ -425,6 +465,11 @@ export declare const projectSettingsResponseSchema: import("@sinclair/typebox").
425
465
  worktreeSupport: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"supported">, import("@sinclair/typebox").TLiteral<"unsupported">, import("@sinclair/typebox").TLiteral<"unknown">]>;
426
466
  /** Accompanies `worktreeSupport` of `"unsupported"`. */
427
467
  worktreeUnsupportedReason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
468
+ /**
469
+ * The ordered shell commands a new workspace of this project runs once its checkout exists,
470
+ * as the daemon last read them from the project's `happy.toml`. Absent on older daemons.
471
+ */
472
+ workspaceSetupCommands: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
428
473
  }>;
429
474
  settings: import("@sinclair/typebox").TObject<{
430
475
  /** Where new workspaces of this project run. */
@@ -434,6 +479,11 @@ export declare const projectSettingsResponseSchema: import("@sinclair/typebox").
434
479
  image: import("@sinclair/typebox").TString;
435
480
  type: import("@sinclair/typebox").TLiteral<"docker">;
436
481
  }>]>;
482
+ /**
483
+ * What a client sends as the first user message to the first agent in every new workspace
484
+ * of this project; `null` when the project says nothing. Absent on older daemons.
485
+ */
486
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
437
487
  }>;
438
488
  }>;
439
489
  export type ProjectSettingsResponse = Static<typeof projectSettingsResponseSchema>;
@@ -480,6 +530,8 @@ export declare const replaceProjectSettingsRequestSchema: import("@sinclair/type
480
530
  type: import("@sinclair/typebox").TLiteral<"docker">;
481
531
  }>]>;
482
532
  mutationId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
533
+ /** Omitted, `null`, or blank leaves the project with nothing to tell a new workspace's agent. */
534
+ workspaceInitialPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
483
535
  }>;
484
536
  export type ReplaceProjectSettingsRequest = Static<typeof replaceProjectSettingsRequestSchema>;
485
537
  /** `POST /v0/projects/:projectId/reorder` */
@@ -1 +1 @@
1
- {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../sources/protocol/projects.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAEhF,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAetD,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB;;;;;;IAG7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;IAO9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE/D,sDAAsD;AACtD,eAAO,MAAM,qBAAqB;IAC9B,gDAAgD;;;;;;;EAElD,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEnE,4EAA4E;AAC5E,eAAO,MAAM,aAAa;IACtB,0EAA0E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQ1E,sDAAsD;;;;;;;;;;;;;;;;IAKtD,0EAA0E;;IAE1E,6EAA6E;;;;;;;;;;QAtB7E,gDAAgD;;;;;;;;;;;IA6BhD,gEAAgE;;IAMhE,wDAAwD;;EAE1D,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAEnD,yBAAyB;AACzB,eAAO,MAAM,yBAAyB;;QAlClC,0EAA0E;;;;;;;;;;;;;;;;;;;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this project run. */
27
27
  defaultWorkspaceCompute: computeSelectionSchema,
28
+ /**
29
+ * What a client sends as the first user message to the first agent in every new workspace
30
+ * of this project; `null` when the project says nothing. Absent on older daemons.
31
+ */
32
+ workspaceInitialPrompt: Type.Optional(Nullable(Type.String())),
28
33
  });
29
34
  /** The project object. A project is also the root workspace of its tree. */
30
35
  export const projectSchema = Type.Object({
@@ -58,6 +63,11 @@ export const projectSchema = Type.Object({
58
63
  ]),
59
64
  /** Accompanies `worktreeSupport` of `"unsupported"`. */
60
65
  worktreeUnsupportedReason: Type.Optional(Type.String()),
66
+ /**
67
+ * The ordered shell commands a new workspace of this project runs once its checkout exists,
68
+ * as the daemon last read them from the project's `happy.toml`. Absent on older daemons.
69
+ */
70
+ workspaceSetupCommands: Type.Optional(Type.Array(Type.String())),
61
71
  });
62
72
  /** `GET /v0/projects` */
63
73
  export const projectListResponseSchema = Type.Object({ projects: Type.Array(projectSchema) });
@@ -95,6 +105,8 @@ export const renameProjectRequestSchema = Type.Object({
95
105
  export const replaceProjectSettingsRequestSchema = Type.Object({
96
106
  defaultWorkspaceCompute: computeSelectionSchema,
97
107
  mutationId: Type.Optional(mutationIdSchema),
108
+ /** Omitted, `null`, or blank leaves the project with nothing to tell a new workspace's agent. */
109
+ workspaceInitialPrompt: Type.Optional(Nullable(Type.String())),
98
110
  });
99
111
  /** `POST /v0/projects/:projectId/reorder` */
100
112
  export const reorderProjectRequestSchema = Type.Object({
@@ -1 +1 @@
1
- {"version":3,"file":"projects.js","sourceRoot":"","sources":["../../sources/protocol/projects.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAEhF,OAAO,EAAe,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,EACH,aAAa,EACb,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,yBAAyB,EACzB,gBAAgB,EAChB,QAAQ,EACR,qBAAqB,EACrB,eAAe,GAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,MAA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U,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAC3C,iGAAiG;IACjG,sBAAsB,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;CACjE,CAAC,CAAC;AAGH,6CAA6C;AAC7C,MAAM,CAAC,MAAM,2BAA2B,GAAG,IAAI,CAAC,MAAM,CAAC;IACnD,uEAAuE;IACvE,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;IAC9B,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC;CAC9C,CAAC,CAAC;AAGH,6CAA6C;AAC7C,MAAM,CAAC,MAAM,2BAA2B,GAAG,IAAI,CAAC,MAAM,CAAC;IACnD,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC;CAC9C,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slopus/happy-agent-client",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
4
4
  "description": "Typed client for the Happy agent HTTP API.",
5
5
  "license": "MIT",
6
6
  "repository": {