@vibesdotdev/bin 1.0.3-rc.1 → 1.0.3-rc.2

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.
Files changed (4) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +18 -0
  3. package/checkout.mjs +32 -2
  4. package/package.json +84 -55
package/LICENSE ADDED
@@ -0,0 +1,18 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 VIBES DEV LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
6
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
9
+ following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial
12
+ portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
16
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
18
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @vibesdotdev/bin
2
+
3
+ The `vibes` command-line interface. It starts the public plugin host with no
4
+ setup step: the plugins it composes are this package's own `vibes.plugins`,
5
+ installed as its dependencies.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ bun add -g @vibesdotdev/bin
11
+ vibes --help
12
+ ```
13
+
14
+ The `vibes` executable runs on [Bun](https://bun.sh).
15
+
16
+ ## License
17
+
18
+ MIT. See `LICENSE`.
package/checkout.mjs CHANGED
@@ -1,12 +1,42 @@
1
1
  #!/usr/bin/env bun
2
- import { captureCheckoutCliLaunch } from '@vibesdotdev/host-bun/cli-checkout';
3
- import { startHost } from '@vibesdotdev/plugins/host-start.mjs';
2
+ import { realpathSync, statSync } from 'node:fs';
3
+ import { isAbsolute, relative, sep } from 'node:path';
4
+ import { fileURLToPath, pathToFileURL } from 'node:url';
4
5
  // The checkout command is the same public CLI rooted at the declared checkout:
5
6
  // it declares the published package's version, `vibes.plugins` selection and
6
7
  // `vibes.config` block, resolved in the checkout's own graph.
7
8
  import manifest from './package.json' with { type: 'json' };
8
9
 
10
+ const declared = process.argv[2];
11
+ if (!declared || !isAbsolute(declared)) throw new Error('A checkout CLI requires an absolute declared root.');
12
+ const root = realpathSync(declared);
13
+ if (!statSync(root).isDirectory()) throw new Error('The declared checkout root is not a directory.');
14
+ // Same custody rule the host's capture applies, before loading any host
15
+ // module: a root that does not own this script cannot own its graph.
16
+ const location = relative(root, realpathSync(fileURLToPath(import.meta.url)));
17
+ if (!location || location === '..' || location.startsWith(`..${sep}`) || isAbsolute(location)) {
18
+ throw new Error('The checkout CLI must belong to the declared root.');
19
+ }
20
+
21
+ /**
22
+ * Resolve a host module from the declared checkout root, so a copy nested
23
+ * under `node_modules/@vibesdotdev/bin` never boots a second graph. An
24
+ * isolated linker may keep the host beside bin instead of at the root; the
25
+ * fallback loads that copy and the checkout's Kernel admission still refuses
26
+ * a second Kernel.
27
+ */
28
+ function resolveHostModule(specifier) {
29
+ try {
30
+ return pathToFileURL(Bun.resolveSync(specifier, root)).href;
31
+ } catch (error) {
32
+ if (error?.name !== 'ResolveMessage') throw error;
33
+ return import.meta.resolve(specifier);
34
+ }
35
+ }
36
+
37
+ const { captureCheckoutCliLaunch } = await import(resolveHostModule('@vibesdotdev/host-bun/cli-checkout'));
9
38
  const launch = captureCheckoutCliLaunch(import.meta.url);
39
+ const { startHost } = await import(resolveHostModule('@vibesdotdev/plugins/host-start.mjs'));
10
40
  await startHost({
11
41
  ...launch,
12
42
  host: { ...launch.host, version: manifest.version },
package/package.json CHANGED
@@ -1,64 +1,106 @@
1
1
  {
2
2
  "name": "@vibesdotdev/bin",
3
- "version": "1.0.3-rc.1",
3
+ "version": "1.0.3-rc.2",
4
4
  "dependencies": {
5
- "@vibesdotdev/account": "^1.0.0-rc.2",
6
- "@vibesdotdev/agent-execution": "^1.0.0-rc.1",
7
- "@vibesdotdev/ai": "^1.0.0-rc.3",
8
- "@vibesdotdev/ai-schemas": "^1.0.0-rc.3",
9
- "@vibesdotdev/applets": "^1.0.0-rc.2",
10
- "@vibesdotdev/auth": "^1.0.0-rc.3",
5
+ "@vibesdotdev/account": "^1.0.0-rc.0",
6
+ "@vibesdotdev/agent-execution": "^1.0.0-rc.0",
7
+ "@vibesdotdev/ai": "^1.0.0-rc.0",
8
+ "@vibesdotdev/ai-schemas": "^1.0.0-rc.0",
9
+ "@vibesdotdev/applets": "^1.0.0-rc.0",
10
+ "@vibesdotdev/auth": "^1.0.0-rc.0",
11
11
  "@vibesdotdev/bridge": "^1.0.0-rc.0",
12
12
  "@vibesdotdev/chat": "^1.0.0-rc.0",
13
- "@vibesdotdev/cli": "^1.0.0-rc.2",
13
+ "@vibesdotdev/cli": "^1.0.0-rc.0",
14
14
  "@vibesdotdev/code-sessions": "^1.0.0-rc.0",
15
- "@vibesdotdev/command-palette": "^1.0.0-rc.3",
16
- "@vibesdotdev/control": "^1.0.0-rc.2",
17
- "@vibesdotdev/execution-local": "^1.0.0-rc.3",
18
- "@vibesdotdev/filesystem": "^1.0.0-rc.2",
19
- "@vibesdotdev/git-operations": "^1.0.0-rc.2",
20
- "@vibesdotdev/host-bun": "^1.0.0-rc.2",
21
- "@vibesdotdev/hq": "^1.0.0-rc.1",
22
- "@vibesdotdev/infra-core": "^1.0.0-rc.4",
23
- "@vibesdotdev/infra-deploy": "^1.0.0-rc.4",
24
- "@vibesdotdev/integrations": "^1.0.0-rc.2",
25
- "@vibesdotdev/integrations-vibes": "^1.0.0-rc.1",
26
- "@vibesdotdev/kernel": "^1.0.0-rc.6",
27
- "@vibesdotdev/kernel-rpc": "^1.0.0-rc.2",
28
- "@vibesdotdev/kit": "^1.0.0-rc.3",
29
- "@vibesdotdev/knowledge": "^1.0.0-rc.1",
15
+ "@vibesdotdev/command-palette": "^1.0.0-rc.0",
16
+ "@vibesdotdev/control": "^1.0.0-rc.0",
17
+ "@vibesdotdev/execution-local": "^1.0.0-rc.0",
18
+ "@vibesdotdev/filesystem": "^1.0.0-rc.0",
19
+ "@vibesdotdev/git-operations": "^1.0.0-rc.0",
20
+ "@vibesdotdev/host-bun": "^1.0.0-rc.0",
21
+ "@vibesdotdev/hq": "^1.0.0-rc.0",
22
+ "@vibesdotdev/infra-core": "^1.0.0-rc.0",
23
+ "@vibesdotdev/infra-deploy": "^1.0.0-rc.0",
24
+ "@vibesdotdev/integrations": "^1.0.0-rc.0",
25
+ "@vibesdotdev/integrations-vibes": "^1.0.0-rc.0",
26
+ "@vibesdotdev/kernel": "^1.0.0-rc.0",
27
+ "@vibesdotdev/kernel-rpc": "^1.0.0-rc.0",
28
+ "@vibesdotdev/kit": "^1.0.0-rc.0",
29
+ "@vibesdotdev/knowledge": "^1.0.0-rc.0",
30
30
  "@vibesdotdev/mcp": "^1.0.0-rc.0",
31
- "@vibesdotdev/notifications": "^1.0.0-rc.2",
32
- "@vibesdotdev/platform": "^1.0.0-rc.1",
31
+ "@vibesdotdev/notifications": "^1.0.0-rc.0",
32
+ "@vibesdotdev/platform": "^1.0.0-rc.0",
33
33
  "@vibesdotdev/plugins": "^1.0.0-rc.0",
34
- "@vibesdotdev/pm": "^1.0.0-rc.2",
34
+ "@vibesdotdev/pm": "^1.0.0-rc.0",
35
35
  "@vibesdotdev/projects": "^1.0.0-rc.0",
36
36
  "@vibesdotdev/prompts": "^1.0.0-rc.0",
37
- "@vibesdotdev/registry": "^1.0.0-rc.3",
38
- "@vibesdotdev/scope": "^1.0.0-rc.2",
39
- "@vibesdotdev/secrets": "^1.0.0-rc.3",
40
- "@vibesdotdev/session": "^1.0.0-rc.1",
41
- "@vibesdotdev/storage": "^1.0.0-rc.3",
37
+ "@vibesdotdev/registry": "^1.0.0-rc.0",
38
+ "@vibesdotdev/scope": "^1.0.0-rc.0",
39
+ "@vibesdotdev/secrets": "^1.0.0-rc.0",
40
+ "@vibesdotdev/session": "^1.0.0-rc.0",
41
+ "@vibesdotdev/storage": "^1.0.0-rc.0",
42
42
  "@vibesdotdev/studio": "^1.0.0-rc.0",
43
- "@vibesdotdev/surface-sveltekit": "^1.0.0-rc.3",
44
- "@vibesdotdev/sync": "^1.0.0-rc.2",
45
- "@vibesdotdev/terminal-client": "^1.0.0-rc.2",
46
- "@vibesdotdev/testing": "^1.0.0-rc.2",
47
- "@vibesdotdev/tui": "^1.0.0-rc.2",
48
- "@vibesdotdev/vessel": "^1.0.0-rc.2",
43
+ "@vibesdotdev/surface-sveltekit": "^1.0.0-rc.0",
44
+ "@vibesdotdev/sync": "^1.0.0-rc.0",
45
+ "@vibesdotdev/terminal-client": "^1.0.0-rc.0",
46
+ "@vibesdotdev/testing": "^1.0.0-rc.0",
47
+ "@vibesdotdev/tui": "^1.0.0-rc.0",
48
+ "@vibesdotdev/vessel": "^1.0.0-rc.0",
49
49
  "@vibesdotdev/workboard": "^1.0.0-rc.0",
50
- "@vibesdotdev/workspace": "^1.0.0-rc.1"
50
+ "@vibesdotdev/workspace": "^1.0.0-rc.0"
51
+ },
52
+ "gitHead": "54ccfb6769c79c4d35361a7d27778a9ee991b9f9",
53
+ "_vibes_source": {
54
+ "repo": "ssh://git@git.vibes.dev/vibesdotdev/cli-bin.git",
55
+ "sha": "54ccfb6769c79c4d35361a7d27778a9ee991b9f9",
56
+ "workspaceDigest": "sha256:35a9fb041381b0f77619cd27067b9d3ab20be5dc63ebb27b5ae22040d4e587c8"
51
57
  },
52
58
  "files": [
53
59
  "vibes.mjs",
54
- "checkout.mjs"
60
+ "checkout.mjs",
61
+ "!**/.turbo/**",
62
+ "!**/.svelte-kit/**",
63
+ "!**/.vibes/**",
64
+ "!**/__tests__/**",
65
+ "!**/__stubs__/**",
66
+ "!**/*.test.js",
67
+ "!**/*.test.mjs",
68
+ "!**/*.test.cjs",
69
+ "!**/*.test.jsx",
70
+ "!**/*.test.ts",
71
+ "!**/*.test.mts",
72
+ "!**/*.test.cts",
73
+ "!**/*.test.tsx",
74
+ "!**/*.spec.js",
75
+ "!**/*.spec.mjs",
76
+ "!**/*.spec.cjs",
77
+ "!**/*.spec.jsx",
78
+ "!**/*.spec.ts",
79
+ "!**/*.spec.mts",
80
+ "!**/*.spec.cts",
81
+ "!**/*.spec.tsx",
82
+ "!**/SPEC.md",
83
+ "!**/tsconfig.json",
84
+ "!**/tsconfig.*.json",
85
+ "!**/*.tsbuildinfo",
86
+ "!**/.build-ok.json",
87
+ "!**/*.tgz"
55
88
  ],
89
+ "repository": {
90
+ "type": "git",
91
+ "url": "ssh://git@git.vibes.dev/vibesdotdev/cli-bin.git",
92
+ "directory": "npm-bin"
93
+ },
56
94
  "publishConfig": {
57
95
  "registry": "https://packages.vibes.dev",
58
96
  "access": "public"
59
97
  },
60
98
  "vibes": {
61
99
  "visibility": "public",
100
+ "registry": {
101
+ "repositoryId": "80ee5ed7-a88d-49f8-86e8-f867006d1b4d",
102
+ "directory": "npm-bin"
103
+ },
62
104
  "tier": "public",
63
105
  "compositionRoots": [
64
106
  "vibes.mjs",
@@ -74,6 +116,7 @@
74
116
  "@vibesdotdev/infra-deploy/cli/plugin",
75
117
  "@vibesdotdev/pm/plugin",
76
118
  "@vibesdotdev/pm/cli/plugin",
119
+ "@vibesdotdev/platform/plugin",
77
120
  "@vibesdotdev/platform/cli/plugin",
78
121
  "@vibesdotdev/platform/fleets/cli/plugin",
79
122
  "@vibesdotdev/workboard/marshal/cli/plugin",
@@ -85,15 +128,12 @@
85
128
  ],
86
129
  "config": {
87
130
  "runtime.host": {
88
- "environmentTier": "local"
131
+ "environmentTier": "local",
132
+ "hardware": "consumer"
89
133
  },
90
134
  "infra.services": {
91
135
  "environment": "production"
92
136
  }
93
- },
94
- "registry": {
95
- "repositoryId": "80ee5ed7-a88d-49f8-86e8-f867006d1b4d",
96
- "directory": "npm-bin"
97
137
  }
98
138
  },
99
139
  "description": "Vibes CLI. Starts the public plugin host with no setup command.",
@@ -101,16 +141,5 @@
101
141
  "license": "MIT",
102
142
  "bin": {
103
143
  "vibes": "./vibes.mjs"
104
- },
105
- "repository": {
106
- "type": "git",
107
- "url": "ssh://git@git.vibes.dev/vibesdotdev/cli-bin.git",
108
- "directory": "npm-bin"
109
- },
110
- "gitHead": "a7f6e9d14b82eb7b4e792d85047b071108d7f190",
111
- "_vibes_source": {
112
- "repo": "ssh://git@git.vibes.dev/vibesdotdev/cli-bin.git",
113
- "sha": "a7f6e9d14b82eb7b4e792d85047b071108d7f190",
114
- "workspaceDigest": "sha256:5d4d9f9b903fb38485a09b0f2c4cc1c33d839d24c11048f23dff55177ab7a24a"
115
144
  }
116
145
  }