@agimon-ai/po 0.0.0-alpha.215 → 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.
- package/README.md +12 -1
- package/dist/catalog/index.json +126 -126
- package/dist/extensions/server.cjs +4 -1
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.d.mts.map +1 -1
- package/dist/extensions/server.mjs +4 -1
- package/dist/extensions/server.mjs.map +1 -1
- package/dist/help.cjs +5 -3
- package/dist/help.d.mts +2 -1
- package/dist/help.mjs +2 -1
- package/dist/locales/vi.cjs +6 -1
- package/dist/locales/vi.mjs +6 -1
- package/dist/locales/zh-CN.cjs +6 -1
- package/dist/locales/zh-CN.mjs +6 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/dist/src/bin/agentDirectory.cjs +20 -4
- package/dist/src/bin/agentDirectory.cjs.map +1 -1
- package/dist/src/bin/agentDirectory.mjs +20 -4
- package/dist/src/bin/agentDirectory.mjs.map +1 -1
- package/dist/src/builders/server/hostModelGateway.cjs +11 -16
- package/dist/src/builders/server/hostModelGateway.cjs.map +1 -1
- package/dist/src/builders/server/hostModelGateway.mjs +11 -16
- package/dist/src/builders/server/hostModelGateway.mjs.map +1 -1
- package/dist/src/builders/server/modelSettings.cjs +51 -0
- package/dist/src/builders/server/modelSettings.cjs.map +1 -0
- package/dist/src/builders/server/modelSettings.mjs +51 -0
- package/dist/src/builders/server/modelSettings.mjs.map +1 -0
- package/dist/src/builders/server/runtime.cjs +21 -15
- package/dist/src/builders/server/runtime.cjs.map +1 -1
- package/dist/src/builders/server/runtime.mjs +21 -15
- package/dist/src/builders/server/runtime.mjs.map +1 -1
- package/dist/src/builders/server/sandboxRouter.cjs +1 -1
- package/dist/src/builders/server/sandboxRouter.mjs +1 -1
- package/dist/src/cli/cliApp.cjs +4 -0
- package/dist/src/cli/cliApp.cjs.map +1 -1
- package/dist/src/cli/cliApp.d.mts.map +1 -1
- package/dist/src/cli/cliApp.mjs +4 -0
- package/dist/src/cli/cliApp.mjs.map +1 -1
- package/dist/src/cli/commands/doctor/index.cjs +7 -1
- package/dist/src/cli/commands/doctor/index.cjs.map +1 -1
- package/dist/src/cli/commands/doctor/index.d.mts.map +1 -1
- package/dist/src/cli/commands/doctor/index.mjs +8 -2
- package/dist/src/cli/commands/doctor/index.mjs.map +1 -1
- package/dist/src/cli/commands/install-pi/help.cjs +25 -0
- package/dist/src/cli/commands/install-pi/help.cjs.map +1 -0
- package/dist/src/cli/commands/install-pi/help.d.mts +4 -0
- package/dist/src/cli/commands/install-pi/help.d.mts.map +1 -0
- package/dist/src/cli/commands/install-pi/help.mjs +25 -0
- package/dist/src/cli/commands/install-pi/help.mjs.map +1 -0
- package/dist/src/cli/commands/install-pi/index.cjs +79 -0
- package/dist/src/cli/commands/install-pi/index.cjs.map +1 -0
- package/dist/src/cli/commands/install-pi/index.mjs +76 -0
- package/dist/src/cli/commands/install-pi/index.mjs.map +1 -0
- package/dist/src/cli/help.cjs +5 -0
- package/dist/src/cli/help.cjs.map +1 -1
- package/dist/src/cli/help.d.mts +2 -1
- package/dist/src/cli/help.d.mts.map +1 -1
- package/dist/src/cli/help.mjs +5 -1
- package/dist/src/cli/help.mjs.map +1 -1
- package/dist/src/cli/router.cjs +2 -1
- package/dist/src/cli/router.cjs.map +1 -1
- package/dist/src/cli/router.d.mts +1 -1
- package/dist/src/cli/router.mjs +2 -1
- package/dist/src/cli/router.mjs.map +1 -1
- package/dist/src/composition/piAgentImport/index.cjs +213 -0
- package/dist/src/composition/piAgentImport/index.cjs.map +1 -0
- package/dist/src/composition/piAgentImport/index.mjs +210 -0
- package/dist/src/composition/piAgentImport/index.mjs.map +1 -0
- package/docs/server/getting-started.md +1 -1
- package/locales/vi.json +6 -1
- package/locales/zh-CN.json +6 -1
- 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
|
|