vini-ds 0.1.0-alpha.2 → 0.1.0-alpha.3
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/README.md +3 -3
- package/cli.mjs +4 -1
- package/package.json +8 -10
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# VINi CLI
|
|
2
2
|
|
|
3
|
-
Connect with `npx vini-ds init`. This is a public alpha, 0.1.0-alpha.
|
|
3
|
+
Connect with `npx vini-ds init`. This is a public alpha, 0.1.0-alpha.3; it supports the bounded setup described below. For a reproducible installation, use the exact version.
|
|
4
4
|
|
|
5
|
-
Preview: `npx vini-ds@0.1.0-alpha.
|
|
5
|
+
Preview: `npx vini-ds@0.1.0-alpha.3 init --plan`. Connect: `npx vini-ds@0.1.0-alpha.3 init`.
|
|
6
6
|
|
|
7
7
|
Requires an existing React 18/Vite project and Node 20+. Detects npm or pnpm; configures CSS, ThemeBrandProvider and project-local Codex MCP/Skill. Does not change global Codex settings or project trust. This alpha supports the direct createRoot(...).render(JSX) entry form; use --entry for an explicit supported entry. New desktop Codex session discovery is a separate check.
|
|
8
8
|
|
|
9
|
-
Check an existing project with `npx vini-ds@latest status` (or `status --json`). A registry error means the available version is unknown. Review the suggested exact version with `npx vini-ds@0.1.0-alpha.
|
|
9
|
+
Check an existing project with `npx vini-ds@latest status` (or `status --json`). A registry error means the available version is unknown. Review the suggested exact version with `npx vini-ds@0.1.0-alpha.3 update --plan`, then run the same command without `--plan`. Identify the dev or preview server serving the original application URL. If it still serves old assets, update or restart only that server when its ownership and authorization are clear; otherwise ask its owner. Reload the same URL and exercise the affected component; never terminate an unidentified process. Reconnect the project-local VINi MCP in the current client and read `vini://system/current`, the affected component contract, and `check_updates` there. A separate STDIO process does not verify the current client. Treat package installation, the application page, and the current MCP client as separate results. Update creates a recovery backup; if installation fails, inspect the reported recovery path before retrying. Previously installed private-GitHub Kits need an explicit migration and are not overwritten.
|
package/cli.mjs
CHANGED
|
@@ -269,7 +269,10 @@ export async function init(options={},suppliedDistribution,{runner=run,releaseMe
|
|
|
269
269
|
const agents=Buffer.from(agentsMerge(before.get(agentsFile)?text(before.get(agentsFile),agentsFile):''));
|
|
270
270
|
const current=await readInstallation(root,path.relative(root,app)||'.',distribution);
|
|
271
271
|
const installedAligned=!!previous&¤t.launcher.status==='matches-receipt'&&['ui','tokens','agent'].every(key=>current.installed[key].matchesReceipt);
|
|
272
|
-
const plan={status:'plan-only',command:options.command??'init',projectRoot:root,appRoot:app,entry:path.relative(app,entry),packageManager:manager,installed:current.installed,installedStatus:previous?(installedAligned?'matches-receipt':'mismatch'):'not-installed',from:previous?.distribution??null,to:distribution,distribution,changes:transition(release,installedAligned?previous.distribution.version:null,distribution.version),release:release??null,restart:'Restart the project-local
|
|
272
|
+
const plan={status:'plan-only',command:options.command??'init',projectRoot:root,appRoot:app,entry:path.relative(app,entry),packageManager:manager,installed:current.installed,installedStatus:previous?(installedAligned?'matches-receipt':'mismatch'):'not-installed',from:previous?.distribution??null,to:distribution,distribution,changes:transition(release,installedAligned?previous.distribution.version:null,distribution.version),release:release??null,restart:'Restart or reconnect the project-local VINi MCP in the current client; then read vini://system/current, the affected component contract and check_updates in that client.',dependencies:{'@vini/ui':alias('ui'),'@vini/tokens':alias('tokens')},devDependencies:{'@vini/agent':alias('agent')},agent:'project-local Codex MCP + Skill',applicationPage:'not-verified',nativeClient:'not-verified',postUpdateSteps:[
|
|
273
|
+
'Identify the dev or preview server serving the original application URL. If it still serves old assets, update or restart only that server when its ownership and authorization are clear; otherwise ask its owner. Reload the same URL and exercise the affected component. Do not terminate an unidentified process.',
|
|
274
|
+
'Reconnect the project-local VINi MCP in the current client and read vini://system/current, the affected component contract and check_updates there. A separate STDIO process does not verify the current client.'
|
|
275
|
+
],globalConfig:'unchanged',supported:'React 18, Vite direct createRoot(...).render(JSX), standalone npm/pnpm app'};
|
|
273
276
|
if(options.plan)return plan;
|
|
274
277
|
const recoveryRoot=path.join(root,'.vini-ds-recovery');await safeParents(root,path.join(recoveryRoot,'placeholder'));
|
|
275
278
|
const recoveryRootExisted=!!await exists(recoveryRoot);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vini-ds",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "VINi React project and local agent setup",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"typescript": "5.5.4"
|
|
21
21
|
},
|
|
22
22
|
"viniDistribution": {
|
|
23
|
-
"version": "0.1.0-alpha.
|
|
23
|
+
"version": "0.1.0-alpha.3",
|
|
24
24
|
"ui": "@timelex/vini-ui",
|
|
25
25
|
"tokens": "@timelex/vini-tokens",
|
|
26
26
|
"agent": "@timelex/vini-agent"
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"viniRelease": {
|
|
29
29
|
"atlas": {
|
|
30
30
|
"url": "https://vini-atlas-pilot.layero.app/",
|
|
31
|
-
"archiveSha256": "sha256:
|
|
32
|
-
"siteRelease": "source-snapshot-20261104-
|
|
33
|
-
"commit": "
|
|
31
|
+
"archiveSha256": "sha256:45dcc5672f36b3262e02c2913998aceb6f3fe7b66b02405a61c9128d423f745a",
|
|
32
|
+
"siteRelease": "source-snapshot-20261104-update-completion",
|
|
33
|
+
"commit": "dcd9728349c7c013fbe649e957ad0a1afdc2dc0e"
|
|
34
34
|
},
|
|
35
35
|
"delivery": {
|
|
36
36
|
"id": "candidate-c11703e55c492320",
|
|
@@ -38,11 +38,9 @@
|
|
|
38
38
|
"packageManifestSha256": "sha256:44fc4d1f985ebe9d66344ec2cdb45640023eab886028dc7bb8e0be07f8c989e7"
|
|
39
39
|
},
|
|
40
40
|
"changes": {
|
|
41
|
-
"fromVersion": "0.1.0-alpha.
|
|
42
|
-
"summary": "
|
|
43
|
-
"components": [
|
|
44
|
-
"Sidebar"
|
|
45
|
-
]
|
|
41
|
+
"fromVersion": "0.1.0-alpha.2",
|
|
42
|
+
"summary": "CLI и контекст агента уточняют проверку работающего приложения и MCP после обновления. Компоненты и токены не менялись; Atlas указан как подготовленный исходный снимок, а не deploy.",
|
|
43
|
+
"components": []
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
46
|
}
|