@hearsay-tools/squawk 0.18.0-pr4342.8475.2 → 0.18.0-pr4345.8484

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 (74) hide show
  1. package/dist/contract/index.js +23 -2
  2. package/dist/contract/session-context.d.ts +54 -8
  3. package/dist/data-gitignore.js +1 -0
  4. package/dist/data-gitignore.js.map +1 -1
  5. package/dist/server/activity-routes.d.ts +23 -23
  6. package/dist/server/models-routes.d.ts +12 -12
  7. package/dist/server/providers-routes.d.ts +57 -57
  8. package/dist/server/repo-routes.d.ts +34 -34
  9. package/dist/server/reports-api.d.ts +2 -2
  10. package/dist/server/server.d.ts +1496 -1456
  11. package/dist/server/session-context-routes.d.ts +35 -15
  12. package/dist/server/session-context-routes.js +6 -6
  13. package/dist/server/session-context-routes.js.map +1 -1
  14. package/dist/server/workspace-routes.d.ts +84 -84
  15. package/dist/session-context-file.d.ts +3 -3
  16. package/dist/session-context-file.js +45 -16
  17. package/dist/session-context-file.js.map +1 -1
  18. package/dist/session-context.d.ts +18 -9
  19. package/dist/session-context.js +118 -47
  20. package/dist/session-context.js.map +1 -1
  21. package/package.json +4 -4
  22. package/web/dist/assets/{accounts-section-CuihHvuE.js → accounts-section-BT-KA5Aw.js} +1 -1
  23. package/web/dist/assets/{activity-motion-bKmIl_Ai.js → activity-motion-BL2bQufZ.js} +1 -1
  24. package/web/dist/assets/{activity-route-Bnz_NdUs.js → activity-route-CfLjbvX-.js} +1 -1
  25. package/web/dist/assets/{agent-config-section-uQrQrvBR.js → agent-config-section-isgedTYT.js} +1 -1
  26. package/web/dist/assets/{agent-defaults-section-1UTSo5HV.js → agent-defaults-section-DnGa0vZn.js} +1 -1
  27. package/web/dist/assets/{appearance-CZ0kce28.js → appearance-BE_8n1rr.js} +1 -1
  28. package/web/dist/assets/{archive-on-merge-field-CEyCpweg.js → archive-on-merge-field-C83q8HKD.js} +1 -1
  29. package/web/dist/assets/{automations-route-Dq90emTh.js → automations-route-CpDyl3jW.js} +1 -1
  30. package/web/dist/assets/{commit-diff-panel-Btc38N2Q.js → commit-diff-panel-ZJL9SvlZ.js} +1 -1
  31. package/web/dist/assets/{diff-C3-63Zgu.js → diff-t0VC73su.js} +2 -2
  32. package/web/dist/assets/{diff-view-D2O2Nm5P.js → diff-view-BxNyE6ve.js} +1 -1
  33. package/web/dist/assets/{file-preview-Bnq2OKGK.js → file-preview-DQ-T-D8H.js} +1 -1
  34. package/web/dist/assets/{folder-browser-Bn83Rjyn.js → folder-browser-CbWAXTsX.js} +1 -1
  35. package/web/dist/assets/{git-toolbar-RA8rF90D.js → git-toolbar-iZ2mG7oO.js} +1 -1
  36. package/web/dist/assets/{github-BRAMTLRU.js → github-BnHg2x4a.js} +1 -1
  37. package/web/dist/assets/{global-activity-route-Ii_-Fqqo.js → global-activity-route-6Fpj2ek4.js} +1 -1
  38. package/web/dist/assets/{index-DCw_bX8I.js → index-CMHOE-jE.js} +5 -5
  39. package/web/dist/assets/{label-tOtTf55G.js → label-Dbp-6aiT.js} +1 -1
  40. package/web/dist/assets/{markdown-G8tjpJd_.js → markdown-D1BGpE3v.js} +1 -1
  41. package/web/dist/assets/{notifications-section-Fk_ebhy_.js → notifications-section-DnC9npL3.js} +1 -1
  42. package/web/dist/assets/{open-in-menu-xzDJ4_Tv.js → open-in-menu-mDtfa4ES.js} +1 -1
  43. package/web/dist/assets/{preview-pane-connected-8HkdMxOW.js → preview-pane-connected-Ba2Tc4Uw.js} +1 -1
  44. package/web/dist/assets/{project-location-C9WLgY3A.js → project-location-c1oHm2yu.js} +1 -1
  45. package/web/dist/assets/{projects-section-Dmj4JFoi.js → projects-section-DwabmXYr.js} +1 -1
  46. package/web/dist/assets/{prompt-templates-section-DzfD2GES.js → prompt-templates-section-Dy3jde_2.js} +1 -1
  47. package/web/dist/assets/queries-dOBokhuR.js +1 -0
  48. package/web/dist/assets/{reference-chip-zRuFkaGy.js → reference-chip-1BEDWxcS.js} +1 -1
  49. package/web/dist/assets/{remote-settings-notice-CYiMrnys.js → remote-settings-notice-B07kuoGY.js} +1 -1
  50. package/web/dist/assets/{repo-git-B3tTtvIQ.js → repo-git-CIWMWcB1.js} +1 -1
  51. package/web/dist/assets/{report-reader-DBGA_8LA.js → report-reader-au3hsVnq.js} +1 -1
  52. package/web/dist/assets/{reports-B-Q6u2X6.js → reports-DhKekN8B.js} +1 -1
  53. package/web/dist/assets/{resources-section-C5ndEonC.js → resources-section-CaTs8f4X.js} +1 -1
  54. package/web/dist/assets/{run-header-DK4CZ3hY.js → run-header-oFGKOVQR.js} +1 -1
  55. package/web/dist/assets/session-context-section-DBB1qz9r.js +119 -0
  56. package/web/dist/assets/{settings-agent-picker-fkaIrncp.js → settings-agent-picker-B-bLF5nf.js} +1 -1
  57. package/web/dist/assets/{settings-shell-dzuuT5tw.js → settings-shell-FcgFxanP.js} +1 -1
  58. package/web/dist/assets/{sidebar-section-BIQilcgt.js → sidebar-section-C_-EzQXK.js} +1 -1
  59. package/web/dist/assets/{skills-C-jo20DK.js → skills-Js4Ees5K.js} +1 -1
  60. package/web/dist/assets/{task-changes-DnG-9vJh.js → task-changes-G0A9NfV-.js} +1 -1
  61. package/web/dist/assets/{task-commits-mqs3nfjk.js → task-commits-YYe7KUYB.js} +1 -1
  62. package/web/dist/assets/{task-files-DKB3Xp3N.js → task-files-BKgN092S.js} +1 -1
  63. package/web/dist/assets/{task-github-item-BA7W64bU.js → task-github-item-gznr9Fxa.js} +1 -1
  64. package/web/dist/assets/{task-groups-ClNnAPRA.js → task-groups-Ziytm1Sm.js} +1 -1
  65. package/web/dist/assets/{task-thread-B8zgMgtO.js → task-thread-CrFj20JU.js} +1 -1
  66. package/web/dist/assets/{tasks-table-CE_VVk0w.js → tasks-table-wTQZb7nJ.js} +1 -1
  67. package/web/dist/assets/{thread-state-8okW1FLM.js → thread-state-B0bNtkoV.js} +1 -1
  68. package/web/dist/assets/{use-hand-to-agent-state-BwLk3gNd.js → use-hand-to-agent-state-BAOFoVNc.js} +1 -1
  69. package/web/dist/assets/{workflows-BhQJM4JW.js → workflows-DpRgaKR7.js} +1 -1
  70. package/web/dist/assets/{workspace-tools-BZs10pQZ.js → workspace-tools-D6UQj5mq.js} +1 -1
  71. package/web/dist/assets/{worktrees-section-BTNZUVnW.js → worktrees-section-DXMfub26.js} +1 -1
  72. package/web/dist/index.html +8 -8
  73. package/web/dist/assets/queries-DRpvYgai.js +0 -1
  74. package/web/dist/assets/session-context-section-BAw6x6P2.js +0 -119
