vit 0.6.5 → 0.6.6

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 CHANGED
@@ -28,7 +28,7 @@ npm install -g vit
28
28
  vit login your-handle.bsky.social
29
29
  ```
30
30
 
31
- then open your coding agent (Claude Code, Codex CLI, or Gemini CLI) — it already knows how to use vit because installing vit auto-installs the agent skill. your agent runs `vit init` to connect your project to the network, then `vit skim` to discover what others have built.
31
+ then open your coding agent (Claude Code, Codex CLI, Gemini CLI, opencode, or Pi). vit auto-installs its skill for Claude Code, Codex CLI, and Gemini CLI. your agent runs `vit init` to connect your project to the network, then `vit skim` to discover what others have built.
32
32
 
33
33
  **[full getting started guide →](https://v-it.org/start/)**
34
34
 
@@ -65,7 +65,11 @@ make install
65
65
 
66
66
  ## works with
67
67
 
68
- vit is a human+agent collaboration tool. it works with [Claude Code](https://claude.ai/code), [Codex CLI](https://github.com/openai/codex), and [Gemini CLI](https://github.com/google-gemini/gemini-cli). some commands are for you (login, vet), others are for your agent (skim, remix, ship).
68
+ vit is a human+agent collaboration tool. it works with [Claude Code](https://claude.ai/code), [Codex CLI](https://github.com/openai/codex), [Gemini CLI](https://github.com/google-gemini/gemini-cli), [opencode](https://opencode.ai), and [Pi](https://github.com/badlogic/pi-mono). some commands are for you (login, vet), others are for your agent (skim, remix, ship).
69
+
70
+ Pi is recognised through `AI_AGENT=pi` or `PI_CODING_AGENT=true`. `init`, `skim`, `ship`, `remix`, and `learn` accept Pi. Pi uses the existing skill destinations; installation into Pi's own skill directory, `doctor` integration, and a Pi launcher for `vet --sandbox` are not yet available. Human-only commands keep the same gates.
71
+
72
+ See [the changelog](CHANGELOG.md) for release notes.
69
73
 
70
74
  ## reference
71
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vit",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Social toolkit for personalized software",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -13,6 +13,8 @@ description: >-
13
13
 
14
14
  vit is a Node CLI for social software capabilities. Agents use it to initialize projects, follow accounts, skim caps from followed accounts, and ship new caps. Some commands (login, adopt, vet) require human interaction - the agent should tell the user to run those in their terminal.
15
15
 
16
+ Pi is recognised through `AI_AGENT=pi` or `PI_CODING_AGENT=true`. The agent commands work under Pi, with the existing trust gates. Pi-specific skill installation, doctor integration, and the Pi sandbox launcher are not yet available.
17
+
16
18
  ## 2. Prerequisites
17
19
 
18
20
  Dependency chain: `login → init → follow → skim/ship`.
package/src/cmd/init.js CHANGED
@@ -40,7 +40,7 @@ export default function register(program) {
40
40
  jsonError('agent required', 'run vit init from a coding agent');
41
41
  return;
42
42
  }
43
- console.error(`${name} init should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
43
+ console.error(`${name} init should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode, pi).`);
44
44
  console.error(`open your agent and ask it to run '${name} init' for you.`);
45
45
  process.exitCode = 1;
46
46
  return;
package/src/cmd/learn.js CHANGED
@@ -247,7 +247,7 @@ Examples:
247
247
  jsonError('agent required', 'run vit learn from a coding agent');
248
248
  return;
249
249
  }
250
- console.error(`${name} learn should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
250
+ console.error(`${name} learn should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode, pi).`);
251
251
  console.error(`open your agent and ask it to run '${name} learn' for you.`);
252
252
  process.exitCode = 1;
253
253
  return;
package/src/cmd/remix.js CHANGED
@@ -31,7 +31,7 @@ export default function register(program) {
31
31
  jsonError('agent required', 'run vit remix from a coding agent');
32
32
  return;
33
33
  }
34
- console.error(`${name} remix should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
34
+ console.error(`${name} remix should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode, pi).`);
35
35
  console.error(`open your agent and ask it to run '${name} remix' for you.`);
36
36
  process.exitCode = 1;
37
37
  return;
package/src/cmd/ship.js CHANGED
@@ -139,7 +139,7 @@ async function shipSkill(opts) {
139
139
  jsonError('agent required', 'run vit ship --skill from a coding agent');
140
140
  return;
141
141
  }
142
- console.error(`${name} ship --skill should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
142
+ console.error(`${name} ship --skill should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode, pi).`);
143
143
  console.error(`open your agent and ask it to run '${name} ship --skill' for you.`);
144
144
  process.exitCode = 1;
145
145
  return;
@@ -348,7 +348,7 @@ export async function shipCap(opts) {
348
348
  jsonError('agent required', 'run vit ship from a coding agent');
349
349
  return;
350
350
  }
351
- console.error(`${name} ship should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
351
+ console.error(`${name} ship should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode, pi).`);
352
352
  console.error(`open your agent and ask it to run '${name} ship' for you.`);
353
353
  console.error(`refer to the using-vit skill (skills/vit/SKILL.md) for a shipping guide.`);
354
354
  process.exitCode = 1;
package/src/cmd/skim.js CHANGED
@@ -30,7 +30,7 @@ export default function register(program) {
30
30
  try {
31
31
  const gate = requireAgent();
32
32
  if (!gate.ok) {
33
- console.error(`${name} skim should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
33
+ console.error(`${name} skim should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode, pi).`);
34
34
  console.error(`open your agent and ask it to run '${name} skim' for you.`);
35
35
  process.exitCode = 1;
36
36
  return;
package/src/lib/agent.js CHANGED
@@ -12,6 +12,8 @@ export function detectCodingAgent() {
12
12
  for (const [envVar, name] of Object.entries(CODING_AGENTS)) {
13
13
  if (process.env[envVar] === '1') return { name, envVar };
14
14
  }
15
+ if (process.env.AI_AGENT === 'pi') return { name: 'pi', envVar: 'AI_AGENT' };
16
+ if (process.env.PI_CODING_AGENT === 'true') return { name: 'pi', envVar: 'PI_CODING_AGENT' };
15
17
  return null;
16
18
  }
17
19