@phren/cli 0.3.30 → 0.3.32
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/bridge/agent-hooks.d.ts +5 -55
- package/dist/bridge/agent-hooks.js +45 -162
- package/dist/bridge/approval-rules.d.ts +70 -0
- package/dist/bridge/approval-rules.js +231 -0
- package/dist/bridge/authority.d.ts +1 -2
- package/dist/bridge/authority.js +2 -7
- package/dist/bridge/changes.d.ts +4 -0
- package/dist/bridge/changes.js +47 -33
- package/dist/bridge/claude-suggestion.js +1 -1
- package/dist/bridge/codex-servers.d.ts +12 -0
- package/dist/bridge/codex-servers.js +35 -3
- package/dist/bridge/codex-thread-origin.d.ts +12 -0
- package/dist/bridge/codex-thread-origin.js +31 -0
- package/dist/bridge/dispatch.js +1 -1
- package/dist/bridge/enroll.d.ts +6 -0
- package/dist/bridge/enroll.js +10 -4
- package/dist/bridge/git-worktrees.js +14 -17
- package/dist/bridge/git.d.ts +10 -2
- package/dist/bridge/git.js +148 -107
- package/dist/bridge/hand-off-queue.d.ts +10 -0
- package/dist/bridge/hand-off-queue.js +33 -10
- package/dist/bridge/health.js +9 -5
- package/dist/bridge/herdr.js +6 -1
- package/dist/bridge/hook-main.js +12 -2
- package/dist/bridge/locate.js +14 -1
- package/dist/bridge/projects.d.ts +8 -0
- package/dist/bridge/projects.js +142 -24
- package/dist/bridge/prompt-deliveries.d.ts +99 -0
- package/dist/bridge/prompt-deliveries.js +327 -0
- package/dist/bridge/prompt-once.d.ts +2 -0
- package/dist/bridge/prompt-once.js +2 -0
- package/dist/bridge/schedule-format.d.ts +10 -0
- package/dist/bridge/schedule-format.js +24 -1
- package/dist/bridge/schedules.d.ts +3 -1
- package/dist/bridge/schedules.js +96 -40
- package/dist/bridge/server-launch.js +39 -15
- package/dist/bridge/server-pane-routes.js +91 -45
- package/dist/bridge/server-routes.d.ts +3 -0
- package/dist/bridge/server-routes.js +36 -8
- package/dist/bridge/server-stream.js +4 -2
- package/dist/bridge/server.js +12 -3
- package/dist/bridge/speech-key.d.ts +2 -9
- package/dist/bridge/speech-key.js +4 -37
- package/dist/bridge/sudo.d.ts +1 -1
- package/dist/bridge/sudo.js +51 -17
- package/dist/bridge/terminal-tmux.js +22 -4
- package/dist/bridge/tmux-test-server.d.ts +13 -0
- package/dist/bridge/tmux-test-server.js +103 -0
- package/dist/bridge/transcript-claude.d.ts +3 -3
- package/dist/bridge/transcript-claude.js +7 -7
- package/dist/bridge/transcript-codex.js +6 -4
- package/dist/bridge/transcript-preview.js +1 -1
- package/dist/bridge/transcripts.js +14 -3
- package/dist/bridge-hook.mjs +16011 -14121
- package/dist/cli/schedules.js +8 -2
- package/dist/cli/session-stop.js +9 -1
- package/dist/cli-registry.js +1 -1
- package/dist/core/project-registry.d.ts +1 -0
- package/dist/core/project-registry.js +6 -2
- package/dist/core/project.d.ts +1 -0
- package/dist/core/project.js +5 -0
- package/dist/generated/memory-ui-graph.browser.js +328 -333
- package/dist/init/setup.js +2 -2
- package/dist/memory-ui-graph.runtime.js +328 -333
- package/dist/modules/registry.js +9 -7
- package/dist/phren-core.js +1 -1
- package/dist/phren-paths.d.ts +2 -2
- package/dist/phren-paths.js +2 -2
- package/dist/store-routing.d.ts +2 -2
- package/dist/store-routing.js +2 -2
- package/dist/sync/git-state.d.ts +13 -0
- package/dist/sync/git-state.js +22 -0
- package/dist/sync/store-merge.d.ts +2 -0
- package/dist/sync/store-merge.js +6 -1
- package/dist/test-global-setup.js +7 -0
- package/dist/tools/data.js +1 -1
- package/dist/tools/finding.js +1 -1
- package/dist/tools/search.js +1 -1
- package/dist/tools/tasks.js +1 -1
- package/package.json +8 -8
- package/starter/global/skills/conductor/SKILL.md +2 -2
package/dist/modules/registry.js
CHANGED
|
@@ -77,6 +77,8 @@ export const BUILTIN_MODULES = [
|
|
|
77
77
|
{ agents: ["copilot"], events: ["SessionStart", "UserPromptSubmit"], handler: "bridge-hook.mjs hook copilot" },
|
|
78
78
|
],
|
|
79
79
|
hookRoutes: [
|
|
80
|
+
...routes("GET", ["/v1/approval-rules"]),
|
|
81
|
+
...routes("POST", ["/v1/approval-rules"]), ...routes("DELETE", ["/v1/approval-rules"]),
|
|
80
82
|
...routes("GET", [
|
|
81
83
|
"/v1/health", "/v1/health/details", "/v1/health/peers", "/v1/muxes", "/v1/activity", "/v1/metrics", "/v1/web-servers", "/v1/simulators",
|
|
82
84
|
"/v1/simulators/screenshot", "/v1/simulators/apps", "/v1/files", "/v1/models", "/v1/harnesses", "/v1/projects/files",
|
|
@@ -96,7 +98,7 @@ export const BUILTIN_MODULES = [
|
|
|
96
98
|
capabilities: [
|
|
97
99
|
"hook", "transcript", "progress", "images", "prompt", "stop", "terminal", "shell", "herdr",
|
|
98
100
|
"webServers", "webPreview", "activity", "approvals", "questions", "accountUsage", "providers",
|
|
99
|
-
"files", "repositoryFiles", "fileResolution", "subagents", "sideQuestions", "approvalPush", "simulators", "overviewStream", "speech", "speechTimestamps", "speechTimestampStream", "speechLive", "speechVoices", "speechFormats", "transcribe", "promptOnce", "promptStatus", "deliveryFrames", "resources", "sessionRename", "sudo", "sudoOutcome", "previewDeltas", "quickChat",
|
|
101
|
+
"files", "repositoryFiles", "fileResolution", "subagents", "sideQuestions", "approvalPush", "simulators", "overviewStream", "speech", "speechTimestamps", "speechTimestampStream", "speechLive", "speechVoices", "speechFormats", "transcribe", "promptOnce", "promptStatus", "deliveryFrames", "resources", "sessionRename", "sudo", "sudoOutcome", "previewDeltas", "quickChat", "agentFolder", "launchPermissionMode",
|
|
100
102
|
],
|
|
101
103
|
storeFiles: [".runtime/sessions/opencode-*.events.jsonl", ".runtime/approvals/opencode-*.json"],
|
|
102
104
|
localFiles: ["<bridge>/installed.json", "<bridge>/versions/**", "<bridge>/current", "<bridge>/dispatch", "<bridge>/askpass", "<bridge>/computer-id", "<bridge>/canary.json", "<bridge>/canary-daily"],
|
|
@@ -110,11 +112,11 @@ export const BUILTIN_MODULES = [
|
|
|
110
112
|
{ agents: ["codex"], events: ["PreToolUse", "PostToolUse"], handler: "bridge-hook.mjs hook codex" },
|
|
111
113
|
{ agents: ["claude"], events: ["PreToolUse", "PostToolUse"], handler: "claude-hook.mjs claude" },
|
|
112
114
|
],
|
|
113
|
-
hookRoutes: routes("POST", [
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
hookRoutes: [...routes("GET", ["/v1/git/status"]), ...routes("POST", [
|
|
116
|
+
"/v1/diff", "/v1/web-servers/session", "/v1/git/status", "/v1/git/log", "/v1/git/branches", "/v1/git/pulls",
|
|
117
|
+
"/v1/git/tree", "/v1/git/worktrees", "/v1/git/stage", "/v1/git/unstage", "/v1/git/discard",
|
|
118
|
+
"/v1/git/commit", "/v1/git/push", "/v1/git/pr",
|
|
119
|
+
])],
|
|
118
120
|
capabilities: ["git", "diff"], storeFiles: [], localFiles: ["<bridge>/changes/**", "<bridge>/changes-scratch/**"],
|
|
119
121
|
phoneScreens: [{ screen: "AgentChangesView", capability: "git" }], skills: [],
|
|
120
122
|
},
|
|
@@ -122,7 +124,7 @@ export const BUILTIN_MODULES = [
|
|
|
122
124
|
schemaVersion: 1, name: "schedules", version: VERSION, defaultEnabled: false, requires: ["memory"],
|
|
123
125
|
tools: [], cliCommands: ["schedule"], agentHooks: [],
|
|
124
126
|
hookRoutes: routes("POST", ["/v1/schedules", "/v1/schedules/run", "/v1/schedules/history"]),
|
|
125
|
-
capabilities: ["schedules"], storeFiles: ["<project>/schedules.yaml", ".runtime/agent-fanouts/<run-id>/**"],
|
|
127
|
+
capabilities: ["schedules", "scheduleProjects"], storeFiles: ["<project>/schedules.yaml", ".runtime/agent-fanouts/<run-id>/**"],
|
|
126
128
|
localFiles: ["<bridge>/schedule-runs.jsonl"],
|
|
127
129
|
phoneScreens: [{ screen: "SchedulesView", capability: "schedules" }], skills: [],
|
|
128
130
|
},
|
package/dist/phren-core.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* tools (React, Django, Unity, JUCE, Ansible, ...) are learned dynamically from
|
|
8
8
|
* each project's FINDINGS.md via extractDynamicEntities().
|
|
9
9
|
*/
|
|
10
|
-
export const UNIVERSAL_TECH_TERMS_RE = /\b(Python|Rust|Go|Java|TypeScript|JavaScript|Docker|Kubernetes|AWS|GCP|Azure|SQL|Git|React|Vue|Angular|Svelte|Next\.?js|Nuxt|Vite|esbuild|Webpack|Rollup|Babel|ESLint|Biome|Prettier|Jest|Vitest|Playwright|Cypress|Node\.?js|Deno|Bun|Express|Fastify|Hono|Koa|NestJS|Prisma|Drizzle|Sequelize|TypeORM|Postgres|PostgreSQL|MySQL|SQLite|MongoDB|Redis|Elasticsearch|GraphQL|REST|gRPC|tRPC|Zod|Pydantic|FastAPI|Django|Flask|Rails|Spring|Laravel|Tailwind|Bootstrap|MUI|Material|Fluent|Chakra|Radix|shadcn|SharePoint|SPFx|Teams|OneDrive|Power\s*Apps|
|
|
10
|
+
export const UNIVERSAL_TECH_TERMS_RE = /\b(Python|Rust|Go|Java|TypeScript|JavaScript|Docker|Kubernetes|AWS|GCP|Azure|SQL|Git|React|Vue|Angular|Svelte|Next\.?js|Nuxt|Vite|esbuild|Webpack|Rollup|Babel|ESLint|Biome|Prettier|Jest|Vitest|Playwright|Cypress|Node\.?js|Deno|Bun|Express|Fastify|Hono|Koa|NestJS|Prisma|Drizzle|Sequelize|TypeORM|Postgres|PostgreSQL|MySQL|SQLite|MongoDB|Redis|Elasticsearch|GraphQL|REST|gRPC|tRPC|Zod|Pydantic|FastAPI|Django|Flask|Rails|Spring|Laravel|Tailwind|Bootstrap|MUI|Material|Fluent|Chakra|Radix|shadcn|SharePoint|SPFx|Teams|OneDrive|Power\s*Apps|Hangfire|ASP\.?NET|MVC|Blazor|MAUI|Electron|VSCode|GitHub|GitLab|Bitbucket|Vercel|Netlify|Railway|Fly\.io|Cloudflare|Lambda|S3|EC2|RDS|DynamoDB|Stripe|Twilio|SendGrid|OpenAI|Anthropic|Claude|LLM|MCP|FTS5|SQLCipher|Sigma|ForceAtlas|Graphology|Playwright|Puppeteer|Selenium|Turbo|Turborepo|Lerna|nx|pnpm|yarn|npm|Bun)\b/gi;
|
|
11
11
|
/**
|
|
12
12
|
* Additional fragment patterns beyond CamelCase and acronyms.
|
|
13
13
|
* Each pattern has a named group so callers can identify the fragment type.
|
package/dist/phren-paths.d.ts
CHANGED
|
@@ -137,8 +137,8 @@ export declare function normalizeProjectNameForCreate(name: string): string;
|
|
|
137
137
|
export declare function projectSlugFromPath(sourcePath: string): string;
|
|
138
138
|
/**
|
|
139
139
|
* Collapse a project name to the key used for duplicate detection: lowercase
|
|
140
|
-
* with every separator removed. `
|
|
141
|
-
* `
|
|
140
|
+
* with every separator removed. `MyProject`, `myproject` and
|
|
141
|
+
* `my-project` all map to `myproject`, so the second spelling of a
|
|
142
142
|
* repo can be recognized as the project that already exists.
|
|
143
143
|
*/
|
|
144
144
|
export declare function canonicalProjectKey(name: string): string;
|
package/dist/phren-paths.js
CHANGED
|
@@ -488,8 +488,8 @@ export function projectSlugFromPath(sourcePath) {
|
|
|
488
488
|
}
|
|
489
489
|
/**
|
|
490
490
|
* Collapse a project name to the key used for duplicate detection: lowercase
|
|
491
|
-
* with every separator removed. `
|
|
492
|
-
* `
|
|
491
|
+
* with every separator removed. `MyProject`, `myproject` and
|
|
492
|
+
* `my-project` all map to `myproject`, so the second spelling of a
|
|
493
493
|
* repo can be recognized as the project that already exists.
|
|
494
494
|
*/
|
|
495
495
|
export function canonicalProjectKey(name) {
|
package/dist/store-routing.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ export interface ParsedProjectRef {
|
|
|
11
11
|
/**
|
|
12
12
|
* Parse a project reference that may be store-qualified.
|
|
13
13
|
*
|
|
14
|
-
* "
|
|
15
|
-
* "
|
|
14
|
+
* "forge" → { projectName: "forge" }
|
|
15
|
+
* "forge-team/forge" → { storeName: "forge-team", projectName: "forge" }
|
|
16
16
|
*/
|
|
17
17
|
export declare function parseStoreQualified(input: string): ParsedProjectRef;
|
|
18
18
|
/**
|
package/dist/store-routing.js
CHANGED
|
@@ -8,8 +8,8 @@ import { resolveAllStores } from "./store-registry.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Parse a project reference that may be store-qualified.
|
|
10
10
|
*
|
|
11
|
-
* "
|
|
12
|
-
* "
|
|
11
|
+
* "forge" → { projectName: "forge" }
|
|
12
|
+
* "forge-team/forge" → { storeName: "forge-team", projectName: "forge" }
|
|
13
13
|
*/
|
|
14
14
|
export function parseStoreQualified(input) {
|
|
15
15
|
const trimmed = input.trim();
|
package/dist/sync/git-state.d.ts
CHANGED
|
@@ -2,3 +2,16 @@ export type GitOperation = "rebase" | "merge" | "cherry-pick" | "revert" | "sequ
|
|
|
2
2
|
/** Detect user-owned Git state without running a command that could alter it. */
|
|
3
3
|
export declare function inProgressGitOperation(store: string): GitOperation | undefined;
|
|
4
4
|
export declare function gitOperationRecovery(operation: GitOperation): string;
|
|
5
|
+
/**
|
|
6
|
+
* Why an automatic store commit must not happen now. `git add -A` during an
|
|
7
|
+
* unfinished merge marks every conflicted file resolved, markers and all, and
|
|
8
|
+
* the next commit concludes the merge with them: that is how a
|
|
9
|
+
* phren.project.yaml with `<<<<<<< HEAD` reached a store. Check before
|
|
10
|
+
* staging for the in-progress operation, and after staging for added marker
|
|
11
|
+
* pairs (a lone `=======` is a Markdown heading underline, so it needs both
|
|
12
|
+
* ends).
|
|
13
|
+
*/
|
|
14
|
+
export declare function storeAutoCommitBlocker(store: string, stagedDiff?: () => Promise<{
|
|
15
|
+
ok: boolean;
|
|
16
|
+
output?: string;
|
|
17
|
+
}>): Promise<string | undefined>;
|
package/dist/sync/git-state.js
CHANGED
|
@@ -47,3 +47,25 @@ export function gitOperationRecovery(operation) {
|
|
|
47
47
|
return "git revert --abort";
|
|
48
48
|
return "git status";
|
|
49
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Why an automatic store commit must not happen now. `git add -A` during an
|
|
52
|
+
* unfinished merge marks every conflicted file resolved, markers and all, and
|
|
53
|
+
* the next commit concludes the merge with them: that is how a
|
|
54
|
+
* phren.project.yaml with `<<<<<<< HEAD` reached a store. Check before
|
|
55
|
+
* staging for the in-progress operation, and after staging for added marker
|
|
56
|
+
* pairs (a lone `=======` is a Markdown heading underline, so it needs both
|
|
57
|
+
* ends).
|
|
58
|
+
*/
|
|
59
|
+
export async function storeAutoCommitBlocker(store, stagedDiff) {
|
|
60
|
+
const operation = inProgressGitOperation(store);
|
|
61
|
+
if (operation) {
|
|
62
|
+
return `The store has a Git ${operation} in progress, so nothing was committed. Run '${gitOperationRecovery(operation)}' in the store, or finish it by hand.`;
|
|
63
|
+
}
|
|
64
|
+
if (!stagedDiff)
|
|
65
|
+
return undefined;
|
|
66
|
+
const diff = await stagedDiff();
|
|
67
|
+
if (diff.ok && diff.output && /^\+<{7}(?: |$)/m.test(diff.output) && /^\+>{7}(?: |$)/m.test(diff.output)) {
|
|
68
|
+
return "Staged store changes contain merge conflict markers, so nothing was committed. Resolve them in the store first.";
|
|
69
|
+
}
|
|
70
|
+
return undefined;
|
|
71
|
+
}
|
|
@@ -19,6 +19,8 @@ export interface StoreMergeOptions {
|
|
|
19
19
|
commitLocalWrites?: boolean;
|
|
20
20
|
commitMessage?: string;
|
|
21
21
|
}
|
|
22
|
+
/** The staged diff, added lines only, for `storeAutoCommitBlocker`. */
|
|
23
|
+
export declare const STAGED_DIFF: string[];
|
|
22
24
|
/**
|
|
23
25
|
* Fetch and integrate a store's configured upstream without rebasing local
|
|
24
26
|
* commits. Conflicts in tasks.md (per task id against the merge base), the
|
package/dist/sync/store-merge.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { resolveStoreConflicts } from "./conflict-resolve.js";
|
|
2
|
-
import { gitOperationRecovery, inProgressGitOperation } from "./git-state.js";
|
|
2
|
+
import { gitOperationRecovery, inProgressGitOperation, storeAutoCommitBlocker } from "./git-state.js";
|
|
3
3
|
import { storeCommitMessage } from "../machine-identity.js";
|
|
4
|
+
/** The staged diff, added lines only, for `storeAutoCommitBlocker`. */
|
|
5
|
+
export const STAGED_DIFF = ["diff", "--cached", "--no-color", "--no-ext-diff", "-U0"];
|
|
4
6
|
const SENSITIVE_STORE_PATHSPECS = [".env", "**/.env", "*.pem", "*.key", ".config/auth-profiles.json"];
|
|
5
7
|
async function commitLocalStoreWrites(cwd, git, message) {
|
|
6
8
|
const add = await git(cwd, ["add", "--sparse", "-A"]);
|
|
@@ -12,6 +14,9 @@ async function commitLocalStoreWrites(cwd, git, message) {
|
|
|
12
14
|
return { committed: false, error: staged.error || "git diff failed" };
|
|
13
15
|
if (!staged.output)
|
|
14
16
|
return { committed: false };
|
|
17
|
+
const blocked = await storeAutoCommitBlocker(cwd, () => git(cwd, STAGED_DIFF));
|
|
18
|
+
if (blocked)
|
|
19
|
+
return { committed: false, error: blocked };
|
|
15
20
|
const commit = await git(cwd, ["-c", "commit.gpgsign=false", "commit", "-m", storeCommitMessage(message)]);
|
|
16
21
|
return commit.ok ? { committed: true } : { committed: false, error: commit.error || "git commit failed" };
|
|
17
22
|
}
|
|
@@ -17,6 +17,7 @@ import * as os from "os";
|
|
|
17
17
|
import * as path from "path";
|
|
18
18
|
import { fileURLToPath } from "url";
|
|
19
19
|
import { removeSandboxHome } from "./test-sandbox.js";
|
|
20
|
+
import { sweepTestServers } from "./bridge/tmux-test-server.js";
|
|
20
21
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
22
|
const __dirname = path.dirname(__filename);
|
|
22
23
|
const REPO_ROOT = path.resolve(__dirname, "../../..");
|
|
@@ -59,9 +60,15 @@ function sandboxHomeDir() {
|
|
|
59
60
|
export async function teardown() {
|
|
60
61
|
if (sandboxHome)
|
|
61
62
|
removeSandboxHome(sandboxHome);
|
|
63
|
+
// Workers are gone now: any tmux test server still up was leaked by one.
|
|
64
|
+
if (process.platform !== "win32")
|
|
65
|
+
sweepTestServers();
|
|
62
66
|
}
|
|
63
67
|
export async function setup() {
|
|
64
68
|
sandboxHomeDir();
|
|
69
|
+
// Private tmux servers and sockets earlier, killed runs left behind.
|
|
70
|
+
if (process.platform !== "win32")
|
|
71
|
+
sweepTestServers();
|
|
65
72
|
if (fs.existsSync(CLI_PATH)) {
|
|
66
73
|
// Dist already present — skip build. This is the common path when
|
|
67
74
|
// `npm test` is used (pretest already built it) or during watch mode
|
package/dist/tools/data.js
CHANGED
|
@@ -37,7 +37,7 @@ export function register(server, ctx) {
|
|
|
37
37
|
project: z.string().describe("Project name to export."),
|
|
38
38
|
}),
|
|
39
39
|
}, async ({ project: projectInput }) => {
|
|
40
|
-
// Resolve store-qualified project names (e.g. "
|
|
40
|
+
// Resolve store-qualified project names (e.g. "team-shared/web")
|
|
41
41
|
let resolvedPhrenPath;
|
|
42
42
|
let project;
|
|
43
43
|
try {
|
package/dist/tools/finding.js
CHANGED
|
@@ -126,7 +126,7 @@ async function handleAddFinding(ctx, params) {
|
|
|
126
126
|
const citation = params.citation
|
|
127
127
|
? { ...citationRest, ...(citedName ?? citationRest.symbol ? { symbol: citedName ?? citationRest.symbol } : {}) }
|
|
128
128
|
: undefined;
|
|
129
|
-
// Resolve store-qualified project names (e.g., "team/
|
|
129
|
+
// Resolve store-qualified project names (e.g., "team/forge" → store path + "forge")
|
|
130
130
|
let phrenPath;
|
|
131
131
|
let project;
|
|
132
132
|
try {
|
package/dist/tools/search.js
CHANGED
|
@@ -490,7 +490,7 @@ async function handleSearchKnowledge(ctx, { query, limit, project, type, tag, si
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
async function handleGetProjectSummary(ctx, { name }) {
|
|
493
|
-
// Support store-qualified names (e.g., "team/
|
|
493
|
+
// Support store-qualified names (e.g., "team/forge")
|
|
494
494
|
const { parseStoreQualified } = await import("../store-routing.js");
|
|
495
495
|
const { storeName, projectName } = parseStoreQualified(name);
|
|
496
496
|
const lookupName = projectName;
|
package/dist/tools/tasks.js
CHANGED
|
@@ -228,7 +228,7 @@ export function register(server, ctx) {
|
|
|
228
228
|
scope: z.string().optional().describe("Optional memory scope label. Defaults to 'shared'. Example: 'researcher' or 'builder'."),
|
|
229
229
|
}),
|
|
230
230
|
}, async ({ project: projectInput, item, scope }) => {
|
|
231
|
-
// Resolve store-qualified project names (e.g., "team/
|
|
231
|
+
// Resolve store-qualified project names (e.g., "team/forge")
|
|
232
232
|
let targetPhrenPath;
|
|
233
233
|
let project;
|
|
234
234
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phren/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.32",
|
|
4
4
|
"description": "Knowledge layer for AI agents - CLI, MCP server, and data layer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -149,18 +149,18 @@
|
|
|
149
149
|
"preuninstall": "node scripts/preuninstall.mjs"
|
|
150
150
|
},
|
|
151
151
|
"dependencies": {
|
|
152
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
153
|
-
"chalk": "^6.0.
|
|
152
|
+
"@modelcontextprotocol/sdk": "^1.32.0",
|
|
153
|
+
"chalk": "^6.0.1",
|
|
154
154
|
"glob": "^13.0.6",
|
|
155
|
-
"inquirer": "^14.2.
|
|
155
|
+
"inquirer": "^14.2.3",
|
|
156
156
|
"js-yaml": "^5.4.2",
|
|
157
157
|
"sql.js-fts5": "^1.4.0",
|
|
158
158
|
"uqr": "0.1.3",
|
|
159
|
-
"ws": "8.
|
|
159
|
+
"ws": "8.22.0",
|
|
160
160
|
"zod": "^4.6.5"
|
|
161
161
|
},
|
|
162
162
|
"engines": {
|
|
163
|
-
"node": ">=
|
|
163
|
+
"node": ">=22.19.0"
|
|
164
164
|
},
|
|
165
165
|
"keywords": [
|
|
166
166
|
"claude",
|
|
@@ -177,9 +177,9 @@
|
|
|
177
177
|
"directory": "packages/cli"
|
|
178
178
|
},
|
|
179
179
|
"devDependencies": {
|
|
180
|
-
"3d-force-graph": "^1.80.
|
|
180
|
+
"3d-force-graph": "^1.80.1",
|
|
181
181
|
"@phren/code": "workspace:*",
|
|
182
|
-
"@types/ws": "8.18.
|
|
182
|
+
"@types/ws": "8.18.2",
|
|
183
183
|
"three": "^0.186.1"
|
|
184
184
|
},
|
|
185
185
|
"publishConfig": {
|
|
@@ -79,7 +79,7 @@ conversational.
|
|
|
79
79
|
twenty minutes", not "ETA ~20m".
|
|
80
80
|
|
|
81
81
|
```text
|
|
82
|
-
|
|
82
|
+
Devbox has the parser checks on Codex, back around two twenty.
|
|
83
83
|
Desk finished the navigation checks: tests passed, not merged yet.
|
|
84
84
|
```
|
|
85
85
|
|
|
@@ -187,7 +187,7 @@ is retained as `live:false` until resolved; a resolved source stays resolved.
|
|
|
187
187
|
|
|
188
188
|
`accepted` on a receipt is prompt acceptance, not worker completion. Returns
|
|
189
189
|
arrive on their own: the Hook follows every worker you dispatch, and when you
|
|
190
|
-
are idle it types one line into this session, such as `Return:
|
|
190
|
+
are idle it types one line into this session, such as `Return: Devbox parser
|
|
191
191
|
checks done, tests passed (dispatch <id>). Call dispatch_returns.` When you see
|
|
192
192
|
one, call `dispatch_returns` and report each return in one short line. You may
|
|
193
193
|
also call it whenever you want the current state; do not poll it in a loop, and
|