@@ -4020,10 +4020,11 @@ var setAgentConfigInputSchema = z30.object({
4020
4020
  import { z as z31 } from "zod";
4021
4021
  var SESSION_CONTEXT_FILE_MAX_BYTES = 256 * 1024;
4022
4022
  var fileContentSchema = z31.string().refine((text) => utf8Bytes(text) <= SESSION_CONTEXT_FILE_MAX_BYTES, {
4023
- error: `context.yaml must be at most ${SESSION_CONTEXT_FILE_MAX_BYTES} bytes`
4023
+ error: `context.local.yaml must be at most ${SESSION_CONTEXT_FILE_MAX_BYTES} bytes`
4024
4024
  });
4025
+ var sessionContextSourceSchema = z31.enum(["built-in", "shared", "local"]);
4025
4026
  var sessionContextFileSchema = z31.object({
4026
- /** Relative to the project root: `.ai/squawk/context.yaml` or `.ai/cezar/context.yaml`. */
4027
+ /** Relative to the project root: `.ai/squawk/context.local.yaml` or `.ai/cezar/context.local.yaml`. */
4027
4028
  path: z31.string(),
4028
4029
  exists: z31.boolean(),
4029
4030
  content: z31.string(),
@@ -4033,6 +4034,20 @@ var sessionContextFileSchema = z31.object({
4033
4034
  writable: z31.boolean(),
4034
4035
  readOnlyReason: z31.string().nullable()
4035
4036
  });
4037
+ var sessionContextSharedFileSchema = z31.object({
4038
+ /** Relative to the project root: `.ai/squawk/context.yaml` or `.ai/cezar/context.yaml`. */
4039
+ path: z31.string(),
4040
+ exists: z31.boolean(),
4041
+ content: z31.string(),
4042
+ /** True when Git tracks this file in the repository index. */
4043
+ tracked: z31.boolean(),
4044
+ /** Non-null when the file cannot be read as UTF-8 text (e.g. symlink, binary, oversized). */
4045
+ unreadableReason: z31.string().nullable()
4046
+ });
4047
+ var sessionContextStateSchema = z31.object({
4048
+ local: sessionContextFileSchema,
4049
+ shared: sessionContextSharedFileSchema
4050
+ });
4036
4051
  var setSessionContextSchema = z31.object({
4037
4052
  content: fileContentSchema,
4038
4053
  version: z31.string().nullable()
@@ -4049,9 +4064,12 @@ var sessionContextProblemSchema = z31.object({
4049
4064
  });
4050
4065
  var sessionContextPreviewBlockSchema = z31.object({
4051
4066
  id: z31.string(),
4067
+ source: sessionContextSourceSchema,
4052
4068
  /** `built-in` for the handoff block; null when the file names no target for the entry. */
4053
4069
  target: z31.enum(["built-in", "parent", "worker", "both"]).nullable(),
4054
4070
  status: z31.enum(["applied", "skipped", "not-for-role"]),
4071
+ /** True when a local rule replaced or muted a shared rule with the same id. */
4072
+ overridesShared: z31.boolean(),
4055
4073
  bytes: z31.number().nullable(),
4056
4074
  reason: z31.string().nullable(),
4057
4075
  sources: z31.array(z31.string()),
@@ -6921,6 +6939,9 @@ export {
6921
6939
  sessionContextPreviewSchema,
6922
6940
  sessionContextProblemSchema,
6923
6941
  sessionContextRoleSchema,
6942
+ sessionContextSharedFileSchema,
6943
+ sessionContextSourceSchema,
6944
+ sessionContextStateSchema,
6924
6945
  sessionRunner,
6925
6946
  setAgentConfigInputSchema,
6926
6947
  setAgentConfigSchema,
@@ -1,12 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
- * Settings → Session context (hearsay-tools/squawk#4308): read, preview and save the project's
4
- * `context.yaml` rules (docs/context-injection.md) through
5
- * `GET/PUT /session-context` and `POST /session-context/preview`.
3
+ * Settings → Session context (hearsay-tools/squawk#4308, hearsay-tools/squawk#4341): read shared
4
+ * `context.yaml` and local `context.local.yaml`, preview their combined launch output, and save
5
+ * `context.local.yaml` through `GET/PUT /session-context` and `POST /session-context/preview`.
6
6
  */
7
- /** The largest `context.yaml` a launch reads, in UTF-8 bytes. The editor cannot save a larger one. */
7
+ /** The largest context YAML file a launch reads, in UTF-8 bytes. The editor cannot save a larger one. */
8
8
  export declare const SESSION_CONTEXT_FILE_MAX_BYTES: number;
9
- /** `GET /session-context` and the `PUT` answer: the file as it is on disk, with its stale-write token. */
9
+ export declare const sessionContextSourceSchema: z.ZodEnum<{
10
+ "built-in": "built-in";
11
+ local: "local";
12
+ shared: "shared";
13
+ }>;
14
+ export type SessionContextSource = z.infer<typeof sessionContextSourceSchema>;
15
+ /** The editable local file (`context.local.yaml`) as it is on disk, with its stale-write token. */
10
16
  export declare const sessionContextFileSchema: z.ZodObject<{
11
17
  path: z.ZodString;
12
18
  exists: z.ZodBoolean;
@@ -16,7 +22,35 @@ export declare const sessionContextFileSchema: z.ZodObject<{
16
22
  readOnlyReason: z.ZodNullable<z.ZodString>;
17
23
  }, z.core.$strip>;
18
24
  export type SessionContextFile = z.infer<typeof sessionContextFileSchema>;
19
- /** `PUT /session-context`. `version` is the token the editor read; null creates the file. */
25
+ /** The shared repository file (`context.yaml`), shown read-only in Project Settings. */
26
+ export declare const sessionContextSharedFileSchema: z.ZodObject<{
27
+ path: z.ZodString;
28
+ exists: z.ZodBoolean;
29
+ content: z.ZodString;
30
+ tracked: z.ZodBoolean;
31
+ unreadableReason: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$strip>;
33
+ export type SessionContextSharedFile = z.infer<typeof sessionContextSharedFileSchema>;
34
+ /** `GET /session-context` and the `PUT` answer: both local and shared layers as they stand on disk. */
35
+ export declare const sessionContextStateSchema: z.ZodObject<{
36
+ local: z.ZodObject<{
37
+ path: z.ZodString;
38
+ exists: z.ZodBoolean;
39
+ content: z.ZodString;
40
+ version: z.ZodNullable<z.ZodString>;
41
+ writable: z.ZodBoolean;
42
+ readOnlyReason: z.ZodNullable<z.ZodString>;
43
+ }, z.core.$strip>;
44
+ shared: z.ZodObject<{
45
+ path: z.ZodString;
46
+ exists: z.ZodBoolean;
47
+ content: z.ZodString;
48
+ tracked: z.ZodBoolean;
49
+ unreadableReason: z.ZodNullable<z.ZodString>;
50
+ }, z.core.$strip>;
51
+ }, z.core.$strip>;
52
+ export type SessionContextState = z.infer<typeof sessionContextStateSchema>;
53
+ /** `PUT /session-context`. Saves `context.local.yaml`; `version` is the token the editor read (null creates it). */
20
54
  export declare const setSessionContextSchema: z.ZodObject<{
21
55
  content: z.ZodString;
22
56
  version: z.ZodNullable<z.ZodString>;
@@ -27,7 +61,7 @@ export declare const sessionContextRoleSchema: z.ZodEnum<{
27
61
  worker: "worker";
28
62
  }>;
29
63
  export type SessionContextRole = z.infer<typeof sessionContextRoleSchema>;
30
- /** `POST /session-context/preview`: render a draft for one role. */
64
+ /** `POST /session-context/preview`: render the combined launch output for one role with an unsaved local draft. */
31
65
  export declare const sessionContextPreviewRequestSchema: z.ZodObject<{
32
66
  content: z.ZodString;
33
67
  role: z.ZodEnum<{
@@ -36,7 +70,7 @@ export declare const sessionContextPreviewRequestSchema: z.ZodObject<{
36
70
  }>;
37
71
  }, z.core.$strip>;
38
72
  export type SessionContextPreviewRequest = z.infer<typeof sessionContextPreviewRequestSchema>;
39
- /** One thing the draft must fix before it saves. `line` and `rule` count from 1. */
73
+ /** One thing the local draft must fix before it saves. `line` and `rule` count from 1. */
40
74
  export declare const sessionContextProblemSchema: z.ZodObject<{
41
75
  line: z.ZodNullable<z.ZodNumber>;
42
76
  rule: z.ZodNullable<z.ZodNumber>;
@@ -45,6 +79,11 @@ export declare const sessionContextProblemSchema: z.ZodObject<{
45
79
  export type SessionContextProblem = z.infer<typeof sessionContextProblemSchema>;
46
80
  export declare const sessionContextPreviewBlockSchema: z.ZodObject<{
47
81
  id: z.ZodString;
82
+ source: z.ZodEnum<{
83
+ "built-in": "built-in";
84
+ local: "local";
85
+ shared: "shared";
86
+ }>;
48
87
  target: z.ZodNullable<z.ZodEnum<{
49
88
  both: "both";
50
89
  "built-in": "built-in";
@@ -56,6 +95,7 @@ export declare const sessionContextPreviewBlockSchema: z.ZodObject<{
56
95
  "not-for-role": "not-for-role";
57
96
  skipped: "skipped";
58
97
  }>;
98
+ overridesShared: z.ZodBoolean;
59
99
  bytes: z.ZodNullable<z.ZodNumber>;
60
100
  reason: z.ZodNullable<z.ZodString>;
61
101
  sources: z.ZodArray<z.ZodString>;
@@ -71,6 +111,11 @@ export declare const sessionContextPreviewSchema: z.ZodObject<{
71
111
  }, z.core.$strip>>;
72
112
  blocks: z.ZodArray<z.ZodObject<{
73
113
  id: z.ZodString;
114
+ source: z.ZodEnum<{
115
+ "built-in": "built-in";
116
+ local: "local";
117
+ shared: "shared";
118
+ }>;
74
119
  target: z.ZodNullable<z.ZodEnum<{
75
120
  both: "both";
76
121
  "built-in": "built-in";
@@ -82,6 +127,7 @@ export declare const sessionContextPreviewSchema: z.ZodObject<{
82
127
  "not-for-role": "not-for-role";
83
128
  skipped: "skipped";
84
129
  }>;
130
+ overridesShared: z.ZodBoolean;
85
131
  bytes: z.ZodNullable<z.ZodNumber>;
86
132
  reason: z.ZodNullable<z.ZodString>;
87
133
  sources: z.ZodArray<z.ZodString>;
@@ -44,6 +44,7 @@ export function ensureDataGitignore(repoRoot) {
44
44
  'automations.reclaim*/',
45
45
  'automation-state.lock',
46
46
  'automation-state.reclaim*/',
47
+ 'context.local.yaml', // host-local session context overrides (hearsay-tools/squawk#4341)
47
48
  ];
48
49
  try {
49
50
  // A tracked copy left in the fallback directory awaits the user's `git mv`: a new file at its
@@ -1 +1 @@
1
- {"version":3,"file":"data-gitignore.js","sourceRoot":"","sources":["../src/data-gitignore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MA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AI,CAAC,EAAE,CAAC,QAAQ,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,EAAE,4BAA4B,EAAE,6BAA6B,CAAC,CAAC;QACtK,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;QAC9E,IAAI,MAAM,CAAC,MAAM;YAAE,aAAa,CAAC,UAAU,EAAE,GAAG,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACzI,CAAC;IAAC,MAAM,CAAC;QACP,YAAY;IACd,CAAC;AACH,CAAC"}
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
- output: {
62
- error: string;
63
- code?: "invalid_input" | undefined;
64
- };
65
- outputFormat: "json";
66
- status: 400;
67
- input: {
68
- query: {
69
- project?: string | undefined;
70
- };
71
- };
72
- } | {
73
- output: {
74
- error: string;
75
- };
76
- outputFormat: "json";
77
- status: 404 | 409 | 503;
78
- input: {
79
- query: {
80
- project?: string | undefined;
81
- };
82
- };
83
- } | {
84
61
  output: {
85
62
  generatedAt: string;
86
63
  projects: {
@@ -327,6 +304,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
327
304
  project?: string | undefined;
328
305
  };
329
306
  };
307
+ } | {
308
+ output: {
309
+ error: string;
310
+ code?: "invalid_input" | undefined;
311
+ };
312
+ outputFormat: "json";
313
+ status: 400;
314
+ input: {
315
+ query: {
316
+ project?: string | undefined;
317
+ };
318
+ };
319
+ } | {
320
+ output: {
321
+ error: string;
322
+ };
323
+ outputFormat: "json";
324
+ status: 404 | 409 | 503;
325
+ input: {
326
+ query: {
327
+ project?: string | undefined;
328
+ };
329
+ };
330
330
  };
331
331
  };
332
332
  }, "/", "/workspace/activity">;
@@ -22,6 +22,18 @@ export declare function createModelsRoutes(options: {
22
22
  profileId?: string | undefined;
23
23
  };
24
24
  };
25
+ } | {
26
+ output: {
27
+ error: string;
28
+ };
29
+ outputFormat: "json";
30
+ status: 400;
31
+ input: {
32
+ query: {
33
+ runner: string | string[];
34
+ profileId?: string | undefined;
35
+ };
36
+ };
25
37
  } | {
26
38
  output: {
27
39
  runner: string;
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
43
55
  profileId?: string | undefined;
44
56
  };
45
57
  };
46
- } | {
47
- output: {
48
- error: string;
49
- };
50
- outputFormat: "json";
51
- status: 400;
52
- input: {
53
- query: {
54
- runner: string | string[];
55
- profileId?: string | undefined;
56
- };
57
- };
58
58
  };
59
59
  };
60
60
  }, "/", "/models">;
@@ -70,18 +70,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
70
70
  };
71
71
  } | {
72
72
  output: {
73
- providers: {
74
- requiresAccountHome?: boolean | undefined;
75
- provider: string;
76
- status: "connected" | "disconnected" | "not-installed" | "unknown";
77
- enabled?: boolean | undefined;
78
- hint?: string | undefined;
79
- authFailureId?: string | undefined;
80
- profileId?: string | undefined;
81
- }[];
73
+ error: string;
82
74
  };
83
75
  outputFormat: "json";
84
- status: import("hono/utils/http-status").ContentfulStatusCode;
76
+ status: 500;
85
77
  input: {
86
78
  param: {
87
79
  provider: string;
@@ -93,10 +85,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
93
85
  };
94
86
  } | {
95
87
  output: {
96
- error: string;
88
+ providers: {
89
+ requiresAccountHome?: boolean | undefined;
90
+ provider: string;
91
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
92
+ enabled?: boolean | undefined;
93
+ hint?: string | undefined;
94
+ authFailureId?: string | undefined;
95
+ profileId?: string | undefined;
96
+ }[];
97
97
  };
98
98
  outputFormat: "json";
99
- status: 500;
99
+ status: import("hono/utils/http-status").ContentfulStatusCode;
100
100
  input: {
101
101
  param: {
102
102
  provider: string;
@@ -128,18 +128,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
128
128
  };
129
129
  } | {
130
130
  output: {
131
- providers: {
132
- requiresAccountHome?: boolean | undefined;
133
- provider: string;
134
- status: "connected" | "disconnected" | "not-installed" | "unknown";
135
- enabled?: boolean | undefined;
136
- hint?: string | undefined;
137
- authFailureId?: string | undefined;
138
- profileId?: string | undefined;
139
- }[];
131
+ error: string;
140
132
  };
141
133
  outputFormat: "json";
142
- status: import("hono/utils/http-status").ContentfulStatusCode;
134
+ status: 409;
143
135
  input: {
144
136
  param: {
145
137
  provider: string;
@@ -151,10 +143,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
151
143
  };
152
144
  } | {
153
145
  output: {
154
- error: string;
146
+ providers: {
147
+ requiresAccountHome?: boolean | undefined;
148
+ provider: string;
149
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
150
+ enabled?: boolean | undefined;
151
+ hint?: string | undefined;
152
+ authFailureId?: string | undefined;
153
+ profileId?: string | undefined;
154
+ }[];
155
155
  };
156
156
  outputFormat: "json";
157
- status: 409;
157
+ status: import("hono/utils/http-status").ContentfulStatusCode;
158
158
  input: {
159
159
  param: {
160
160
  provider: string;
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
173
173
  error: string;
174
174
  };
175
175
  outputFormat: "json";
176
- status: 409;
176
+ status: 400;
177
177
  input: {
178
178
  json: {
179
179
  provider: string;
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
185
185
  error: string;
186
186
  };
187
187
  outputFormat: "json";
188
- status: 400;
188
+ status: 409;
189
189
  input: {
190
190
  json: {
191
191
  provider: string;
@@ -290,10 +290,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
290
290
  "/workspace/agent-profiles": {
291
291
  $post: {
292
292
  output: {
293
- error: string;
293
+ profile: {
294
+ id: string;
295
+ provider: string;
296
+ label: string;
297
+ configDir?: string | undefined;
298
+ path?: string | undefined;
299
+ exists: boolean;
300
+ looksValid: boolean;
301
+ isDefault: boolean;
302
+ status?: {
303
+ requiresAccountHome?: boolean | undefined;
304
+ provider: string;
305
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
306
+ enabled?: boolean | undefined;
307
+ hint?: string | undefined;
308
+ authFailureId?: string | undefined;
309
+ profileId?: string | undefined;
310
+ } | undefined;
311
+ };
294
312
  };
295
313
  outputFormat: "json";
296
- status: 409;
314
+ status: 201;
297
315
  input: {
298
316
  json: {
299
317
  provider: string;
@@ -319,7 +337,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
319
337
  error: string;
320
338
  };
321
339
  outputFormat: "json";
322
- status: 500;
340
+ status: 409;
323
341
  input: {
324
342
  json: {
325
343
  provider: string;
@@ -329,28 +347,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
329
347
  };
330
348
  } | {
331
349
  output: {
332
- profile: {
333
- id: string;
334
- provider: string;
335
- label: string;
336
- configDir?: string | undefined;
337
- path?: string | undefined;
338
- exists: boolean;
339
- looksValid: boolean;
340
- isDefault: boolean;
341
- status?: {
342
- requiresAccountHome?: boolean | undefined;
343
- provider: string;
344
- status: "connected" | "disconnected" | "not-installed" | "unknown";
345
- enabled?: boolean | undefined;
346
- hint?: string | undefined;
347
- authFailureId?: string | undefined;
348
- profileId?: string | undefined;
349
- } | undefined;
350
- };
350
+ error: string;
351
351
  };
352
352
  outputFormat: "json";
353
- status: 201;
353
+ status: 500;
354
354
  input: {
355
355
  json: {
356
356
  provider: string;
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
384
384
  error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 409;
387
+ status: 400;
388
388
  input: {
389
389
  param: {
390
390
  id: string;
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
400
400
  error: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 400;
403
+ status: 404;
404
404
  input: {
405
405
  param: {
406
406
  id: string;
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
416
416
  error: string;
417
417
  };
418
418
  outputFormat: "json";
419
- status: 404;
419
+ status: 409;
420
420
  input: {
421
421
  param: {
422
422
  id: string;
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
544
544
  error: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 404;
547
+ status: 400;
548
548
  input: {
549
549
  json: {
550
550
  projectId: string;
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
557
557
  error: string;
558
558
  };
559
559
  outputFormat: "json";
560
- status: 400;
560
+ status: 404;
561
561
  input: {
562
562
  json: {
563
563
  projectId: string;
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
621
621
  error: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 409;
624
+ status: 404;
625
625
  input: {
626
626
  param: {
627
627
  id: string;
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
632
632
  error: string;
633
633
  };
634
634
  outputFormat: "json";
635
- status: 500;
635
+ status: 409;
636
636
  input: {
637
637
  param: {
638
638
  id: string;
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
643
643
  error: string;
644
644
  };
645
645
  outputFormat: "json";
646
- status: 404;
646
+ status: 500;
647
647
  input: {
648
648
  param: {
649
649
  id: string;