@hearsay-tools/squawk 0.18.0-pr3949.7474 → 0.18.0-pr3953.7484

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 (117) hide show
  1. package/dist/ci-wait/tool-catalog.js +1 -0
  2. package/dist/ci-wait/tool-catalog.js.map +1 -1
  3. package/dist/ci-wait/tools.d.ts +4 -4
  4. package/dist/config.d.ts +3 -7
  5. package/dist/config.js +9 -9
  6. package/dist/config.js.map +1 -1
  7. package/dist/core/agent-env.d.ts +4 -0
  8. package/dist/core/agent-env.js +7 -25
  9. package/dist/core/agent-env.js.map +1 -1
  10. package/dist/core/agent-profiles.d.ts +14 -28
  11. package/dist/core/agent-profiles.js +27 -30
  12. package/dist/core/agent-profiles.js.map +1 -1
  13. package/dist/core/provider-auth.js +27 -182
  14. package/dist/core/provider-auth.js.map +1 -1
  15. package/dist/core/runner-definition.d.ts +72 -0
  16. package/dist/core/runner-definition.js.map +1 -1
  17. package/dist/delegation/execution-identity.js +6 -6
  18. package/dist/delegation/execution-identity.js.map +1 -1
  19. package/dist/jobs/cli.js +18 -4
  20. package/dist/jobs/cli.js.map +1 -1
  21. package/dist/jobs/command.js +1 -1
  22. package/dist/jobs/command.js.map +1 -1
  23. package/dist/jobs/job.d.ts +17 -0
  24. package/dist/jobs/job.js +29 -2
  25. package/dist/jobs/job.js.map +1 -1
  26. package/dist/paths.d.ts +5 -3
  27. package/dist/paths.js +9 -6
  28. package/dist/paths.js.map +1 -1
  29. package/dist/runners/claude/accounts.d.ts +11 -0
  30. package/dist/runners/claude/accounts.js +10 -0
  31. package/dist/runners/claude/accounts.js.map +1 -0
  32. package/dist/runners/claude/definition.js +8 -0
  33. package/dist/runners/claude/definition.js.map +1 -1
  34. package/dist/runners/claude/env.d.ts +4 -0
  35. package/dist/runners/claude/env.js +3 -0
  36. package/dist/runners/claude/env.js.map +1 -0
  37. package/dist/runners/claude/login-probe.d.ts +4 -0
  38. package/dist/runners/claude/login-probe.js +16 -0
  39. package/dist/runners/claude/login-probe.js.map +1 -0
  40. package/dist/runners/claude/login.d.ts +7 -0
  41. package/dist/runners/claude/login.js +8 -0
  42. package/dist/runners/claude/login.js.map +1 -0
  43. package/dist/runners/codex/accounts.d.ts +11 -0
  44. package/dist/runners/codex/accounts.js +8 -0
  45. package/dist/runners/codex/accounts.js.map +1 -0
  46. package/dist/runners/codex/definition.js +8 -0
  47. package/dist/runners/codex/definition.js.map +1 -1
  48. package/dist/runners/codex/env.d.ts +4 -0
  49. package/dist/runners/codex/env.js +3 -0
  50. package/dist/runners/codex/env.js.map +1 -0
  51. package/dist/runners/codex/login-probe.d.ts +4 -0
  52. package/dist/runners/codex/login-probe.js +30 -0
  53. package/dist/runners/codex/login-probe.js.map +1 -0
  54. package/dist/runners/codex/login.d.ts +7 -0
  55. package/dist/runners/codex/login.js +8 -0
  56. package/dist/runners/codex/login.js.map +1 -0
  57. package/dist/runners/login-output.d.ts +5 -0
  58. package/dist/runners/login-output.js +14 -0
  59. package/dist/runners/login-output.js.map +1 -0
  60. package/dist/runners/omp/accounts.d.ts +11 -0
  61. package/dist/runners/omp/accounts.js +11 -0
  62. package/dist/runners/omp/accounts.js.map +1 -0
  63. package/dist/runners/omp/definition.js +8 -0
  64. package/dist/runners/omp/definition.js.map +1 -1
  65. package/dist/runners/omp/env.d.ts +4 -0
  66. package/dist/runners/omp/env.js +17 -0
  67. package/dist/runners/omp/env.js.map +1 -0
  68. package/dist/runners/omp/login-probe.d.ts +13 -0
  69. package/dist/runners/omp/login-probe.js +25 -0
  70. package/dist/runners/omp/login-probe.js.map +1 -0
  71. package/dist/runners/omp/login.d.ts +8 -0
  72. package/dist/runners/omp/login.js +12 -0
  73. package/dist/runners/omp/login.js.map +1 -0
  74. package/dist/runners/opencode/accounts.d.ts +11 -0
  75. package/dist/runners/opencode/accounts.js +10 -0
  76. package/dist/runners/opencode/accounts.js.map +1 -0
  77. package/dist/runners/opencode/definition.js +8 -0
  78. package/dist/runners/opencode/definition.js.map +1 -1
  79. package/dist/runners/opencode/env.d.ts +4 -0
  80. package/dist/runners/opencode/env.js +4 -0
  81. package/dist/runners/opencode/env.js.map +1 -0
  82. package/dist/runners/opencode/login-probe.d.ts +4 -0
  83. package/dist/runners/opencode/login-probe.js +31 -0
  84. package/dist/runners/opencode/login-probe.js.map +1 -0
  85. package/dist/runners/opencode/login.d.ts +7 -0
  86. package/dist/runners/opencode/login.js +8 -0
  87. package/dist/runners/opencode/login.js.map +1 -0
  88. package/dist/runners/pi/accounts.d.ts +11 -0
  89. package/dist/runners/pi/accounts.js +8 -0
  90. package/dist/runners/pi/accounts.js.map +1 -0
  91. package/dist/runners/pi/definition.js +8 -0
  92. package/dist/runners/pi/definition.js.map +1 -1
  93. package/dist/runners/pi/env.d.ts +4 -0
  94. package/dist/runners/pi/env.js +15 -0
  95. package/dist/runners/pi/env.js.map +1 -0
  96. package/dist/runners/pi/login-probe.d.ts +4 -0
  97. package/dist/runners/pi/login-probe.js +17 -0
  98. package/dist/runners/pi/login-probe.js.map +1 -0
  99. package/dist/runners/pi/login.d.ts +7 -0
  100. package/dist/runners/pi/login.js +8 -0
  101. package/dist/runners/pi/login.js.map +1 -0
  102. package/dist/server/reports-api.d.ts +2 -2
  103. package/dist/server/server.d.ts +64 -74
  104. package/dist/server/server.js +2 -2
  105. package/dist/server/server.js.map +1 -1
  106. package/dist/workspace/agent-accounts.d.ts +6 -17
  107. package/dist/workspace/agent-accounts.js +10 -14
  108. package/dist/workspace/agent-accounts.js.map +1 -1
  109. package/dist/workspace/agent-profiles.js +2 -2
  110. package/dist/workspace/agent-profiles.js.map +1 -1
  111. package/dist/workspace/config.d.ts +8 -7
  112. package/dist/workspace/config.js +18 -9
  113. package/dist/workspace/config.js.map +1 -1
  114. package/package.json +4 -4
  115. package/scripts/measure-transcript-facts-health.mjs +3 -0
  116. package/scripts/mock-lifecycle.mjs +1 -1
  117. package/scripts/mock-omp-rpc.mjs +1 -1
