@pasko70/pibo 1.4.4 → 1.4.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/dist/apps/chat/agent-profiles.js +4 -1
- package/dist/apps/chat/agent-store.js +196 -3
- package/dist/apps/chat/web-app.js +5 -4
- package/dist/apps/chat-ui/assets/{dist-ZB1-ui2y.js → dist-B6kzRv2_.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-C3PnEkhb.js → dist-Bns-O5iY.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-BAXNalar.js → dist-CVcI9eYD.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-vKlxFkTa.js → dist-CqkKCn6l.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-DnACFKyO.js → dist-D4CEl91a.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-CYPL-B2Z.js → dist-D9K0kHT0.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-B2BEpL7n.js → dist-DWA7BIr3.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-BwUvs6Ph.js → dist-Dj3uUYqF.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-C0zsJ8II.js → dist-DqaKPP5Y.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-CiDSXgtg.js → dist-DuM9PL5k.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-BAGS_xkV.js → dist-DvPgMX-r.js} +1 -1
- package/dist/apps/chat-ui/assets/{index-0x7tuTNX.js → index-Baxj7Erc.js} +18 -17
- package/dist/apps/chat-ui/index.html +1 -1
- package/dist/apps/chat-vscode-web/assets/{index-C3GTPyDo.js → index-CjOC7zYy.js} +4 -4
- package/dist/apps/chat-vscode-web/index.html +1 -1
- package/dist/apps/cli-ui/inkMarkdown.js +8 -3
- package/dist/apps/cli-ui/inkSyntaxHighlighter.js +166 -0
- package/dist/apps/vscode-artifacts/latest.vsix +0 -0
- package/dist/apps/vscode-artifacts/{pibo-vscode-ext-1.4.4.vsix → pibo-vscode-ext-1.4.6.vsix} +0 -0
- package/dist/cli.js +20 -0
- package/dist/mcp/agent-context.js +10 -6
- package/dist/mcp/commands/info.js +19 -7
- package/dist/mcp/config.js +98 -65
- package/dist/plugins/builtin.js +15 -1
- package/dist/plugins/codex-compat.js +2 -0
- package/dist/session-ui/terminalRows.js +111 -10
- package/dist/shared/trace-nodes.js +12 -0
- package/dist/skills/cli.js +25 -1
- package/dist/tools/codex-image-generation.js +272 -0
- package/dist/tools/guides.js +71 -0
- package/dist/tools/index.js +7 -3
- package/dist/tools/python-runtime.js +2 -2
- package/dist/tools/registry.js +25 -1
- package/package.json +1 -1
- package/skills/builtin/graphify/SKILL.md +52 -0
package/dist/tools/registry.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
2
|
import { ensureAgentBrowserWrapper } from './agent-browser-wrapper.js';
|
|
3
3
|
import { detectDesktopEnv, hasDesktopDisplay, printDesktopEnvStatus, printLinuxVirtualDisplayHint } from './desktop-env.js';
|
|
4
|
-
import { AGENT_BROWSER_GUIDE, BROWSER_USE_GUIDE, RALPH_GUIDE, REMOTE_BROWSER_GUIDE } from './guides.js';
|
|
4
|
+
import { AGENT_BROWSER_GUIDE, BROWSER_USE_GUIDE, GRAPHIFY_GUIDE, RALPH_GUIDE, REMOTE_BROWSER_GUIDE } from './guides.js';
|
|
5
5
|
import { ensureLinuxVirtualDisplay } from './linux-virtual-display.js';
|
|
6
6
|
import { getToolNpmRuntimePaths, installToolNpmRuntime, printToolNpmRuntimeDoctor, removeToolNpmRuntime, } from './npm-runtime.js';
|
|
7
7
|
import { getToolPythonRuntimePaths, installToolPythonRuntime, runInheritedCommand, printToolPythonRuntimeDoctor, removeToolPythonRuntime, } from './python-runtime.js';
|
|
@@ -16,6 +16,7 @@ const REGISTRY = [
|
|
|
16
16
|
executableName: 'browser-use',
|
|
17
17
|
pythonVersion: '3.12',
|
|
18
18
|
homeEnvVar: 'BROWSER_USE_HOME',
|
|
19
|
+
doctorArgs: ['doctor'],
|
|
19
20
|
},
|
|
20
21
|
guides: [BROWSER_USE_GUIDE, REMOTE_BROWSER_GUIDE],
|
|
21
22
|
notes: [
|
|
@@ -59,6 +60,29 @@ const REGISTRY = [
|
|
|
59
60
|
'Discover details with `npm run dev -- tools show agent-browser` and `npm run dev -- tools guide agent-browser agent-browser`.',
|
|
60
61
|
].join('\n'),
|
|
61
62
|
},
|
|
63
|
+
{
|
|
64
|
+
name: 'graphify',
|
|
65
|
+
description: 'Codebase visualization CLI that generates interactive knowledge graphs and reports.',
|
|
66
|
+
runtime: {
|
|
67
|
+
packageName: 'graphifyy',
|
|
68
|
+
executableName: 'graphify',
|
|
69
|
+
pythonVersion: '3.12',
|
|
70
|
+
postInstallArgs: ['install', '--platform', 'pi'],
|
|
71
|
+
},
|
|
72
|
+
guides: [GRAPHIFY_GUIDE],
|
|
73
|
+
notes: [
|
|
74
|
+
'Installed on demand into an isolated Python virtual environment from the graphifyy package.',
|
|
75
|
+
'The installer runs graphify install --platform pi after package installation so Graphify is ready for Pi/Pibo workflows.',
|
|
76
|
+
'Graphify writes generated graph artifacts under graphify-out/; prefer an ignored room/session artifact directory unless the user explicitly wants repo files.',
|
|
77
|
+
'Guides are available through pibo tools guide and are not loaded into pibo profiles automatically.',
|
|
78
|
+
],
|
|
79
|
+
agentContextSnippet: [
|
|
80
|
+
'Codebase visualization CLI for graphify-out/graph.html, graph.json, and GRAPH_REPORT.md.',
|
|
81
|
+
'Start with `eval "$(npm run --silent dev -- tools env graphify)"`.',
|
|
82
|
+
'No LLM key: run `graphify .` on code, then `graphify cluster-only . --no-label`.',
|
|
83
|
+
'Guide: `npm run dev -- tools guide graphify graphify`.',
|
|
84
|
+
].join('\n'),
|
|
85
|
+
},
|
|
62
86
|
{
|
|
63
87
|
name: 'ralph',
|
|
64
88
|
description: 'Pibo-native continuous agent job runner for implementation and debugging loops.',
|
package/package.json
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: graphify
|
|
3
|
+
description: Use this skill when a user asks to graph, map, or visualize a codebase/workspace with Graphify and inspect the generated graphify-out/graph.html, graphify-out/graph.json, or graphify-out/GRAPH_REPORT.md artifacts.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Graphify Codebase Visualization
|
|
7
|
+
|
|
8
|
+
Use Graphify to turn a workspace folder into an interactive knowledge graph and report. Prefer this skill for requests like "graph this repo", "visualize this codebase", "map the workspace", or "show me the project structure as a graph".
|
|
9
|
+
|
|
10
|
+
## Prerequisites
|
|
11
|
+
|
|
12
|
+
Graphify is exposed as a curated Pibo CLI tool:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pibo tools show graphify
|
|
16
|
+
pibo tools install graphify
|
|
17
|
+
eval "$(pibo tools env graphify)"
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Inside the Pibo source repo while testing local changes, use:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm run --silent dev -- tools show graphify
|
|
24
|
+
npm run --silent dev -- tools install graphify
|
|
25
|
+
eval "$(npm run --silent dev -- tools env graphify)"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The Pibo installer uses the PyPI package `graphifyy` and runs `graphify install --platform pi` after installing the CLI.
|
|
29
|
+
|
|
30
|
+
## Workflow
|
|
31
|
+
|
|
32
|
+
1. Identify the workspace path from the active Pibo Room/session context or from the user's request.
|
|
33
|
+
2. Confirm the path is inside the intended workspace boundary before graphing.
|
|
34
|
+
3. Prefer an ignored artifact directory for generated files when possible. If you generate in the repo root, check `git status --short` before and after.
|
|
35
|
+
4. Run Graphify on the selected folder. With `graphifyy==0.9.x`, `graphify .` writes extraction output under `graphify-out/`.
|
|
36
|
+
5. If you need an HTML graph and markdown report from a code-only extraction without an LLM key, run `graphify cluster-only . --no-label` after `graphify .`.
|
|
37
|
+
6. Read `graphify-out/GRAPH_REPORT.md` first for the summary, then open `graphify-out/graph.html` when the user wants an interactive view.
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
cd /path/to/workspace
|
|
41
|
+
graphify .
|
|
42
|
+
graphify cluster-only . --no-label
|
|
43
|
+
ls graphify-out/graph.html graphify-out/graph.json graphify-out/GRAPH_REPORT.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Operating rules
|
|
47
|
+
|
|
48
|
+
- Treat `graphify-out/graph.html`, `graphify-out/graph.json`, and `graphify-out/GRAPH_REPORT.md` as derived artifacts unless the user explicitly wants them committed.
|
|
49
|
+
- Code-only extraction can run without an LLM API key. Including docs, README files, papers, images, or semantic-labeling steps may require a configured Graphify backend/API key; if no key is available, graph a code-only subdirectory or skip semantic labels with `cluster-only . --no-label`.
|
|
50
|
+
- For large monorepos, start with a focused subdirectory such as `src/`, a code package, or a docs folder only when the needed LLM backend is configured.
|
|
51
|
+
- Re-run Graphify on demand after branch or workspace changes; do not assume an old graph is current.
|
|
52
|
+
- If Graphify is unavailable, report the missing install and suggest `pibo tools install graphify` rather than hand-writing a replacement graph.
|