@acryldev/harness-runtime 0.0.0-stage → 0.2.11
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/LICENSE +49 -0
- package/lib/index.mjs +5693 -0
- package/lib/index.mjs.map +1 -0
- package/lib/types/acryl-home.d.ts +81 -0
- package/lib/types/app/new-app.d.ts +65 -0
- package/lib/types/app/start-source.d.ts +47 -0
- package/lib/types/blueprint/blueprint.d.ts +74 -0
- package/lib/types/blueprint/brand-identity.d.ts +26 -0
- package/lib/types/blueprint/compose.d.ts +53 -0
- package/lib/types/blueprint/definition.d.ts +22 -0
- package/lib/types/blueprint/index.d.ts +7 -0
- package/lib/types/blueprint/manifest.d.ts +35 -0
- package/lib/types/blueprint/selection.d.ts +19 -0
- package/lib/types/cli-market-install.d.ts +97 -0
- package/lib/types/cli-market-plugins.d.ts +81 -0
- package/lib/types/coding-capabilities.d.ts +29 -0
- package/lib/types/durable-message.d.ts +18 -0
- package/lib/types/engine-dsh.d.ts +181 -0
- package/lib/types/engine-files.d.ts +8 -0
- package/lib/types/engine-host.d.ts +32 -0
- package/lib/types/engine-tools.d.ts +11 -0
- package/lib/types/index.d.ts +67 -0
- package/lib/types/instance/announce-self.d.ts +38 -0
- package/lib/types/instance/app-instance.d.ts +125 -0
- package/lib/types/instance/index.d.ts +6 -0
- package/lib/types/instance/offline-lock.d.ts +29 -0
- package/lib/types/instance/online-secret.d.ts +29 -0
- package/lib/types/instance/registry.d.ts +26 -0
- package/lib/types/instance/select.d.ts +43 -0
- package/lib/types/module-hooks.d.ts +19 -0
- package/lib/types/module-resolution.d.ts +31 -0
- package/lib/types/package-overlay.d.ts +41 -0
- package/lib/types/pinned-pnpm.d.ts +15 -0
- package/lib/types/plugin-acryl-workspace-status.d.ts +24 -0
- package/lib/types/plugin-doctor.d.ts +49 -0
- package/lib/types/plugin-lifecycle-state.d.ts +92 -0
- package/lib/types/plugin-lifecycle.d.ts +87 -0
- package/lib/types/profile-layout.d.ts +17 -0
- package/lib/types/profile-owner.d.ts +25 -0
- package/lib/types/profile-repair/backup.d.ts +37 -0
- package/lib/types/profile-repair/findings.d.ts +29 -0
- package/lib/types/profile-repair/index.d.ts +9 -0
- package/lib/types/profile-repair/inspector.d.ts +11 -0
- package/lib/types/profile-repair/repair.d.ts +38 -0
- package/lib/types/profile-resolution/moved-framework.d.ts +21 -0
- package/lib/types/profile-resolution/resolver.d.ts +41 -0
- package/lib/types/profile-resolution/service.d.ts +22 -0
- package/lib/types/prompt-budget.d.ts +44 -0
- package/lib/types/session-bridge.d.ts +57 -0
- package/lib/types/session-log-exporter.d.ts +31 -0
- package/lib/types/system-prompt-capture.d.ts +29 -0
- package/lib/types/web-favicon-data.d.ts +5 -0
- package/lib/types/web-favicon.d.ts +23 -0
- package/lib/types/web-market-install.d.ts +114 -0
- package/lib/types/web-market-plugins.d.ts +106 -0
- package/lib/types/web-port.d.ts +15 -0
- package/package.json +211 -3
- package/src/acryl-home.ts +103 -0
- package/src/app/new-app.ts +239 -0
- package/src/app/start-source.ts +110 -0
- package/src/blueprint/blueprint.ts +141 -0
- package/src/blueprint/brand-identity.ts +75 -0
- package/src/blueprint/compose.ts +222 -0
- package/src/blueprint/definition.ts +92 -0
- package/src/blueprint/index.ts +20 -0
- package/src/blueprint/manifest.ts +145 -0
- package/src/blueprint/selection.ts +74 -0
- package/src/cli-market-install.ts +181 -0
- package/src/cli-market-plugins.ts +176 -0
- package/src/coding-capabilities.ts +61 -0
- package/src/durable-message.ts +23 -0
- package/src/engine-dsh.ts +856 -0
- package/src/engine-files.ts +9 -0
- package/src/engine-host.ts +128 -0
- package/src/engine-tools.ts +26 -0
- package/src/index.ts +436 -0
- package/src/instance/announce-self.ts +88 -0
- package/src/instance/app-instance.ts +240 -0
- package/src/instance/index.ts +45 -0
- package/src/instance/offline-lock.ts +71 -0
- package/src/instance/online-secret.ts +55 -0
- package/src/instance/registry.ts +53 -0
- package/src/instance/select.ts +134 -0
- package/src/module-hooks.ts +41 -0
- package/src/module-resolution.ts +187 -0
- package/src/package-overlay.ts +160 -0
- package/src/pinned-pnpm.ts +67 -0
- package/src/plugin-acryl-workspace-status.ts +99 -0
- package/src/plugin-doctor.ts +141 -0
- package/src/plugin-lifecycle-state.ts +347 -0
- package/src/plugin-lifecycle.ts +223 -0
- package/src/profile-layout.ts +97 -0
- package/src/profile-owner.ts +52 -0
- package/src/profile-repair/backup.ts +119 -0
- package/src/profile-repair/findings.ts +43 -0
- package/src/profile-repair/index.ts +10 -0
- package/src/profile-repair/inspector.ts +156 -0
- package/src/profile-repair/repair.ts +137 -0
- package/src/profile-resolution/moved-framework.ts +64 -0
- package/src/profile-resolution/resolver.ts +876 -0
- package/src/profile-resolution/service.ts +99 -0
- package/src/prompt-budget.ts +118 -0
- package/src/session-bridge.ts +350 -0
- package/src/session-log-exporter.ts +68 -0
- package/src/system-prompt-capture.ts +99 -0
- package/src/web-favicon-data.ts +6 -0
- package/src/web-favicon.ts +43 -0
- package/src/web-market-install.ts +206 -0
- package/src/web-market-plugins.ts +215 -0
- package/src/web-port.ts +39 -0
- package/tests/account-callback.spec.ts +173 -0
- package/tests/acryl-home.spec.ts +39 -0
- package/tests/agent-self-hosting.spec.ts +101 -0
- package/tests/announce-self.spec.ts +84 -0
- package/tests/app-lifecycle.spec.ts +99 -0
- package/tests/blank-blueprint.spec.ts +110 -0
- package/tests/blueprint-definition.spec.ts +128 -0
- package/tests/blueprint.spec.ts +138 -0
- package/tests/bulkhead.spec.ts +187 -0
- package/tests/coding-vocabulary.spec.ts +15 -0
- package/tests/dump-system-prompt.spec.ts +65 -0
- package/tests/e2e-real-model.spec.ts +71 -0
- package/tests/e2e-restart-real-model.spec.ts +77 -0
- package/tests/engine-dsh.spec.ts +340 -0
- package/tests/engine-host-mount-root-include.spec.ts +118 -0
- package/tests/engine-host.spec.ts +176 -0
- package/tests/engine-optional.spec.ts +81 -0
- package/tests/extension-examples.spec.ts +261 -0
- package/tests/hooks-thread-stack.ts +27 -0
- package/tests/instance-patches.spec.ts +25 -0
- package/tests/instance.spec.ts +235 -0
- package/tests/live/community-plugins.spec.ts +83 -0
- package/tests/module-hooks.spec.ts +35 -0
- package/tests/module-resolution.spec.ts +265 -0
- package/tests/moved-framework.spec.ts +61 -0
- package/tests/new-app.spec.ts +132 -0
- package/tests/organizer-growth.spec.ts +117 -0
- package/tests/pinned-pnpm.spec.ts +34 -0
- package/tests/plugin-acryl-workspace-status.spec.ts +63 -0
- package/tests/plugin-context.spec.ts +640 -0
- package/tests/plugin-doctor.spec.ts +183 -0
- package/tests/plugin-enablement-one-store.spec.ts +130 -0
- package/tests/plugin-lifecycle-state.spec.ts +169 -0
- package/tests/profile-layout.spec.ts +58 -0
- package/tests/profile-owner.spec.ts +38 -0
- package/tests/profile-repair/profile-repair.spec.ts +231 -0
- package/tests/profile-resolution-port.spec.ts +30 -0
- package/tests/profile-resolution-service.spec.ts +273 -0
- package/tests/profile-resolution-swap.spec.ts +69 -0
- package/tests/profile-resolution.spec.ts +2535 -0
- package/tests/profile.spec.ts +70 -0
- package/tests/project-registry.spec.ts +81 -0
- package/tests/prompt-budget.spec.ts +58 -0
- package/tests/real-home-guard.spec.ts +178 -0
- package/tests/session-bridge.spec.ts +316 -0
- package/tests/start-source.spec.ts +65 -0
- package/tests/system-prompt-shape.spec.ts +95 -0
- package/tests/three-levels.spec.ts +84 -0
- package/tests/tool-gateway.spec.ts +116 -0
- package/tests/tool-schemas.spec.ts +41 -0
- package/tests/web-favicon.spec.ts +42 -0
- package/tests/web-port.spec.ts +38 -0
- package/tests/web-startup-hold.spec.ts +79 -0
- package/tsconfig.json +24 -0
- package/tsdown.config.ts +2 -0
- package/vitest.config.ts +18 -0
- package/README.md +0 -3
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Capture and render the system prompt and tool list the model actually receives on the first turn of a new session. Development aid
|
|
3
|
+
* behind `docs/system-prompt/current/*.md`: it drives one real session on a composed runtime with a dummy provider key, so the request
|
|
4
|
+
* fails after the loop has already logged the assembled system message and the request header, which is all this reads. No model is
|
|
5
|
+
* called successfully.
|
|
6
|
+
*/
|
|
7
|
+
import { mkdtempSync, realpathSync, rmSync } from 'node:fs'
|
|
8
|
+
import { tmpdir } from 'node:os'
|
|
9
|
+
import { join } from 'node:path'
|
|
10
|
+
import type { Context } from '@deepseek-ai/cordis'
|
|
11
|
+
import { SessionId } from '@deepseek-ai/dsh-session'
|
|
12
|
+
import { createAcrylSessionBridge } from './session-bridge.ts'
|
|
13
|
+
|
|
14
|
+
export interface CapturedSystemPrompt {
|
|
15
|
+
/** The assembled system prompt text. */
|
|
16
|
+
system: string
|
|
17
|
+
/** The tool definitions sent after it. */
|
|
18
|
+
tools: Array<{ name: string; description: string; /** The whole definition as sent (schema included). */ definition: Record<string, unknown> }>
|
|
19
|
+
/** `provider/model` of the request. */
|
|
20
|
+
model: string
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface CaptureSystemPromptOptions {
|
|
24
|
+
/** Bridge profile name for the composed runtime (`web`, `desktop`, or the CLI profile). */
|
|
25
|
+
profile: string
|
|
26
|
+
/** Select the `standard` agent preset first, as the browser client does for a new session. */
|
|
27
|
+
selectStandardPreset: boolean
|
|
28
|
+
/** Paths to replace with a placeholder, longest first. */
|
|
29
|
+
scrub?: Array<[string, string]>
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Run one session on `ctx` and return what the model would receive.
|
|
34
|
+
* @param ctx - a composed runtime root (web, desktop or CLI engine).
|
|
35
|
+
* @param options - profile name, preset selection and path scrubbing.
|
|
36
|
+
*/
|
|
37
|
+
export async function captureSystemPrompt(ctx: Context, options: CaptureSystemPromptOptions): Promise<CapturedSystemPrompt> {
|
|
38
|
+
const workspace = realpathSync(mkdtempSync(join(tmpdir(), 'acryl-prompt-ws-')))
|
|
39
|
+
const bridge = createAcrylSessionBridge(ctx, { profile: options.profile, generationId: 'prompt-capture', attachment: 'owner', cwd: workspace })
|
|
40
|
+
const captured: CapturedSystemPrompt = { system: '', tools: [], model: '' }
|
|
41
|
+
try {
|
|
42
|
+
const sessionId = await bridge.open()
|
|
43
|
+
await bridge.selectModel({ sessionId, provider: 'deepseek-official', model: 'deepseek-v4-flash' })
|
|
44
|
+
if (options.selectStandardPreset) {
|
|
45
|
+
const presets = ctx.get('agentPresets' as never) as unknown as { select(agent: unknown, id: string): Promise<string> }
|
|
46
|
+
const agent = (ctx as unknown as { agents: { get(id: unknown): unknown } }).agents.get(SessionId(sessionId))
|
|
47
|
+
await presets.select(agent, 'standard')
|
|
48
|
+
}
|
|
49
|
+
let ended: () => void = () => {}
|
|
50
|
+
const done = new Promise<void>(resolve => { ended = resolve })
|
|
51
|
+
await bridge.subscribeEvents(sessionId, event => {
|
|
52
|
+
const { type, data } = event as { type: string; data?: Record<string, unknown> }
|
|
53
|
+
if (type === 'system/message' && captured.system === '') {
|
|
54
|
+
const content = (data?.message as { content?: Array<{ text?: string }> } | undefined)?.content ?? []
|
|
55
|
+
captured.system = content.map(block => block.text ?? '').join('')
|
|
56
|
+
}
|
|
57
|
+
if (type === 'request/header' && captured.tools.length === 0) {
|
|
58
|
+
const header = data?.header as { tools?: Array<{ name: string; description: string } & Record<string, unknown>>; config?: { provider?: string; model?: string } } | undefined
|
|
59
|
+
captured.tools = (header?.tools ?? []).map(tool => ({ name: tool.name, description: tool.description, definition: tool }))
|
|
60
|
+
captured.model = `${header?.config?.provider ?? ''}/${header?.config?.model ?? ''}`
|
|
61
|
+
}
|
|
62
|
+
if (type === 'turn/end') ended()
|
|
63
|
+
})
|
|
64
|
+
await bridge.submitPrompt({ sessionId, text: 'hello' })
|
|
65
|
+
await Promise.race([done, new Promise(resolve => setTimeout(resolve, 60_000))])
|
|
66
|
+
} finally {
|
|
67
|
+
await bridge.dispose()
|
|
68
|
+
rmSync(workspace, { recursive: true, force: true })
|
|
69
|
+
}
|
|
70
|
+
const replacements: Array<[string, string]> = [[workspace, '<workspace>'], ...(options.scrub ?? [])]
|
|
71
|
+
const scrub = (text: string): string => replacements.reduce((acc, [from, to]) => (from === '' ? acc : acc.replaceAll(from, to)), text)
|
|
72
|
+
return { system: scrub(captured.system), tools: captured.tools.map(tool => ({ name: tool.name, description: scrub(tool.description), definition: JSON.parse(scrub(JSON.stringify(tool.definition))) as Record<string, unknown> })), model: captured.model }
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** Markdown for one surface's captured prompt. */
|
|
76
|
+
export function renderSystemPromptDoc(surface: string, description: string, captured: CapturedSystemPrompt): string {
|
|
77
|
+
const stamp = new Date().toISOString().slice(0, 10)
|
|
78
|
+
return [
|
|
79
|
+
`# Current system prompt: ${surface}`,
|
|
80
|
+
'',
|
|
81
|
+
`<!-- Generated on ${stamp} by the system-prompt capture (see ../README.md). Do not edit; regenerate. -->`,
|
|
82
|
+
'',
|
|
83
|
+
`What the model receives on the first turn of a new session on the ${surface} surface (${description}), after path scrubbing.`,
|
|
84
|
+
'Temporary paths are shown as `<workspace>`, `<dsh-home>` and `<acryl-repo>`. The tool list follows the system prompt.',
|
|
85
|
+
'',
|
|
86
|
+
'## System prompt',
|
|
87
|
+
'',
|
|
88
|
+
'```text',
|
|
89
|
+
captured.system.trimEnd(),
|
|
90
|
+
'```',
|
|
91
|
+
'',
|
|
92
|
+
`## Tools (${captured.tools.length})`,
|
|
93
|
+
'',
|
|
94
|
+
'| Tool | Description (first line) |',
|
|
95
|
+
'| --- | --- |',
|
|
96
|
+
...captured.tools.map(tool => `| \`${tool.name}\` | ${tool.description.split('\n')[0]?.replaceAll('|', '\\|').slice(0, 160) ?? ''} |`),
|
|
97
|
+
'',
|
|
98
|
+
].join('\n')
|
|
99
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Generated by scripts/generate-web-favicon.mjs from assets/brand/favicon/ (smooth, black on white). Do not edit. */
|
|
2
|
+
|
|
3
|
+
export const FAVICON_ICO_BASE64 = 'AAABAAMAMDAAAAEAIACoJQAANg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SrqXiTdQPhkvXT6IV7BdS0T0pXw2brpQlG8ouvKAvBcBGQtAJSHoNCKeHKwMLHDFqgVJA5f9ERRXgBxwb7EoUnW+8xeGI/JNZ2YvBhMxEENdUZIjAFNIzX0VFwUJoLYlIiao4ZCZ8UJ59aEgCgFQs3BBgATADRCBIzXufoAmK0HMuLCMSHbU56VuANIjUTS/gJgKID/ANgaAlIVCJSDrYm6H1JVqoGoW14i/1h/ABMT2W6Y03dl4ksC+nmM6DW4XYm6Yx2yLlmnrNtrE3WdSs8VhP0PzYWN64PVzZ4AAAAASUVORK5CYII='
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ACRYL tab icons for the Web surface: the smooth black-on-white logo in the sizes browsers ask for
|
|
3
|
+
* (ICO, 16, 32 and the Apple touch icon), inlined as data URLs so serving them needs no route and no file
|
|
4
|
+
* next to the bundle. Sources live in `assets/brand/favicon/`; `scripts/generate-web-favicon.mjs` regenerates the data.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { APPLE_TOUCH_ICON_BASE64, FAVICON_16_BASE64, FAVICON_32_BASE64, FAVICON_ICO_BASE64 } from './web-favicon-data.ts'
|
|
8
|
+
|
|
9
|
+
/** The `<link>` tags that replace the pinned frontend's DeepSeek icon links. */
|
|
10
|
+
export const WEB_FAVICON_LINKS = [
|
|
11
|
+
`<link rel="icon" href="data:image/x-icon;base64,${FAVICON_ICO_BASE64}" sizes="any">`,
|
|
12
|
+
`<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,${FAVICON_32_BASE64}">`,
|
|
13
|
+
`<link rel="icon" type="image/png" sizes="16x16" href="data:image/png;base64,${FAVICON_16_BASE64}">`,
|
|
14
|
+
`<link rel="apple-touch-icon" sizes="180x180" href="data:image/png;base64,${APPLE_TOUCH_ICON_BASE64}">`,
|
|
15
|
+
].join('')
|
|
16
|
+
|
|
17
|
+
const ICON_LINK = /<link\b[^>]*\brel=["'](?:shortcut icon|icon|apple-touch-icon)["'][^>]*>\s*/gi
|
|
18
|
+
|
|
19
|
+
/** @param html - the served index; drops any existing icon links, then adds ACRYL's before `</head>`. */
|
|
20
|
+
export function applyWebFavicon(html: string): string {
|
|
21
|
+
return html.replace(ICON_LINK, '').replace(/<\/head>/i, `${WEB_FAVICON_LINKS}</head>`)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const escapeHtml = (text: string): string => text.replace(/[&<>"']/gu, character => `&#${String(character.charCodeAt(0))};`)
|
|
25
|
+
|
|
26
|
+
/** What the served page needs to know about its brand. */
|
|
27
|
+
export interface WebIndexBrand {
|
|
28
|
+
/** The product name the page title carries; `ACRYL` when absent. */
|
|
29
|
+
readonly productName?: string
|
|
30
|
+
/** The stock ACRYL brand (not a Blueprint's own): it wears the ACRYL icon. A custom brand ships its own icon (@acryldev/brand). */
|
|
31
|
+
readonly stockBrand?: boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @param html - the served index of the pinned frontend.
|
|
36
|
+
* @param brand - whose page this is.
|
|
37
|
+
* @returns the index with the brand's title, and for the stock ACRYL brand the ACRYL icon in place of DeepSeek's. A composition that names neither
|
|
38
|
+
* a product nor a brand kind is the stock one.
|
|
39
|
+
*/
|
|
40
|
+
export function brandWebIndex(html: string, brand: WebIndexBrand): string {
|
|
41
|
+
const titled = html.replace(/<title>[^<]*<\/title>/i, () => `<title>${escapeHtml(brand.productName ?? 'ACRYL')}</title>`)
|
|
42
|
+
return brand.stockBrand === true || (brand.productName === undefined && brand.stockBrand === undefined) ? applyWebFavicon(titled) : titled
|
|
43
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web's own `desktopProfiles`/`desktopPnpm` capabilities (spec 034 T006,
|
|
3
|
+
* scoped v1) - what `@acryldev/cordis-plugin-market`'s install service needs to make
|
|
4
|
+
* its Installed-tab Install/Uninstall buttons do a real package operation on
|
|
5
|
+
* Web, instead of the "ACRYL is required" gate it shows without them.
|
|
6
|
+
*
|
|
7
|
+
* Deliberately NOT a port of Desktop's own `pnpm.ts`/`install-recovery.ts`
|
|
8
|
+
* (1,500+ lines together): that size is almost entirely a crash-recovery
|
|
9
|
+
* write-ahead-log built around Electron's own generation-restart cycle - if
|
|
10
|
+
* the whole app crashes mid-install, the WAL lets the next launch detect and
|
|
11
|
+
* roll back a half-finished operation. Web has no equivalent "the whole
|
|
12
|
+
* process restarts and we verify it came back healthy" cycle to protect
|
|
13
|
+
* against: a `dsh plugin add` child process either finishes within this one
|
|
14
|
+
* request or it doesn't, with no separate "recovered after restart" state to
|
|
15
|
+
* track. So this file's own `recoveredInstallReceiptIds`/
|
|
16
|
+
* `acknowledgeRecoveredInstall`/`rollbackPluginInstall`/
|
|
17
|
+
* `acknowledgeLiveInstall` are trivial - there is no WAL for them to manage.
|
|
18
|
+
*
|
|
19
|
+
* Also deliberately does NOT attempt `livePluginActivation` (activating a
|
|
20
|
+
* freshly-installed row without a process restart) - `specs/032-universal-
|
|
21
|
+
* hot-reload` documents real, hard-to-diagnose crashes from an earlier
|
|
22
|
+
* attempt at exactly that class of live-Loader-mutation-plus-client-reload
|
|
23
|
+
* change on Desktop. The market's own install flow already degrades
|
|
24
|
+
* gracefully without it (a restart prompt), so v1 leans on that rather than
|
|
25
|
+
* re-attempting a proven-risky mechanism under time pressure.
|
|
26
|
+
*
|
|
27
|
+
* The install mechanics themselves reuse `dsh plugin --profile web add/
|
|
28
|
+
* remove`, the exact same CLI path a human operator already uses - not a
|
|
29
|
+
* reimplementation of pnpm invocation and `dsh.profile.bundles`
|
|
30
|
+
* reconciliation from scratch (which Desktop's own version needs only
|
|
31
|
+
* because Electron's packaged `dsh` CLI hard-rejects `--profile desktop`;
|
|
32
|
+
* confirmed directly that `--profile web` has no such restriction).
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
import { spawn } from 'node:child_process'
|
|
36
|
+
import { createRequire } from 'node:module'
|
|
37
|
+
import { dirname, join } from 'node:path'
|
|
38
|
+
import { PassThrough, Readable } from 'node:stream'
|
|
39
|
+
import { type Context, Service } from '@deepseek-ai/cordis'
|
|
40
|
+
import { pinnedPnpmEnv } from './pinned-pnpm.ts'
|
|
41
|
+
import { reconcileProfileLayout, type PnpmProfileConfig } from './profile-layout.ts'
|
|
42
|
+
|
|
43
|
+
/** Matches `@acryldev/cordis-plugin-market`'s own `MarketDesktopProfile` shape (`src/install/service.ts`). */
|
|
44
|
+
export interface WebMarketProfile {
|
|
45
|
+
readonly name: string
|
|
46
|
+
readonly dir: string
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** Matches `@acryldev/cordis-plugin-market`'s own `MarketDesktopPnpmOutcome` shape. */
|
|
50
|
+
export interface WebMarketPnpmOutcome {
|
|
51
|
+
readonly exitCode: number | null
|
|
52
|
+
readonly signal: NodeJS.Signals | null
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Matches `@acryldev/cordis-plugin-market`'s own `MarketDesktopPnpmHandle` shape. */
|
|
56
|
+
export interface WebMarketPnpmHandle {
|
|
57
|
+
readonly stdout: Readable
|
|
58
|
+
readonly stderr: Readable
|
|
59
|
+
readonly done: Promise<WebMarketPnpmOutcome>
|
|
60
|
+
cancel(): void
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// No `declare module '@deepseek-ai/cordis'` augmentation here on purpose:
|
|
64
|
+
// acryl-desktop's own pnpm.ts/desktop-plugins.ts already declare
|
|
65
|
+
// `desktopProfiles`/`desktopPnpm`/`desktopPlugins` on Context with their own
|
|
66
|
+
// (richer, Electron-specific) types. `Service`'s own constructor signature is
|
|
67
|
+
// `(ctx: Context, name: string)` - a plain string, not `keyof Context` - so
|
|
68
|
+
// providing under these exact names needs no static declaration here at all;
|
|
69
|
+
// adding one anyway would be two different packages both augmenting the same
|
|
70
|
+
// ambient property with structurally different types, which the TypeScript
|
|
71
|
+
// compiler correctly refuses to merge (reproduced directly: acryl-desktop's
|
|
72
|
+
// own typecheck failed with "Subsequent property declarations must have the
|
|
73
|
+
// same type" the moment this block existed). This file only ever *provides*
|
|
74
|
+
// these services; it never reads `ctx.get('desktopProfiles' | 'desktopPnpm')`
|
|
75
|
+
// itself, so the missing consumer-side typing costs it nothing.
|
|
76
|
+
|
|
77
|
+
/** Matches `@acryldev/cordis-plugin-market`'s own `MarketDesktopPnpm` shape exactly - the six methods it actually calls. */
|
|
78
|
+
export interface WebMarketPnpm {
|
|
79
|
+
runPlugin(args: readonly string[], invokingDir: string, signal?: AbortSignal): WebMarketPnpmHandle
|
|
80
|
+
installPlugin(request: {
|
|
81
|
+
readonly pnpmOptions?: readonly string[]
|
|
82
|
+
readonly invokingDir: string
|
|
83
|
+
readonly recovery: { readonly packageName: string; readonly packageVersion: string; readonly receiptId: string }
|
|
84
|
+
readonly signal?: AbortSignal
|
|
85
|
+
}): Promise<WebMarketPnpmHandle>
|
|
86
|
+
recoveredInstallReceiptIds(): Promise<readonly string[]>
|
|
87
|
+
acknowledgeRecoveredInstall(receiptId: string): Promise<void>
|
|
88
|
+
rollbackPluginInstall(receiptId: string): Promise<boolean>
|
|
89
|
+
acknowledgeLiveInstall(packageName: string): Promise<void>
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const require = createRequire(import.meta.url)
|
|
93
|
+
|
|
94
|
+
/** Absolute path to the pinned `@deepseek-ai/dsh` CLI's own compiled entry - resolved once, from this package's own installation, not guessed. */
|
|
95
|
+
function resolveDshBin(): string {
|
|
96
|
+
const manifestPath = require.resolve('@deepseek-ai/dsh/package.json')
|
|
97
|
+
return join(dirname(manifestPath), 'lib/bin.js')
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/** Web's single profile is always named `web` - unlike Desktop, there is no multi-profile picker to resolve against. */
|
|
101
|
+
export class WebProfilesService extends Service {
|
|
102
|
+
constructor(ctx: Context, private readonly profileDir: string) {
|
|
103
|
+
super(ctx, 'desktopProfiles')
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
get current(): WebMarketProfile {
|
|
107
|
+
return { name: 'web', dir: this.profileDir }
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Runs `dsh plugin --profile web <verb> <...args>` as a real child process,
|
|
113
|
+
* inheriting this server's own `DSH_HOME` (already set correctly by
|
|
114
|
+
* `resolveWebEngineComposition` before this service is ever constructed) -
|
|
115
|
+
* the exact command a human operator already runs by hand, `-w` included for
|
|
116
|
+
* pnpm's own workspace-root safety check on a profile's single-package
|
|
117
|
+
* pnpm workspace.
|
|
118
|
+
*/
|
|
119
|
+
export class WebPnpmService extends Service implements WebMarketPnpm {
|
|
120
|
+
private readonly dshBin: string
|
|
121
|
+
private readonly profileName: string
|
|
122
|
+
private readonly profileDir: string
|
|
123
|
+
|
|
124
|
+
constructor(ctx: Context, config: PnpmProfileConfig) {
|
|
125
|
+
super(ctx, 'desktopPnpm')
|
|
126
|
+
this.profileName = config.name
|
|
127
|
+
this.profileDir = config.dir
|
|
128
|
+
this.dshBin = resolveDshBin()
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
runPlugin(args: readonly string[], _invokingDir: string, signal?: AbortSignal): WebMarketPnpmHandle {
|
|
132
|
+
// Never let a pnpm relink a profile another pnpm laid out (see profile-layout.ts).
|
|
133
|
+
reconcileProfileLayout(this.profileDir)
|
|
134
|
+
const child = spawn(process.execPath, [this.dshBin, 'plugin', '--profile', this.profileName, ...args, '-w'], {
|
|
135
|
+
// The pinned pnpm, not whatever the machine has on PATH (see pinned-pnpm.ts).
|
|
136
|
+
env: pinnedPnpmEnv(process.env),
|
|
137
|
+
signal,
|
|
138
|
+
})
|
|
139
|
+
// The market resumes/discards these itself (`handle.stdout.resume()`) -
|
|
140
|
+
// pass real streams through rather than buffering, matching Desktop's
|
|
141
|
+
// own handle shape.
|
|
142
|
+
const stdout = new PassThrough()
|
|
143
|
+
const stderr = new PassThrough()
|
|
144
|
+
child.stdout?.pipe(stdout)
|
|
145
|
+
child.stderr?.pipe(stderr)
|
|
146
|
+
// 'close', not 'exit' - see the identical fix and its own doc comment
|
|
147
|
+
// in cli-market-install.ts's runPlugin: 'exit' can race ahead of the
|
|
148
|
+
// piped stdout/stderr actually draining into the streams above.
|
|
149
|
+
const done = new Promise<WebMarketPnpmOutcome>((resolve, reject) => {
|
|
150
|
+
child.once('error', reject)
|
|
151
|
+
child.once('close', (exitCode, exitSignal) => resolve({ exitCode, signal: exitSignal }))
|
|
152
|
+
})
|
|
153
|
+
return {
|
|
154
|
+
stdout,
|
|
155
|
+
stderr,
|
|
156
|
+
done,
|
|
157
|
+
cancel: () => { child.kill() },
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
async installPlugin(request: {
|
|
162
|
+
readonly pnpmOptions?: readonly string[]
|
|
163
|
+
readonly invokingDir: string
|
|
164
|
+
readonly recovery: { readonly packageName: string; readonly packageVersion: string; readonly receiptId: string }
|
|
165
|
+
readonly signal?: AbortSignal
|
|
166
|
+
}): Promise<WebMarketPnpmHandle> {
|
|
167
|
+
// No recovery WAL to open here (see this module's own doc comment) - the
|
|
168
|
+
// exact npm target still comes from `recovery`, matching Desktop's own
|
|
169
|
+
// `installPlugin` (never trust `pnpmOptions` alone to carry the target).
|
|
170
|
+
const target = `${request.recovery.packageName}@${request.recovery.packageVersion}`
|
|
171
|
+
const options = request.pnpmOptions === undefined ? [] : [...request.pnpmOptions]
|
|
172
|
+
// See the identical override and its own doc comment in
|
|
173
|
+
// cli-market-install.ts's installPlugin: a Market install of a plugin
|
|
174
|
+
// published minutes earlier is the normal case here, not the untrusted-
|
|
175
|
+
// fresh-package scenario pnpm's `minimumReleaseAge` default guards
|
|
176
|
+
// against. Overridden only for this one `add` invocation.
|
|
177
|
+
return this.runPlugin(['add', '--config.minimum-release-age=0', ...options, target], request.invokingDir, request.signal)
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// No WAL (see this module's own doc comment): nothing was ever recorded as
|
|
181
|
+
// "awaiting restart", so there is never anything to report as recovered,
|
|
182
|
+
// acknowledge, or roll back.
|
|
183
|
+
async recoveredInstallReceiptIds(): Promise<readonly string[]> {
|
|
184
|
+
return []
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
async acknowledgeRecoveredInstall(_receiptId: string): Promise<void> {}
|
|
188
|
+
|
|
189
|
+
async rollbackPluginInstall(_receiptId: string): Promise<boolean> {
|
|
190
|
+
return false
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
async acknowledgeLiveInstall(_packageName: string): Promise<void> {}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Provide `desktopProfiles`/`desktopPnpm` on the host root, before
|
|
198
|
+
* `@acryldev/cordis-plugin-market`'s own row mounts - matching the same `prepare`-hook
|
|
199
|
+
* timing `createWebEngineDefinition`'s brand/market row materialization
|
|
200
|
+
* already relies on.
|
|
201
|
+
* @param profileDir - the web profile's own directory (`resolveWebEngineComposition`'s `profile.dir`).
|
|
202
|
+
*/
|
|
203
|
+
export function provideWebMarketInstall(ctx: Context, profileDir: string): void {
|
|
204
|
+
ctx.plugin(WebProfilesService, profileDir)
|
|
205
|
+
ctx.plugin(WebPnpmService, { name: 'web', dir: profileDir })
|
|
206
|
+
}
|