pi-para 0.6.7 → 0.7.0
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/ARCHITECTURE.md +4 -6
- package/CHANGELOG.md +14 -0
- package/CONFIGURATION.md +1 -16
- package/README.md +2 -13
- package/SETUP.md +1 -7
- package/STRUCTURE.md +7 -18
- package/dist/cli-legacy.d.ts +2 -1
- package/dist/cli-legacy.d.ts.map +1 -1
- package/dist/cli-legacy.js +13 -25
- package/dist/cli-legacy.js.map +1 -1
- package/dist/cli.d.ts +2 -24
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +29 -271
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -28
- package/dist/commands.js.map +1 -1
- package/dist/config.d.ts +1 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +0 -5
- package/dist/config.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -64
- package/dist/index.js.map +1 -1
- package/dist/link-utils.d.ts +1 -1
- package/dist/link-utils.js +1 -1
- package/dist/settings.d.ts +0 -3
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +0 -11
- package/dist/settings.js.map +1 -1
- package/dist/tools/edit-read.d.ts +18 -0
- package/dist/tools/edit-read.d.ts.map +1 -0
- package/dist/tools/edit-read.js +161 -0
- package/dist/tools/edit-read.js.map +1 -0
- package/dist/tools/ingest.d.ts +12 -0
- package/dist/tools/ingest.d.ts.map +1 -0
- package/dist/tools/ingest.js +48 -0
- package/dist/tools/ingest.js.map +1 -0
- package/dist/tools/lint.d.ts +10 -0
- package/dist/tools/lint.d.ts.map +1 -0
- package/dist/tools/lint.js +57 -0
- package/dist/tools/lint.js.map +1 -0
- package/dist/tools/migrate.d.ts +6 -0
- package/dist/tools/migrate.d.ts.map +1 -0
- package/dist/tools/migrate.js +36 -0
- package/dist/tools/migrate.js.map +1 -0
- package/dist/tools/move.d.ts +9 -0
- package/dist/tools/move.d.ts.map +1 -0
- package/dist/tools/move.js +61 -0
- package/dist/tools/move.js.map +1 -0
- package/dist/tools/query.d.ts +12 -0
- package/dist/tools/query.d.ts.map +1 -0
- package/dist/tools/query.js +47 -0
- package/dist/tools/query.js.map +1 -0
- package/dist/tools/schemas.d.ts +109 -0
- package/dist/tools/schemas.d.ts.map +1 -0
- package/dist/tools/schemas.js +80 -0
- package/dist/tools/schemas.js.map +1 -0
- package/dist/tools/shared.d.ts +14 -0
- package/dist/tools/shared.d.ts.map +1 -0
- package/dist/tools/shared.js +25 -0
- package/dist/tools/shared.js.map +1 -0
- package/dist/tools/summarize.d.ts +8 -0
- package/dist/tools/summarize.d.ts.map +1 -0
- package/dist/tools/summarize.js +82 -0
- package/dist/tools/summarize.js.map +1 -0
- package/dist/tools/write.d.ts +23 -0
- package/dist/tools/write.d.ts.map +1 -0
- package/dist/tools/write.js +215 -0
- package/dist/tools/write.js.map +1 -0
- package/dist/tools.d.ts +1 -8
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +13 -795
- package/dist/tools.js.map +1 -1
- package/package.json +2 -6
- package/src/cli-legacy.ts +14 -26
- package/src/cli.ts +29 -293
- package/src/commands.ts +0 -21
- package/src/config.ts +1 -6
- package/src/index.ts +5 -66
- package/src/link-utils.ts +1 -1
- package/src/settings.ts +0 -14
- package/src/tools/edit-read.ts +193 -0
- package/src/tools/ingest.ts +63 -0
- package/src/tools/lint.ts +74 -0
- package/src/tools/migrate.ts +44 -0
- package/src/tools/move.ts +79 -0
- package/src/tools/query.ts +63 -0
- package/src/tools/schemas.ts +157 -0
- package/src/tools/shared.ts +35 -0
- package/src/tools/summarize.ts +89 -0
- package/src/tools/write.ts +252 -0
- package/src/tools.ts +18 -1046
- package/dist/daemon.d.ts +0 -49
- package/dist/daemon.d.ts.map +0 -1
- package/dist/daemon.js +0 -226
- package/dist/daemon.js.map +0 -1
- package/dist/link-discovery.d.ts +0 -40
- package/dist/link-discovery.d.ts.map +0 -1
- package/dist/link-discovery.js +0 -122
- package/dist/link-discovery.js.map +0 -1
- package/dist/maintainer.d.ts +0 -24
- package/dist/maintainer.d.ts.map +0 -1
- package/dist/maintainer.js +0 -358
- package/dist/maintainer.js.map +0 -1
- package/dist/watcher.d.ts +0 -25
- package/dist/watcher.d.ts.map +0 -1
- package/dist/watcher.js +0 -84
- package/dist/watcher.js.map +0 -1
- package/dist/webui/client/dist/index.html +0 -1885
- package/dist/webui/server.d.ts +0 -31
- package/dist/webui/server.d.ts.map +0 -1
- package/dist/webui/server.js +0 -566
- package/dist/webui/server.js.map +0 -1
- package/scripts/build-assets.mjs +0 -17
- package/src/daemon.ts +0 -288
- package/src/link-discovery.ts +0 -170
- package/src/maintainer.ts +0 -404
- package/src/python/__pycache__/minimax_lm.cpython-312.pyc +0 -0
- package/src/python/minimax_lm.py +0 -198
- package/src/python/rlm_capture.py +0 -215
- package/src/watcher.ts +0 -101
- package/src/webui/client/dist/index.html +0 -1885
- package/src/webui/server.ts +0 -765
package/ARCHITECTURE.md
CHANGED
|
@@ -11,8 +11,7 @@ Pi process
|
|
|
11
11
|
├─ QMD SDK store (.qmd.sqlite)
|
|
12
12
|
├─ in-process scheduler (.pi-para.sqlite)
|
|
13
13
|
├─ tools + slash commands
|
|
14
|
-
|
|
15
|
-
└─ optional WebWiki UI
|
|
14
|
+
└─ context injection
|
|
16
15
|
```
|
|
17
16
|
|
|
18
17
|
No separate OS daemon is required. The scheduler runs while Pi is open and catches up on the next startup if Pi was closed.
|
|
@@ -142,10 +141,9 @@ Tool API contracts and behavioral guidance are separated:
|
|
|
142
141
|
|
|
143
142
|
Kept temporarily:
|
|
144
143
|
|
|
145
|
-
- `pi-para-daemon` binary
|
|
146
|
-
- `/wiki-daemon` slash command alias
|
|
147
|
-
- legacy daemon CLI subcommands,
|
|
144
|
+
- `pi-para-daemon` binary name, which exits nonzero with scheduler migration guidance,
|
|
145
|
+
- `/wiki-daemon` slash command alias for `/wiki-scheduler`,
|
|
148
146
|
- legacy config migration from `~/.pi/wiki/config.json`,
|
|
149
147
|
- legacy QMD YAML provider fallback.
|
|
150
148
|
|
|
151
|
-
Primary docs and setup
|
|
149
|
+
Primary docs and setup point users to `pi-para`, `/wiki-scheduler`, and `~/.pi/para/config.jsonc`.
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## [0.7.0] — 2026-07-18
|
|
6
|
+
|
|
7
|
+
### Removed (breaking for deprecated daemon aliases)
|
|
8
|
+
- Removed the legacy daemon subsystem: daemon, watcher, maintainer, Web Wiki server/bundle (which defaulted to binding 0.0.0.0:10973), the systemd service file, and the daemon plan. Capture and maintenance run automatically via the embedded scheduler. `pi-para daemon`/`watch` and the retained `pi-para-daemon` binary now exit nonzero with guidance pointing to `pi-para tasks` and `pi-para doctor`; legacy `webWiki` config keys are ignored with a notice.
|
|
9
|
+
- Removed the unused Python capture prototypes and compiled bytecode that were shipped in the npm package.
|
|
10
|
+
- Removed the unreferenced link-discovery module and its package export; finished implementation plans now live under `docs/archive/`.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- CLI scheduler commands (`pi-para tasks …`) now honor a configured `wiki.dir` instead of always using `~/.pi/wiki`, matching the extension's path resolution. Regressions cover custom directories and malformed-config fallback.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Split the wiki tool registrations into focused `src/tools/` modules with byte-identical tool names, schemas, descriptions, and guidance.
|
|
17
|
+
- The build script no longer copies Web Wiki assets; `npm run build` cleans `dist/` and compiles.
|
|
18
|
+
|
|
5
19
|
## [0.6.7] — 2026-07-18
|
|
6
20
|
|
|
7
21
|
### Fixed
|
package/CONFIGURATION.md
CHANGED
|
@@ -60,12 +60,6 @@ Planned/project-level overrides may use `<project>/.pi/para.jsonc` in a later sl
|
|
|
60
60
|
"lint": {
|
|
61
61
|
"autoFix": true,
|
|
62
62
|
"staleDays": 90
|
|
63
|
-
},
|
|
64
|
-
"webWiki": {
|
|
65
|
-
"enabled": false,
|
|
66
|
-
"host": "127.0.0.1",
|
|
67
|
-
"port": 10973,
|
|
68
|
-
"launch": "manual"
|
|
69
63
|
}
|
|
70
64
|
}
|
|
71
65
|
```
|
|
@@ -203,16 +197,7 @@ pi-para never uses QMD's local/node-llama-cpp LLM fallback. If no API provider i
|
|
|
203
197
|
| `autoFix` | Default lint autofix behavior |
|
|
204
198
|
| `staleDays` | Age threshold for stale pages |
|
|
205
199
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
Optional browser UI.
|
|
209
|
-
|
|
210
|
-
| Field | Meaning |
|
|
211
|
-
|---|---|
|
|
212
|
-
| `enabled` | Show/use WebWiki status |
|
|
213
|
-
| `host` | Bind host |
|
|
214
|
-
| `port` | Port |
|
|
215
|
-
| `launch` | `manual` or `disabled` |
|
|
200
|
+
Legacy `webWiki` keys are accepted for compatibility but ignored with a one-line notice because Web Wiki was removed in 0.7.
|
|
216
201
|
|
|
217
202
|
## Diagnostics
|
|
218
203
|
|
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ Default user files:
|
|
|
46
46
|
~/.pi/wiki/.qmd.sqlite # QMD SDK search index
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Legacy files such as `~/.pi/wiki/config.json
|
|
49
|
+
Legacy files such as `~/.pi/wiki/config.json` and `~/.config/qmd/index.yml` are still read for migration/compatibility.
|
|
50
50
|
|
|
51
51
|
## Core commands
|
|
52
52
|
|
|
@@ -63,7 +63,6 @@ Legacy files such as `~/.pi/wiki/config.json`, `~/.pi/wiki/.daemon.sqlite`, and
|
|
|
63
63
|
| `/wiki-summarize [target]` | Summarize a page/category/all |
|
|
64
64
|
| `/wiki-settings` | Interactive settings for config/providers/scheduler |
|
|
65
65
|
| `/wiki-scheduler [status\|queue\|history\|capture-history]` | Scheduler/capture observability |
|
|
66
|
-
| `/wiki-daemon ...` | Compatibility alias for `/wiki-scheduler` |
|
|
67
66
|
| `/wiki-migrate` | Batch-migrate pages to current schema |
|
|
68
67
|
| `/wiki-project <name> <goal>` | Create/archive project pages |
|
|
69
68
|
|
|
@@ -85,7 +84,7 @@ pi-para providers set-secret <name> <value>
|
|
|
85
84
|
pi-para providers remove-secret <name>
|
|
86
85
|
```
|
|
87
86
|
|
|
88
|
-
`pi-para-daemon`
|
|
87
|
+
The `pi-para-daemon` binary name is retained only to print migration guidance; its legacy commands were removed in 0.7.
|
|
89
88
|
|
|
90
89
|
## Tools available to agents
|
|
91
90
|
|
|
@@ -142,16 +141,6 @@ When Pi is running, pi-para starts an in-process scheduler. It handles:
|
|
|
142
141
|
|
|
143
142
|
No background OS service is required. If Pi is closed, queued work resumes on the next Pi session.
|
|
144
143
|
|
|
145
|
-
## Web Wiki UI
|
|
146
|
-
|
|
147
|
-
The optional web wiki can be enabled from `/wiki-settings`:
|
|
148
|
-
|
|
149
|
-
```text
|
|
150
|
-
/wiki-settings → [WebWiki] Enabled
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
It serves the wiki viewer/editor/graph on the configured host/port.
|
|
154
|
-
|
|
155
144
|
## Obsidian compatibility
|
|
156
145
|
|
|
157
146
|
The wiki is plain markdown with YAML frontmatter and `[[wikilinks]]`. You can open `~/.pi/wiki/` as an Obsidian vault.
|
package/SETUP.md
CHANGED
|
@@ -103,7 +103,6 @@ Legacy migration inputs:
|
|
|
103
103
|
|
|
104
104
|
```text
|
|
105
105
|
~/.pi/wiki/config.json
|
|
106
|
-
~/.pi/wiki/.daemon.sqlite
|
|
107
106
|
~/.config/qmd/index.yml
|
|
108
107
|
```
|
|
109
108
|
|
|
@@ -147,7 +146,6 @@ The settings menu writes through the same config service as the CLI. It can conf
|
|
|
147
146
|
- search limit and graph boost,
|
|
148
147
|
- lint autofix/stale days,
|
|
149
148
|
- capture model,
|
|
150
|
-
- WebWiki host/port/enabled,
|
|
151
149
|
- embedding and rerank provider profiles,
|
|
152
150
|
- local secrets.
|
|
153
151
|
|
|
@@ -197,7 +195,7 @@ Inside Pi:
|
|
|
197
195
|
/wiki-scheduler capture-history
|
|
198
196
|
```
|
|
199
197
|
|
|
200
|
-
|
|
198
|
+
The `pi-para-daemon` binary name remains only to print migration guidance and exits nonzero.
|
|
201
199
|
|
|
202
200
|
## QMD search
|
|
203
201
|
|
|
@@ -251,7 +249,3 @@ pi-para doctor
|
|
|
251
249
|
```
|
|
252
250
|
|
|
253
251
|
Then configure or disable embedding.
|
|
254
|
-
|
|
255
|
-
### Old daemon/systemd service exists
|
|
256
|
-
|
|
257
|
-
The old service is no longer required. You can leave it stopped while using the in-process scheduler. Do not start both old daemon capture and the scheduler for the same wiki unless you are intentionally testing legacy behavior.
|
package/STRUCTURE.md
CHANGED
|
@@ -7,9 +7,7 @@ README.md # user overview
|
|
|
7
7
|
SETUP.md # current setup/onboarding
|
|
8
8
|
ARCHITECTURE.md # runtime architecture
|
|
9
9
|
CONFIGURATION.md # config schema and credentials
|
|
10
|
-
|
|
11
|
-
PROVIDER_MODEL_SELECTION_PLAN.md
|
|
12
|
-
SETUP_SETTINGS_FLOW_PLAN.md
|
|
10
|
+
docs/archive/ # historical implementation plans
|
|
13
11
|
package.json
|
|
14
12
|
src/
|
|
15
13
|
test/
|
|
@@ -23,7 +21,7 @@ skills/
|
|
|
23
21
|
| Path | Purpose |
|
|
24
22
|
|---|---|
|
|
25
23
|
| `src/index.ts` | Pi extension entry point; registers lifecycle handlers/tools/commands/scheduler |
|
|
26
|
-
| `src/cli.ts` | `pi-para` and
|
|
24
|
+
| `src/cli.ts` | `pi-para` CLI and removed-daemon compatibility message |
|
|
27
25
|
| `src/commands.ts` | Pi slash commands |
|
|
28
26
|
| `src/tools.ts` | Pi tool definitions |
|
|
29
27
|
|
|
@@ -39,7 +37,7 @@ skills/
|
|
|
39
37
|
| `src/raw.ts` | Raw source storage and session digest helpers |
|
|
40
38
|
| `src/lint.ts` | Wiki health checks/autofix |
|
|
41
39
|
| `src/summarize.ts` | Summary operations |
|
|
42
|
-
| `src/link-utils.ts`, `src/
|
|
40
|
+
| `src/link-utils.ts`, `src/tag-registry.ts` | Link/tag helpers |
|
|
43
41
|
|
|
44
42
|
### Runtime/search/state
|
|
45
43
|
|
|
@@ -49,7 +47,7 @@ skills/
|
|
|
49
47
|
| `src/qmd-providers.ts` | Convert pi-para provider profiles into QMD SDK provider config |
|
|
50
48
|
| `src/context.ts` | Wiki context injection into Pi sessions |
|
|
51
49
|
| `src/wiki-tool-guidance.ts` | Shared wiki tool descriptions, prompt snippets, and behavior guidance |
|
|
52
|
-
| `src/state.ts` |
|
|
50
|
+
| `src/state.ts` | Session capture state DB helpers |
|
|
53
51
|
|
|
54
52
|
### Config/setup/diagnostics
|
|
55
53
|
|
|
@@ -76,17 +74,12 @@ src/scheduler/
|
|
|
76
74
|
└── session-capture.ts # completed-session registry and capture task handler
|
|
77
75
|
```
|
|
78
76
|
|
|
79
|
-
###
|
|
77
|
+
### Capture processing
|
|
80
78
|
|
|
81
79
|
| Path | Purpose |
|
|
82
80
|
|---|---|
|
|
83
|
-
| `src/
|
|
84
|
-
| `src/watcher.ts` | Legacy `.completed-sessions` watcher |
|
|
85
|
-
| `src/processor.ts` | Legacy session processor |
|
|
81
|
+
| `src/processor.ts` | Session processor shared by capture workflows |
|
|
86
82
|
| `src/session-tools.ts` | Session exploration tools used by capture |
|
|
87
|
-
| `src/maintainer.ts` | Legacy/maintenance helpers |
|
|
88
|
-
|
|
89
|
-
New code should avoid adding daemon-only dependencies unless intentionally maintaining compatibility.
|
|
90
83
|
|
|
91
84
|
## `test/`
|
|
92
85
|
|
|
@@ -124,8 +117,4 @@ Primary binary:
|
|
|
124
117
|
pi-para -> dist/cli.js
|
|
125
118
|
```
|
|
126
119
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
```text
|
|
130
|
-
pi-para-daemon -> dist/cli.js
|
|
131
|
-
```
|
|
120
|
+
The `pi-para-daemon` compatibility binary also points to `dist/cli.js` and exits nonzero with scheduler migration guidance.
|
package/dist/cli-legacy.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const LEGACY_DAEMON_COMMANDS: Set<string>;
|
|
2
2
|
export declare function isLegacyDaemonCommand(command: string | undefined): boolean;
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function isLegacyDaemonBinary(executablePath: string | undefined): boolean;
|
|
4
|
+
export declare function formatLegacyDaemonRemoval(command: string): string;
|
|
4
5
|
//# sourceMappingURL=cli-legacy.d.ts.map
|
package/dist/cli-legacy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-legacy.d.ts","sourceRoot":"","sources":["../src/cli-legacy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli-legacy.d.ts","sourceRoot":"","sources":["../src/cli-legacy.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,aAUjC,CAAC;AAEH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAIhF;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAMjE"}
|
package/dist/cli-legacy.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { basename } from "node:path";
|
|
1
2
|
export const LEGACY_DAEMON_COMMANDS = new Set([
|
|
3
|
+
"daemon",
|
|
4
|
+
"watch",
|
|
2
5
|
"start",
|
|
3
6
|
"stop",
|
|
4
7
|
"legacy-status",
|
|
@@ -10,32 +13,17 @@ export const LEGACY_DAEMON_COMMANDS = new Set([
|
|
|
10
13
|
export function isLegacyDaemonCommand(command) {
|
|
11
14
|
return command !== undefined && LEGACY_DAEMON_COMMANDS.has(command);
|
|
12
15
|
}
|
|
13
|
-
export function
|
|
14
|
-
|
|
16
|
+
export function isLegacyDaemonBinary(executablePath) {
|
|
17
|
+
if (!executablePath)
|
|
18
|
+
return false;
|
|
19
|
+
const name = basename(executablePath.replaceAll("\\", "/")).toLowerCase();
|
|
20
|
+
return name === "pi-para-daemon" || name === "pi-para-daemon.cmd" || name === "pi-para-daemon.exe";
|
|
21
|
+
}
|
|
22
|
+
export function formatLegacyDaemonRemoval(command) {
|
|
15
23
|
return [
|
|
16
|
-
`[pi-para]
|
|
17
|
-
"
|
|
18
|
-
|
|
24
|
+
`[pi-para] Legacy daemon command '${command}' was removed in 0.7.`,
|
|
25
|
+
"Capture and maintenance run automatically via the embedded scheduler.",
|
|
26
|
+
"Use 'pi-para tasks' to inspect scheduler work and 'pi-para doctor' for diagnostics.",
|
|
19
27
|
].join("\n");
|
|
20
28
|
}
|
|
21
|
-
function replacementForLegacyCommand(command) {
|
|
22
|
-
switch (command) {
|
|
23
|
-
case "start":
|
|
24
|
-
return "'pi-para setup' and restart Pi";
|
|
25
|
-
case "stop":
|
|
26
|
-
return "'/wiki-scheduler status' or close/restart Pi sessions";
|
|
27
|
-
case "legacy-status":
|
|
28
|
-
return "'pi-para tasks' or '/wiki-scheduler status'";
|
|
29
|
-
case "process":
|
|
30
|
-
return "'pi-para capture-recent --hours N' or '/wiki-capture'";
|
|
31
|
-
case "process-recent":
|
|
32
|
-
return "'pi-para capture-recent --hours N'";
|
|
33
|
-
case "retry-failed":
|
|
34
|
-
return "'pi-para tasks retry'";
|
|
35
|
-
case "history":
|
|
36
|
-
return "'pi-para tasks history'";
|
|
37
|
-
default:
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
29
|
//# sourceMappingURL=cli-legacy.js.map
|
package/dist/cli-legacy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-legacy.js","sourceRoot":"","sources":["../src/cli-legacy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;IAC5C,OAAO;IACP,MAAM;IACN,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,cAAc;IACd,SAAS;CACV,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CAAC,OAA2B;IAC/D,OAAO,OAAO,KAAK,SAAS,IAAI,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"cli-legacy.js","sourceRoot":"","sources":["../src/cli-legacy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;IAC5C,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,cAAc;IACd,SAAS;CACV,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CAAC,OAA2B;IAC/D,OAAO,OAAO,KAAK,SAAS,IAAI,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,cAAkC;IACrE,IAAI,CAAC,cAAc;QAAE,OAAO,KAAK,CAAC;IAClC,MAAM,IAAI,GAAG,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAC1E,OAAO,IAAI,KAAK,gBAAgB,IAAI,IAAI,KAAK,oBAAoB,IAAI,IAAI,KAAK,oBAAoB,CAAC;AACrG,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,OAAe;IACvD,OAAO;QACL,oCAAoC,OAAO,uBAAuB;QAClE,uEAAuE;QACvE,qFAAqF;KACtF,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
package/dist/cli.d.ts
CHANGED
|
@@ -2,29 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* CLI for pi-para.
|
|
4
4
|
*
|
|
5
|
-
* The
|
|
5
|
+
* The pi-para-daemon binary remains only to report the legacy daemon removal.
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
model: import("@earendil-works/pi-ai").Model<any>;
|
|
9
|
-
getApiKey: (provider: string) => Promise<string | undefined>;
|
|
10
|
-
} | {
|
|
11
|
-
model: {
|
|
12
|
-
id: any;
|
|
13
|
-
name: any;
|
|
14
|
-
provider: string;
|
|
15
|
-
api: "openai-completions" | "anthropic-messages";
|
|
16
|
-
baseUrl: any;
|
|
17
|
-
reasoning: boolean;
|
|
18
|
-
input: "text"[];
|
|
19
|
-
cost: {
|
|
20
|
-
input: number;
|
|
21
|
-
output: number;
|
|
22
|
-
cacheRead: number;
|
|
23
|
-
cacheWrite: number;
|
|
24
|
-
};
|
|
25
|
-
contextWindow: number;
|
|
26
|
-
maxTokens: number;
|
|
27
|
-
};
|
|
28
|
-
getApiKey: (_provider: string) => Promise<string>;
|
|
29
|
-
}>;
|
|
7
|
+
export {};
|
|
30
8
|
//# sourceMappingURL=cli.d.ts.map
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;GAIG"}
|