@@ -1520,12 +1520,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1520
1520
  profileCapableProviders: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
1521
1521
  selections: {
1522
1522
  [x: string]: {
1523
- [x: string]: import("hono/utils/types").JSONValue;
1524
- claude?: string | undefined;
1525
- codex?: string | undefined;
1526
- opencode?: string | undefined;
1527
- pi?: string | undefined;
1528
- omp?: string | undefined;
1523
+ [x: string]: string | undefined;
1529
1524
  };
1530
1525
  };
1531
1526
  };
@@ -1873,12 +1868,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1873
1868
  output: {
1874
1869
  selections: {
1875
1870
  [x: string]: {
1876
- [x: string]: import("hono/utils/types").JSONValue;
1877
- claude?: string | undefined;
1878
- codex?: string | undefined;
1879
- opencode?: string | undefined;
1880
- pi?: string | undefined;
1881
- omp?: string | undefined;
1871
+ [x: string]: string | undefined;
1882
1872
  };
1883
1873
  };
1884
1874
  };
@@ -3371,9 +3361,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3371
3361
  defaultModels: {
3372
3362
  claude?: string | undefined;
3373
3363
  codex?: string | undefined;
3364
+ omp?: string | undefined;
3374
3365
  opencode?: string | undefined;
3375
3366
  pi?: string | undefined;
3376
- omp?: string | undefined;
3377
3367
  };
