vini-ds 0.1.0-alpha.13 → 0.1.0-alpha.15
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 +5 -5
- package/package.json +18 -15
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
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.15; 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.15 init --plan`. Connect: `npx vini-ds@0.1.0-alpha.15 init`.
|
|
6
6
|
|
|
7
7
|
Requires an existing Vite project with matching React and React DOM ^18.2.0 or ^19.3.1 and Node 20+. The installer does not edit the React dependency declarations in package.json. Check the lockfile and installed versions after installation; the package manager may resolve dependencies again. 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. A package status of current does not verify the open application page or the MCP connection in the current client. 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. A package status of current does not verify the open application page or the MCP connection in the current client. Review the suggested exact version with `npx vini-ds@0.1.0-alpha.15 update --plan`. For the name migration, complete the manual review below and use --imports-migrated; other updates use 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. In the current project and client, call the connection's `refresh_connection` with the exact selected target when available. For a legacy connection or incompatible interface reconnect the project MCP once; restart the client only if reconnect is unavailable or already failed. In the same project and client read `vini://system/current`, the affected component contract, and `check_updates`; compare their versions with the target, installed packages and receipt. If the context is stale, follow the refresh or reconnect steps and repeat the checks instead of reinstalling packages just to refresh it. A separate STDIO process does not verify the current client. Treat package installation, the application page, and the current MCP client as separate results; if a check cannot be performed, report it as not verified. 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.
|
|
10
10
|
|
|
11
11
|
## Migrating existing projects to @vini-ds
|
|
12
12
|
|
|
13
|
-
Confirm the exact new CLI and all three packages are actually published before migrating. For a CLI-managed installation, run `npx vini-ds@0.1.0-alpha.
|
|
13
|
+
Confirm the exact new CLI and all three packages are actually published before migrating. For a CLI-managed installation, run `npx vini-ds@0.1.0-alpha.15 update --plan` and review the existing receipt and planned dependency changes. Save the project state and manually review and replace every old `@vini/*` or `@timelex/vini-*` import, CSS path, configuration and other reference with the appropriate `@vini-ds/*` name. The CLI does not rewrite arbitrary project sources. Once that review is complete, run `npx vini-ds@0.1.0-alpha.15 update --imports-migrated`; the flag records your review, not proof of it. The CLI validates the entry, avoids an extra provider and replaces the managed dependencies without aliases. Check the build, lockfile and affected application scenario, then reconnect and verify the actual MCP client.
|
|
14
14
|
|
|
15
15
|
Older CLI or MCP instances may report the changed release as unknown after a future latest change; unknown is not proof that no update exists. Use the exact new CLI and reconnect the existing client. Direct unmanaged dependencies using older package names require a separate reviewed manual migration: remove old declarations after reviewing the project, then inspect `init --plan` before installing. No automatic edits to arbitrary project files are performed.
|
|
16
16
|
|
|
17
17
|
## Adopting an existing native installation
|
|
18
18
|
|
|
19
|
-
For a complete, directly installed pair of `@vini-ds/ui` and `@vini-ds/tokens` at the same version, first run `npx vini-ds@0.1.0-alpha.
|
|
19
|
+
For a complete, directly installed pair of `@vini-ds/ui` and `@vini-ds/tokens` at the same version, first run `npx vini-ds@0.1.0-alpha.15 init --plan --adopt-manual`. Review the detected versions, React compatibility, source observations and proposed changes. Use `--cwd` for the project root, `--app-root` when the application is nested, and `--entry` when its entry needs to be selected explicitly. When the plan is ready, run the same command without `--plan`. Adoption preserves the installed UI and tokens version and existing entry, CSS imports and provider; it installs the agent at that same version and keeps a recovery backup. It is not an update to the CLI version. Repeating the completed adoption preserves the existing setup.
|
|
20
20
|
|
|
21
21
|
The plan uses static source evidence; it does not establish what renders in the browser or whether the current Codex client is connected. Verify those separately. A shared or symbolic-link `node_modules` is read for diagnostics but blocks adoption without changing its target; arrange an independently managed application directory before applying. Incomplete, mixed, incompatible or aliased installations require individual review. Older package families still follow the reviewed migration above.
|
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.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "VINi React project and local agent setup",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"typescript": "5.5.4"
|
|
23
23
|
},
|
|
24
24
|
"viniDistribution": {
|
|
25
|
-
"version": "0.1.0-alpha.
|
|
25
|
+
"version": "0.1.0-alpha.15",
|
|
26
26
|
"ui": "@vini-ds/ui",
|
|
27
27
|
"tokens": "@vini-ds/tokens",
|
|
28
28
|
"agent": "@vini-ds/agent"
|
|
@@ -30,24 +30,27 @@
|
|
|
30
30
|
"viniRelease": {
|
|
31
31
|
"atlas": {
|
|
32
32
|
"url": "https://vini-atlas.twc1.net/",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
33
|
+
"siteRelease": "source-snapshot-20261124-alpha15-b2ada18b",
|
|
34
|
+
"commit": "b2ada18b372f6fd4ec9e4dd6ee6a407a1a3ef945",
|
|
35
|
+
"archiveSha256": "sha256:87214bdcfcb766ed7f32e323b66bbaa75258cb34e120526b11943bbab655b91f"
|
|
36
36
|
},
|
|
37
37
|
"delivery": {
|
|
38
|
-
"id": "candidate-
|
|
39
|
-
"manifestSha256": "sha256:
|
|
40
|
-
"packageManifestSha256": "sha256:
|
|
38
|
+
"id": "candidate-de4974498efaa22b",
|
|
39
|
+
"manifestSha256": "sha256:b1cc452a7dee3024393dc45fbaebdaffac0a628dc2374d0e89831e5349549f49",
|
|
40
|
+
"packageManifestSha256": "sha256:655778b7ba357a7dc381fb1d05e8adf9c7d6737e67ade55e851a2153b661d15c"
|
|
41
41
|
},
|
|
42
42
|
"changes": {
|
|
43
|
-
"fromVersion": "0.1.0-alpha.
|
|
44
|
-
"summary": "
|
|
43
|
+
"fromVersion": "0.1.0-alpha.14",
|
|
44
|
+
"summary": "Добавлен PromptComposer. Обновлены Button, сортируемые заголовки Table, аватары Item, IconContainer, подсветка поиска и оформление Application Shell.",
|
|
45
45
|
"components": [
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
46
|
+
"PromptComposer",
|
|
47
|
+
"Button",
|
|
48
|
+
"ButtonGroup",
|
|
49
|
+
"Table",
|
|
50
|
+
"Item",
|
|
51
|
+
"IconContainer",
|
|
52
|
+
"Text",
|
|
53
|
+
"Sidebar"
|
|
51
54
|
]
|
|
52
55
|
}
|
|
53
56
|
},
|