pi-para 0.6.6 → 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.
Files changed (140) hide show
  1. package/ARCHITECTURE.md +4 -6
  2. package/CHANGELOG.md +22 -0
  3. package/CONFIGURATION.md +1 -16
  4. package/README.md +2 -13
  5. package/SETUP.md +1 -7
  6. package/STRUCTURE.md +7 -18
  7. package/dist/cli-legacy.d.ts +2 -1
  8. package/dist/cli-legacy.d.ts.map +1 -1
  9. package/dist/cli-legacy.js +13 -25
  10. package/dist/cli-legacy.js.map +1 -1
  11. package/dist/cli.d.ts +2 -24
  12. package/dist/cli.d.ts.map +1 -1
  13. package/dist/cli.js +29 -271
  14. package/dist/cli.js.map +1 -1
  15. package/dist/commands.d.ts.map +1 -1
  16. package/dist/commands.js +1 -28
  17. package/dist/commands.js.map +1 -1
  18. package/dist/config.d.ts +1 -5
  19. package/dist/config.d.ts.map +1 -1
  20. package/dist/config.js +0 -5
  21. package/dist/config.js.map +1 -1
  22. package/dist/context.d.ts.map +1 -1
  23. package/dist/context.js +2 -1
  24. package/dist/context.js.map +1 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +6 -64
  27. package/dist/index.js.map +1 -1
  28. package/dist/link-utils.d.ts +1 -1
  29. package/dist/link-utils.js +1 -1
  30. package/dist/scheduler/index.d.ts.map +1 -1
  31. package/dist/scheduler/index.js +9 -3
  32. package/dist/scheduler/index.js.map +1 -1
  33. package/dist/settings.d.ts +0 -3
  34. package/dist/settings.d.ts.map +1 -1
  35. package/dist/settings.js +0 -11
  36. package/dist/settings.js.map +1 -1
  37. package/dist/store.d.ts +11 -0
  38. package/dist/store.d.ts.map +1 -1
  39. package/dist/store.js +48 -16
  40. package/dist/store.js.map +1 -1
  41. package/dist/tools/edit-read.d.ts +18 -0
  42. package/dist/tools/edit-read.d.ts.map +1 -0
  43. package/dist/tools/edit-read.js +161 -0
  44. package/dist/tools/edit-read.js.map +1 -0
  45. package/dist/tools/ingest.d.ts +12 -0
  46. package/dist/tools/ingest.d.ts.map +1 -0
  47. package/dist/tools/ingest.js +48 -0
  48. package/dist/tools/ingest.js.map +1 -0
  49. package/dist/tools/lint.d.ts +10 -0
  50. package/dist/tools/lint.d.ts.map +1 -0
  51. package/dist/tools/lint.js +57 -0
  52. package/dist/tools/lint.js.map +1 -0
  53. package/dist/tools/migrate.d.ts +6 -0
  54. package/dist/tools/migrate.d.ts.map +1 -0
  55. package/dist/tools/migrate.js +36 -0
  56. package/dist/tools/migrate.js.map +1 -0
  57. package/dist/tools/move.d.ts +9 -0
  58. package/dist/tools/move.d.ts.map +1 -0
  59. package/dist/tools/move.js +61 -0
  60. package/dist/tools/move.js.map +1 -0
  61. package/dist/tools/query.d.ts +12 -0
  62. package/dist/tools/query.d.ts.map +1 -0
  63. package/dist/tools/query.js +47 -0
  64. package/dist/tools/query.js.map +1 -0
  65. package/dist/tools/schemas.d.ts +109 -0
  66. package/dist/tools/schemas.d.ts.map +1 -0
  67. package/dist/tools/schemas.js +80 -0
  68. package/dist/tools/schemas.js.map +1 -0
  69. package/dist/tools/shared.d.ts +14 -0
  70. package/dist/tools/shared.d.ts.map +1 -0
  71. package/dist/tools/shared.js +25 -0
  72. package/dist/tools/shared.js.map +1 -0
  73. package/dist/tools/summarize.d.ts +8 -0
  74. package/dist/tools/summarize.d.ts.map +1 -0
  75. package/dist/tools/summarize.js +82 -0
  76. package/dist/tools/summarize.js.map +1 -0
  77. package/dist/tools/write.d.ts +23 -0
  78. package/dist/tools/write.d.ts.map +1 -0
  79. package/dist/tools/write.js +215 -0
  80. package/dist/tools/write.js.map +1 -0
  81. package/dist/tools.d.ts +1 -8
  82. package/dist/tools.d.ts.map +1 -1
  83. package/dist/tools.js +13 -795
  84. package/dist/tools.js.map +1 -1
  85. package/dist/wiki-tool-guidance.js +2 -2
  86. package/dist/wiki-tool-guidance.js.map +1 -1
  87. package/package.json +2 -6
  88. package/src/cli-legacy.ts +14 -26
  89. package/src/cli.ts +29 -293
  90. package/src/commands.ts +0 -21
  91. package/src/config.ts +1 -6
  92. package/src/context.ts +2 -1
  93. package/src/index.ts +5 -66
  94. package/src/link-utils.ts +1 -1
  95. package/src/scheduler/index.ts +9 -3
  96. package/src/settings.ts +0 -14
  97. package/src/store.ts +52 -15
  98. package/src/tools/edit-read.ts +193 -0
  99. package/src/tools/ingest.ts +63 -0
  100. package/src/tools/lint.ts +74 -0
  101. package/src/tools/migrate.ts +44 -0
  102. package/src/tools/move.ts +79 -0
  103. package/src/tools/query.ts +63 -0
  104. package/src/tools/schemas.ts +157 -0
  105. package/src/tools/shared.ts +35 -0
  106. package/src/tools/summarize.ts +89 -0
  107. package/src/tools/write.ts +252 -0
  108. package/src/tools.ts +18 -1046
  109. package/src/wiki-tool-guidance.ts +2 -2
  110. package/dist/daemon.d.ts +0 -49
  111. package/dist/daemon.d.ts.map +0 -1
  112. package/dist/daemon.js +0 -226
  113. package/dist/daemon.js.map +0 -1
  114. package/dist/link-discovery.d.ts +0 -40
  115. package/dist/link-discovery.d.ts.map +0 -1
  116. package/dist/link-discovery.js +0 -122
  117. package/dist/link-discovery.js.map +0 -1
  118. package/dist/maintainer.d.ts +0 -24
  119. package/dist/maintainer.d.ts.map +0 -1
  120. package/dist/maintainer.js +0 -358
  121. package/dist/maintainer.js.map +0 -1
  122. package/dist/watcher.d.ts +0 -25
  123. package/dist/watcher.d.ts.map +0 -1
  124. package/dist/watcher.js +0 -84
  125. package/dist/watcher.js.map +0 -1
  126. package/dist/webui/client/dist/index.html +0 -1885
  127. package/dist/webui/server.d.ts +0 -31
  128. package/dist/webui/server.d.ts.map +0 -1
  129. package/dist/webui/server.js +0 -566
  130. package/dist/webui/server.js.map +0 -1
  131. package/scripts/build-assets.mjs +0 -17
  132. package/src/daemon.ts +0 -288
  133. package/src/link-discovery.ts +0 -170
  134. package/src/maintainer.ts +0 -404
  135. package/src/python/__pycache__/minimax_lm.cpython-312.pyc +0 -0
  136. package/src/python/minimax_lm.py +0 -198
  137. package/src/python/rlm_capture.py +0 -215
  138. package/src/watcher.ts +0 -101
  139. package/src/webui/client/dist/index.html +0 -1885
  140. 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