3378
3368
  modelsLocked: boolean;
3379
3369
  maxParallel: number;
@@ -3410,9 +3400,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3410
3400
  defaultModels: {
3411
3401
  claude?: string | undefined;
3412
3402
  codex?: string | undefined;
3403
+ omp?: string | undefined;
3413
3404
  opencode?: string | undefined;
3414
3405
  pi?: string | undefined;
3415
- omp?: string | undefined;
3416
3406
  };
3417
3407
  modelsLocked: boolean;
3418
3408
  maxParallel: number;
@@ -4328,19 +4318,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4328
4318
  } & {
4329
4319
  "/repo/commit/:sha": {
4330
4320
  $get: {
4331
- output: string;
4332
- outputFormat: "text";
4333
- status: import("hono/utils/http-status").ContentfulStatusCode;
4334
- input: {
4335
- query: {
4336
- structured?: string | undefined;
4337
- };
4338
- } & {
4339
- param: {
4340
- sha: string;
4341
- };
4342
- };
4343
- } | {
4344
4321
  output: {
4345
4322
  error: string;
4346
4323
  code?: "invalid_input" | undefined;
@@ -4404,6 +4381,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4404
4381
  sha: string;
4405
4382
  };
4406
4383
  };
4384
+ } | {
4385
+ output: string;
4386
+ outputFormat: "text";
4387
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4388
+ input: {
4389
+ query: {
4390
+ structured?: string | undefined;
4391
+ };
4392
+ } & {
4393
+ param: {
4394
+ sha: string;
4395
+ };
4396
+ };
4407
4397
  };
4408
4398
  };
