@agimon-ai/po 0.0.0-alpha.216 → 0.0.0-alpha.217

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 (73) hide show
  1. package/README.md +12 -1
  2. package/dist/catalog/index.json +126 -126
  3. package/dist/extensions/server.cjs +4 -1
  4. package/dist/extensions/server.cjs.map +1 -1
  5. package/dist/extensions/server.d.mts.map +1 -1
  6. package/dist/extensions/server.mjs +4 -1
  7. package/dist/extensions/server.mjs.map +1 -1
  8. package/dist/help.cjs +5 -3
  9. package/dist/help.d.mts +2 -1
  10. package/dist/help.mjs +2 -1
  11. package/dist/locales/vi.cjs +6 -1
  12. package/dist/locales/vi.mjs +6 -1
  13. package/dist/locales/zh-CN.cjs +6 -1
  14. package/dist/locales/zh-CN.mjs +6 -1
  15. package/dist/package.cjs +1 -1
  16. package/dist/package.mjs +1 -1
  17. package/dist/src/bin/agentDirectory.cjs +20 -4
  18. package/dist/src/bin/agentDirectory.cjs.map +1 -1
  19. package/dist/src/bin/agentDirectory.mjs +20 -4
  20. package/dist/src/bin/agentDirectory.mjs.map +1 -1
  21. package/dist/src/builders/server/hostModelGateway.cjs +11 -16
  22. package/dist/src/builders/server/hostModelGateway.cjs.map +1 -1
  23. package/dist/src/builders/server/hostModelGateway.mjs +11 -16
  24. package/dist/src/builders/server/hostModelGateway.mjs.map +1 -1
  25. package/dist/src/builders/server/modelSettings.cjs +51 -0
  26. package/dist/src/builders/server/modelSettings.cjs.map +1 -0
  27. package/dist/src/builders/server/modelSettings.mjs +51 -0
  28. package/dist/src/builders/server/modelSettings.mjs.map +1 -0
  29. package/dist/src/builders/server/runtime.cjs +21 -15
  30. package/dist/src/builders/server/runtime.cjs.map +1 -1
  31. package/dist/src/builders/server/runtime.mjs +21 -15
  32. package/dist/src/builders/server/runtime.mjs.map +1 -1
  33. package/dist/src/builders/server/sandboxRouter.cjs +1 -1
  34. package/dist/src/builders/server/sandboxRouter.mjs +1 -1
  35. package/dist/src/cli/cliApp.cjs +4 -0
  36. package/dist/src/cli/cliApp.cjs.map +1 -1
  37. package/dist/src/cli/cliApp.d.mts.map +1 -1
  38. package/dist/src/cli/cliApp.mjs +4 -0
  39. package/dist/src/cli/cliApp.mjs.map +1 -1
  40. package/dist/src/cli/commands/doctor/index.cjs +7 -1
  41. package/dist/src/cli/commands/doctor/index.cjs.map +1 -1
  42. package/dist/src/cli/commands/doctor/index.d.mts.map +1 -1
  43. package/dist/src/cli/commands/doctor/index.mjs +8 -2
  44. package/dist/src/cli/commands/doctor/index.mjs.map +1 -1
  45. package/dist/src/cli/commands/install-pi/help.cjs +25 -0
  46. package/dist/src/cli/commands/install-pi/help.cjs.map +1 -0
  47. package/dist/src/cli/commands/install-pi/help.d.mts +4 -0
  48. package/dist/src/cli/commands/install-pi/help.d.mts.map +1 -0
  49. package/dist/src/cli/commands/install-pi/help.mjs +25 -0
  50. package/dist/src/cli/commands/install-pi/help.mjs.map +1 -0
  51. package/dist/src/cli/commands/install-pi/index.cjs +79 -0
  52. package/dist/src/cli/commands/install-pi/index.cjs.map +1 -0
  53. package/dist/src/cli/commands/install-pi/index.mjs +76 -0
  54. package/dist/src/cli/commands/install-pi/index.mjs.map +1 -0
  55. package/dist/src/cli/help.cjs +5 -0
  56. package/dist/src/cli/help.cjs.map +1 -1
  57. package/dist/src/cli/help.d.mts +2 -1
  58. package/dist/src/cli/help.d.mts.map +1 -1
  59. package/dist/src/cli/help.mjs +5 -1
  60. package/dist/src/cli/help.mjs.map +1 -1
  61. package/dist/src/cli/router.cjs +2 -1
  62. package/dist/src/cli/router.cjs.map +1 -1
  63. package/dist/src/cli/router.d.mts +1 -1
  64. package/dist/src/cli/router.mjs +2 -1
  65. package/dist/src/cli/router.mjs.map +1 -1
  66. package/dist/src/composition/piAgentImport/index.cjs +213 -0
  67. package/dist/src/composition/piAgentImport/index.cjs.map +1 -0
  68. package/dist/src/composition/piAgentImport/index.mjs +210 -0
  69. package/dist/src/composition/piAgentImport/index.mjs.map +1 -0
  70. package/docs/server/getting-started.md +1 -1
  71. package/locales/vi.json +6 -1
  72. package/locales/zh-CN.json +6 -1
  73. package/package.json +34 -34
package/README.md CHANGED
@@ -15,6 +15,16 @@ po
15
15
 
16
16
  `po init` seeds personal configuration under `~/.po`, preserving existing files unless `--force` is used. `po sync` installs configured packages and prepares shared browser/native and MCP artifacts. Bare `po` starts Po Web, which supervises a headless child; it prints installation guidance if the presentation package is missing.
17
17
 
18
+ ### Providers
19
+
20
+ Po owns its provider settings. The default model, default thinking effort, pinned models and extra provider packages live in `~/.po/config.yaml` and under **Settings > Providers**. Po reads `~/.pi/agent` only for a one-time import on first start, so `pi install` does not reach Po. Install a Pi provider package with:
21
+
22
+ ```bash
23
+ po install-pi npm:<package> # or git:<host>/<repo>, or a local path
24
+ ```
25
+
26
+ npm and git packages install under `~/.po/agent`. Local paths are saved as absolute paths and load in place. Each source is added once to `providers.packages`; restart Po to load it. Starting a session never installs a package: a listed package that is not installed is skipped with a notice.
27
+
18
28
  For direct server clients, use [`po-server`](docs/server/index.md) with a private token file. The executable is part of this package, not an extension to add to `presets.yaml`.
19
29
 
20
30
  ## Choose what a session loads
@@ -35,9 +45,10 @@ Inspect a selection before starting a model:
35
45
  ```bash
36
46
  po --preset copilot --no-domains --explain
37
47
  po sync --check
48
+ po doctor
38
49
  ```
39
50
 
40
- `--explain` can inspect MCP servers and execute their configured startup commands. Add `--no-mcp` when that inspection is unwanted. `sync --check` is read-only and reports missing packages or shared builds; it does not prove runtime behavior or API compatibility.
51
+ `--explain` can inspect MCP servers and execute their configured startup commands. Add `--no-mcp` when that inspection is unwanted. `sync --check` is read-only and reports missing packages or shared builds; it does not prove runtime behavior or API compatibility. `po doctor` runs a read-only installation check that strictly validates `.po/config.yaml` and `.po/presets.yaml` (including unsupported keys that `po sync` ignores), reports everything `po sync --check` reports, and exits non-zero when any check fails.
41
52
 
42
53
  See [Getting started](https://github.com/AgiFlow/po/blob/main/docs/getting-started.md) and [Architecture](https://github.com/AgiFlow/po/blob/main/docs/architecture.md#configuration) for configuration and extension ownership. Activate Help in a session for installed package guidance.
43
54