- ├─ context injection
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 alias,
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 should point users to `pi-para`, `/wiki-scheduler`, and `~/.pi/para/config.jsonc`.
149
+ Primary docs and setup point users to `pi-para`, `/wiki-scheduler`, and `~/.pi/para/config.jsonc`.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
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
+
19
+ ## [0.6.7] — 2026-07-18
20
+
21
+ ### Fixed
22
+ - Recoverable embedding-provider failures during background embedding and best-effort vector search no longer flash raw `embed error:`/`embedBatch error:` output; they are captured per operation and fall back quietly to BM25 while durable scheduler retry history keeps deduplicated provider causes. Unrelated `console.error` output still passes through.
23
+
24
+ ### Changed
25
+ - The wiki system reminder now opens with a MANDATORY FIRST STEP instruction: for any non-trivial request, the first tool call must be `wiki_query` with keywords from the request, followed by `wiki_read` of relevant results. `wiki_query` tool guidelines and the centralized wiki tool guidance were strengthened to match.
26
+
5
27
  ## [0.6.6] — 2026-07-17
6
28
 
7
29
  ### 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
- ### `webWiki`
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`, `~/.pi/wiki/.daemon.sqlite`, and `~/.config/qmd/index.yml` are still read for migration/compatibility.
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` remains as a temporary compatibility binary, but the primary runtime is the in-process scheduler. Legacy daemon status is available as `pi-para legacy-status` for troubleshooting old installs.
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
- `/wiki-daemon` and `pi-para-daemon` remain compatibility aliases for older workflows.
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
- NO_DAEMON_REFACTOR_ROADMAP.md # implementation roadmap/history
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 compatibility `pi-para-daemon` CLI |
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/link-discovery.ts`, `src/tag-registry.ts` | Link/tag helpers |
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` | Legacy/session capture state DB helpers |
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
- ### Legacy/compatibility
77
+ ### Capture processing
80
78
 