4409
4399
  } & {
@@ -18140,20 +18130,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18140
18130
  } & {
18141
18131
  "/runs/:id/handoff": {
18142
18132
  $get: {
18143
- output: string;
18144
- outputFormat: "text";
18145
- status: 200;
18133
+ output: {
18134
+ error: string;
18135
+ };
18136
+ outputFormat: "json";
18137
+ status: 404;
18146
18138
  input: {
18147
18139
  param: {
18148
18140
  id: string;
18149
18141
  };
18150
18142
  };
18151
18143
  } | {
18152
- output: {
18153
- error: string;
18154
- };
18155
- outputFormat: "json";
18156
- status: 404;
18144
+ output: string;
18145
+ outputFormat: "text";
18146
+ status: 200;
18157
18147
  input: {
18158
18148
  param: {
18159
18149
  id: string;
@@ -18191,20 +18181,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18191
18181
  } & {
18192
18182
  "/runs/:id/diff": {
18193
18183
  $get: {
18194
- output: string;
18195
- outputFormat: "text";
18196
- status: import("hono/utils/http-status").ContentfulStatusCode;
18184
+ output: {
18185
+ error: string;
18186
+ };
18187
+ outputFormat: "json";
18188
+ status: 404 | 409;
18197
18189
  input: {
18198
18190
  param: {
18199
18191
  id: string;
18200
18192
  };
18201
18193
  };
18202
18194
  } | {
18203
- output: {
18204
- error: string;
18205
- };
18206
- outputFormat: "json";
18207
- status: 404 | 409;
18195
+ output: string;
18196
+ outputFormat: "text";
18197
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18208
18198
  input: {
18209
18199
  param: {
18210
18200
  id: string;
@@ -19291,9 +19281,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19291
19281
  defaultModels: {
19292
19282
  claude?: string | undefined;
19293
19283
  codex?: string | undefined;
19284
+ omp?: string | undefined;
19294
19285
  opencode?: string | undefined;
19295
19286
  pi?: string | undefined;
19296
- omp?: string | undefined;
19297
19287
  };
19298
19288
  modelsLocked: boolean;
19299
19289
  maxParallel: number;
@@ -19330,9 +19320,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19330
19320
  defaultModels: {
19331
19321
  claude?: string | undefined;
19332
19322
  codex?: string | undefined;
19323
+ omp?: string | undefined;
19333
19324
  opencode?: string | undefined;
19334
19325
  pi?: string | undefined;
19335
- omp?: string | undefined;
19336
19326
  };
19337
19327
  modelsLocked: boolean;
19338
19328
  maxParallel: number;
@@ -20248,19 +20238,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20248
20238
  } & {
20249
20239
  "/repo/commit/:sha": {
20250
20240
  $get: {
20251
- output: string;
20252
- outputFormat: "text";
20253
- status: import("hono/utils/http-status").ContentfulStatusCode;
20254
- input: {
20255
- query: {
20256
- structured?: string | undefined;
20257
- };
20258
- } & {
20259
- param: {
20260
- sha: string;
20261
- };
20262
- };
20263
- } | {
20264
20241
  output: {
20265
20242
  error: string;
20266
20243
  code?: "invalid_input" | undefined;
@@ -20324,6 +20301,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20324
20301
  sha: string;
20325
20302
  };
20326
20303
  };
20304
+ } | {
20305
+ output: string;
20306
+ outputFormat: "text";
20307
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20308
+ input: {
20309
+ query: {
20310
+ structured?: string | undefined;
20311
+ };
20312
+ } & {
20313
+ param: {
20314
+ sha: string;
20315
+ };
20316
+ };
20327
20317
  };
20328
20318
  };
20329
20319
  } & {
@@ -34060,20 +34050,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34060
34050
  } & {
34061
34051
  "/runs/:id/handoff": {
34062
34052
  $get: {
34063
- output: string;
34064
- outputFormat: "text";
34065
- status: 200;
34053
+ output: {
34054
+ error: string;
34055
+ };
34056
+ outputFormat: "json";
34057
+ status: 404;
34066
34058
  input: {
34067
34059
  param: {
34068
34060
  id: string;
34069
34061
  };
34070
34062
  };
34071
34063
  } | {
34072
- output: {
34073
- error: string;
34074
- };
34075
- outputFormat: "json";
34076
- status: 404;
34064
+ output: string;
34065
+ outputFormat: "text";
34066
+ status: 200;
34077
34067
  input: {
34078
34068
  param: {
34079
34069
  id: string;
@@ -34111,20 +34101,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34111
34101
  } & {
34112
34102
  "/runs/:id/diff": {
34113
34103
  $get: {
34114
- output: string;
34115
- outputFormat: "text";
34116
- status: import("hono/utils/http-status").ContentfulStatusCode;
34104
+ output: {
34105
+ error: string;
34106
+ };
34107
+ outputFormat: "json";
34108
+ status: 404 | 409;
34117
34109
  input: {
34118
34110
  param: {
34119
34111
  id: string;
34120
34112
  };
34121
34113
  };
34122
34114
  } | {
34123
- output: {
34124
- error: string;
34125
- };
34126
- outputFormat: "json";
34127
- status: 404 | 409;
34115
+ output: string;
34116
+ outputFormat: "text";
34117
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34128
34118
  input: {
34129
34119
  param: {
34130
34120
  id: string;
@@ -123,7 +123,7 @@ import { findConfigFile } from '../agent-config/catalog.js';
123
123
  import { defaultWorkspaceConfig, loadWorkspaceConfig, mergeWriteWorkspaceConfig, effectiveComposerDefault, } from '../workspace/config.js';
124
124
  import { CONTROL_CHARS_RE, DEFAULT_AGENT_ACCOUNT_ID, defaultAgentAccountStore, isAbsoluteConfigDir, loadAgentAccounts, mergeWriteAgentAccounts, } from '../workspace/agent-accounts.js';
125
125
  import { defaultAgentProfile, listAgentProfiles, profileDirState, resolveStoredProfile, sameProfileDir, } from '../workspace/agent-profiles.js';
126
- import { PROFILE_CAPABLE_PROVIDERS, profileEnv, supportsProfiles } from '../core/agent-profiles.js';
126
+ import { profileCapableProviders, profileEnv, supportsProfiles } from '../core/agent-profiles.js';
127
127
  import { shellQuote, withEnvPrefix } from '../core/shell-env.js';
128
128
  import { resumeCommand } from '../core/runner-cli.js';
129
129
  import { allocateProjectSlug, normalizeProjectTags, probeProjectStatus, toProjectListEntry, registerProject, removeProject, shouldRegisterProject, } from '../workspace/projects.js';
@@ -1133,7 +1133,7 @@ export function createApp(deps) {
1133
1133
  return c.json({
1134
1134
  editable,
1135
1135
  profiles,
1136
- profileCapableProviders: [...PROFILE_CAPABLE_PROVIDERS],
1136
+ profileCapableProviders: profileCapableProviders(),
1137
1137
  // Which account each project uses, keyed by repo root. Served here rather than on the
1138
1138
  // project registry because it lives in the same file as the accounts it names.
1139
1139
  selections: editable ? store.selections : {},