@hearsay-tools/squawk 0.18.0-dev.6703 → 0.18.0-dev.6743
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.
- package/dist/agent-config/account-identity.js +12 -11
- package/dist/agent-config/account-identity.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +37 -37
- package/dist/contract/index.js +67 -26
- package/dist/contract/tool-display.d.ts +8 -2
- package/dist/core/agent-profiles.d.ts +42 -9
- package/dist/core/agent-profiles.js +33 -26
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner.d.ts +5 -0
- package/dist/core/agent-runner.js +11 -0
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/claude-cli-runner.d.ts +1 -0
- package/dist/core/codex-app-server-runner.d.ts +1 -0
- package/dist/core/cursor-print-runner.d.ts +1 -0
- package/dist/core/cursor-runner.d.ts +1 -0
- package/dist/core/omp-runner.d.ts +1 -0
- package/dist/core/opencode-server-runner.d.ts +1 -0
- package/dist/core/pi-runner.d.ts +1 -0
- package/dist/core/runner-facts.d.ts +9 -0
- package/dist/core/runner-facts.js +6 -0
- package/dist/core/runner-facts.js.map +1 -1
- package/dist/delegation/execution-identity.js +25 -30
- package/dist/delegation/execution-identity.js.map +1 -1
- package/dist/delegation/transport.d.ts +62 -62
- package/dist/home/legacy-account-paths.js +2 -1
- package/dist/home/legacy-account-paths.js.map +1 -1
- package/dist/home/migration-accounts.d.ts +1 -1
- package/dist/home/migration-accounts.js +3 -2
- package/dist/home/migration-accounts.js.map +1 -1
- package/dist/paths.d.ts +3 -0
- package/dist/paths.js +4 -0
- package/dist/paths.js.map +1 -1
- package/dist/planner.js +4 -3
- package/dist/planner.js.map +1 -1
- package/dist/runs/auto-name.d.ts +1 -1
- package/dist/runs/auto-name.js +3 -2
- package/dist/runs/auto-name.js.map +1 -1
- package/dist/runs/store.js +2 -2
- package/dist/runs/store.js.map +1 -1
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/server.js +6 -10
- package/dist/server/server.js.map +1 -1
- package/dist/server-install/steps.js +24 -17
- package/dist/server-install/steps.js.map +1 -1
- package/dist/workflows/types.js +2 -3
- package/dist/workflows/types.js.map +1 -1
- package/dist/workspace/agent-accounts.js +2 -2
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.d.ts +1 -1
- package/dist/workspace/agent-profiles.js +5 -5
- package/dist/workspace/agent-profiles.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-DhLXb8Pt.js → activity-motion-DMp6Uo_E.js} +1 -1
- package/web/dist/assets/{activity-route-CpwAMYLn.js → activity-route-D04JxCzp.js} +1 -1
- package/web/dist/assets/agent-accounts-C48RdN3o.js +18 -0
- package/web/dist/assets/{commit-diff-panel-B1KZl0GP.js → commit-diff-panel-Din879JP.js} +1 -1
- package/web/dist/assets/{diff-Ci-qd1lU.js → diff-Btt23N3M.js} +2 -2
- package/web/dist/assets/{diff-view-CWZElKoD.js → diff-view-CfWaBIJu.js} +1 -1
- package/web/dist/assets/{file-preview-CoWRr13R.js → file-preview-DcznUbkx.js} +1 -1
- package/web/dist/assets/{git-toolbar-BYIni94R.js → git-toolbar-DUnmDIe8.js} +1 -1
- package/web/dist/assets/github-C6OOf2Jp.js +1 -0
- package/web/dist/assets/{global-activity-route-DLEwsMA7.js → global-activity-route-ko4iBoc3.js} +1 -1
- package/web/dist/assets/index-C3YyGC-J.js +17 -0
- package/web/dist/assets/preview-pane-connected-gIoE5-9m.js +3 -0
- package/web/dist/assets/{prompt-template-menu-BZTz2mIG.js → prompt-template-menu-C3d8Xkvo.js} +1 -1
- package/web/dist/assets/{reference-chip-Ht4xX9-k.js → reference-chip-BliLpdSz.js} +1 -1
- package/web/dist/assets/{repo-git-CzVLCWig.js → repo-git-DGrhzyWR.js} +1 -1
- package/web/dist/assets/{report-reader-iTBkUgg-.js → report-reader-C2yXiPa9.js} +1 -1
- package/web/dist/assets/{reports-BJF1Cl3C.js → reports-mmONzYgk.js} +1 -1
- package/web/dist/assets/{run-header-BxB6gyt1.js → run-header-Cin11tct.js} +1 -1
- package/web/dist/assets/{skills-DvgHKWgK.js → skills-N0vkndca.js} +1 -1
- package/web/dist/assets/{task-changes-CStxhLFG.js → task-changes-BhvqWHW7.js} +1 -1
- package/web/dist/assets/{task-commits-DhpOAdOf.js → task-commits-RGVmBirX.js} +1 -1
- package/web/dist/assets/{task-files-COmKUUfN.js → task-files-B-W_PC8S.js} +1 -1
- package/web/dist/assets/{task-github-item-BNLeAz58.js → task-github-item-csNEiMBa.js} +1 -1
- package/web/dist/assets/task-thread-B23Uq5iQ.js +9 -0
- package/web/dist/assets/thread-state-DeDb0lsY.js +4 -0
- package/web/dist/assets/use-desktop-jIeTPw3K.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-CIysCyMM.js +1 -0
- package/web/dist/assets/{workflows-CN8uKYnY.js → workflows-k0YtC-LB.js} +1 -1
- package/web/dist/index.html +5 -5
- package/web/dist/assets/agent-accounts-Bc0LJ4SB.js +0 -18
- package/web/dist/assets/github-CAPNq5vY.js +0 -1
- package/web/dist/assets/index-CpwAOct4.js +0 -17
- package/web/dist/assets/preview-pane-connected-CGw_9VuF.js +0 -3
- package/web/dist/assets/task-thread-DjSFvEQe.js +0 -9
- package/web/dist/assets/thread-state-B5tTsVNm.js +0 -4
- package/web/dist/assets/use-desktop-BPWIJ0Kw.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-Ce6QW2j_.js +0 -1
|
@@ -59,6 +59,29 @@ export declare function ciProgressPlugs(demand: ActivityDemand): {
|
|
|
59
59
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
60
60
|
"/workspace/activity": {
|
|
61
61
|
$get: {
|
|
62
|
+
output: {
|
|
63
|
+
error: string;
|
|
64
|
+
code?: "invalid_input" | undefined;
|
|
65
|
+
};
|
|
66
|
+
outputFormat: "json";
|
|
67
|
+
status: 400;
|
|
68
|
+
input: {
|
|
69
|
+
query: {
|
|
70
|
+
project?: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
} | {
|
|
74
|
+
output: {
|
|
75
|
+
error: string;
|
|
76
|
+
};
|
|
77
|
+
outputFormat: "json";
|
|
78
|
+
status: 404 | 409 | 503;
|
|
79
|
+
input: {
|
|
80
|
+
query: {
|
|
81
|
+
project?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
} | {
|
|
62
85
|
output: {
|
|
63
86
|
generatedAt: string;
|
|
64
87
|
projects: {
|
|
@@ -289,29 +312,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
289
312
|
project?: string | undefined;
|
|
290
313
|
};
|
|
291
314
|
};
|
|
292
|
-
} | {
|
|
293
|
-
output: {
|
|
294
|
-
error: string;
|
|
295
|
-
code?: "invalid_input" | undefined;
|
|
296
|
-
};
|
|
297
|
-
outputFormat: "json";
|
|
298
|
-
status: 400;
|
|
299
|
-
input: {
|
|
300
|
-
query: {
|
|
301
|
-
project?: string | undefined;
|
|
302
|
-
};
|
|
303
|
-
};
|
|
304
|
-
} | {
|
|
305
|
-
output: {
|
|
306
|
-
error: string;
|
|
307
|
-
};
|
|
308
|
-
outputFormat: "json";
|
|
309
|
-
status: 404 | 409 | 503;
|
|
310
|
-
input: {
|
|
311
|
-
query: {
|
|
312
|
-
project?: string | undefined;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
317
|
}, "/", "/workspace/activity">;
|
package/dist/server/server.js
CHANGED
|
@@ -125,7 +125,7 @@ import { readAccountIdentity } from '../agent-config/account-identity.js';
|
|
|
125
125
|
import { defaultWorkspaceConfig, loadWorkspaceConfig, mergeWriteWorkspaceConfig, effectiveComposerDefault, } from '../workspace/config.js';
|
|
126
126
|
import { CONTROL_CHARS_RE, DEFAULT_AGENT_ACCOUNT_ID, defaultAgentAccountStore, isAbsoluteConfigDir, loadAgentAccounts, mergeWriteAgentAccounts, } from '../workspace/agent-accounts.js';
|
|
127
127
|
import { defaultAgentProfile, listAgentProfiles, namedAccountUnavailable, ompProfileDirError, profileDirState, resolveStoredProfile, sameProfileDir, } from '../workspace/agent-profiles.js';
|
|
128
|
-
import { PROFILE_CAPABLE_PROVIDERS, profileAgentDir, profileEnv, supportsProfiles } from '../core/agent-profiles.js';
|
|
128
|
+
import { PROFILE_CAPABLE_PROVIDERS, profileAgentDir, profileEnv, selectsByProfileName, supportsProfiles } from '../core/agent-profiles.js';
|
|
129
129
|
import { quoteExecutable, shellQuote, withEnvPrefix } from '../core/shell-env.js';
|
|
130
130
|
import { resolveCursorExecutable } from '../core/cursor-model-catalog.js';
|
|
131
131
|
import { resolveOmpExecutable } from '../core/omp-model-catalog.js';
|
|
@@ -135,7 +135,7 @@ import { checkoutRepo } from './checkout.js';
|
|
|
135
135
|
import { createProject, listGithubOwners } from './create-project.js';
|
|
136
136
|
import { createWorkspaceRunFeed } from './workspace-run-feed.js';
|
|
137
137
|
import { mergeWriteProjectUiState, readUiState } from '../ui-state.js';
|
|
138
|
-
import { agentHomePaths, expandTilde } from '../paths.js';
|
|
138
|
+
import { AGENT_HOME_SLOT, agentHomePaths, expandTilde } from '../paths.js';
|
|
139
139
|
import { isLoopbackHostHeader, normalizeHostname, resolveCapabilities } from './capabilities.js';
|
|
140
140
|
import { browseDirectory, isInsideBrowseRoot, isLexicallyInsideBrowseRoot, resolveBrowseRoot } from './fs-browse.js';
|
|
141
141
|
import { resolveForge, forgeWebRoot, resolveForgeRoot, GithubPrNotFoundError, GH_CHECKS_MAX, GH_REF_STATUS_MAX } from './forge/index.js';
|
|
@@ -1069,15 +1069,11 @@ export function createApp(deps) {
|
|
|
1069
1069
|
* ids opaque and stable so the open route below never takes a path from the client.
|
|
1070
1070
|
*/
|
|
1071
1071
|
const accountFiles = async (profile) => {
|
|
1072
|
+
// A discovered default is already an agent dir; a named account may keep its config in a
|
|
1073
|
+
// subfolder of its folder (omp's `agent/`).
|
|
1072
1074
|
const home = {
|
|
1073
1075
|
...agentHomePaths(),
|
|
1074
|
-
|
|
1075
|
-
...(profile.provider === 'codex' ? { codex: profile.path } : {}),
|
|
1076
|
-
...(profile.provider === 'opencode' ? { opencodeConfig: profile.path } : {}),
|
|
1077
|
-
...(profile.provider === 'pi' ? { pi: profile.path } : {}),
|
|
1078
|
-
// The discovered omp account is already an agent dir; a named one is a profile folder that
|
|
1079
|
-
// keeps its config in `agent/`.
|
|
1080
|
-
...(profile.provider === 'omp' ? { omp: profile.isDefault ? profile.path : profileAgentDir('omp', profile.path) } : {}),
|
|
1076
|
+
[AGENT_HOME_SLOT[profile.provider]]: profile.isDefault ? profile.path : profileAgentDir(profile.provider, profile.path),
|
|
1081
1077
|
};
|
|
1082
1078
|
const defs = listConfigFiles().filter((def) => def.scope === 'user' && def.runners.includes(profile.provider));
|
|
1083
1079
|
return Promise.all(defs.map(async (def) => {
|
|
@@ -1152,7 +1148,7 @@ export function createApp(deps) {
|
|
|
1152
1148
|
if (!isAbsoluteConfigDir(expanded))
|
|
1153
1149
|
return `folder must be an absolute path: ${configDir}`;
|
|
1154
1150
|
// An omp account is selected by profile NAME, so only a folder in omp's profiles dir can be one.
|
|
1155
|
-
if (provider
|
|
1151
|
+
if (selectsByProfileName(provider))
|
|
1156
1152
|
return ompProfileDirError(expanded);
|
|
1157
1153
|
return null;
|
|
1158
1154
|
};
|