81
79
  | Path | Purpose |
82
80
  |---|---|
83
- | `src/daemon.ts` | Legacy daemon foreground mode |
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
- Compatibility binary:
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.
@@ -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 formatLegacyDaemonWarning(command: string): string;
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
@@ -1 +1 @@
1
- {"version":3,"file":"cli-legacy.d.ts","sourceRoot":"","sources":["../src/cli-legacy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,aAQjC,CAAC;AAEH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAOjE"}
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"}
@@ -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 formatLegacyDaemonWarning(command) {
14
- const replacement = replacementForLegacyCommand(command);
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] Warning: '${command}' is a deprecated legacy daemon command.`,
17
- "pi-para now uses an in-process scheduler while Pi is open; no system daemon is required.",
18
- replacement ? `Use ${replacement} for the current workflow.` : "Use 'pi-para tasks' or '/wiki-scheduler status' for the current workflow.",
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
@@ -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,yBAAyB,CAAC,OAAe;IACvD,MAAM,WAAW,GAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;IACzD,OAAO;QACL,uBAAuB,OAAO,0CAA0C;QACxE,0FAA0F;QAC1F,WAAW,CAAC,CAAC,CAAC,OAAO,WAAW,4BAA4B,CAAC,CAAC,CAAC,2EAA2E;KAC3I,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED,SAAS,2BAA2B,CAAC,OAAe;IAClD,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,OAAO;YACV,OAAO,gCAAgC,CAAC;QAC1C,KAAK,MAAM;YACT,OAAO,uDAAuD,CAAC;QACjE,KAAK,eAAe;YAClB,OAAO,6CAA6C,CAAC;QACvD,KAAK,SAAS;YACZ,OAAO,uDAAuD,CAAC;QACjE,KAAK,gBAAgB;YACnB,OAAO,oCAAoC,CAAC;QAC9C,KAAK,cAAc;YACjB,OAAO,uBAAuB,CAAC;QACjC,KAAK,SAAS;YACZ,OAAO,yBAAyB,CAAC;QACnC;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC"}
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 old pi-para-daemon commands remain as deprecated compatibility aliases.
5
+ * The pi-para-daemon binary remains only to report the legacy daemon removal.
6
6
  */
7
- export declare function createModel(modelArg?: string): Promise<{
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;AAeH,wBAAsB,WAAW,CAAC,QAAQ,CAAC,EAAE,MAAM;;0BAiDR,MAAM;;;;;;;;;;;;;;;;;;;2BAgDE,MAAM;GAMxD"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;GAIG"}