@agimon-ai/po-config 0.0.0-alpha.0 → 0.0.0-stage
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 +2 -169
- package/package.json +3 -203
- package/LICENSE +0 -21
- package/dist/agentPluginMcp.cjs +0 -322
- package/dist/agentPluginMcp.cjs.map +0 -1
- package/dist/agentPluginMcp.d.mts +0 -38
- package/dist/agentPluginMcp.d.mts.map +0 -1
- package/dist/agentPluginMcp.mjs +0 -318
- package/dist/agentPluginMcp.mjs.map +0 -1
- package/dist/apiContracts.cjs +0 -203
- package/dist/apiContracts.cjs.map +0 -1
- package/dist/apiContracts.d.mts +0 -53
- package/dist/apiContracts.d.mts.map +0 -1
- package/dist/apiContracts.mjs +0 -198
- package/dist/apiContracts.mjs.map +0 -1
- package/dist/atomicJson-1W0WhuFF.mjs +0 -44
- package/dist/atomicJson-1W0WhuFF.mjs.map +0 -1
- package/dist/atomicJson-Dt2z_DXl.cjs +0 -52
- package/dist/atomicJson-Dt2z_DXl.cjs.map +0 -1
- package/dist/atomicJson.cjs +0 -3
- package/dist/atomicJson.d.mts +0 -2
- package/dist/atomicJson.mjs +0 -2
- package/dist/config-BUw5kHsx.cjs +0 -219
- package/dist/config-BUw5kHsx.cjs.map +0 -1
- package/dist/config-CKA07FxG.mjs +0 -162
- package/dist/config-CKA07FxG.mjs.map +0 -1
- package/dist/config-Cm3EV1jp.d.mts +0 -320
- package/dist/config-Cm3EV1jp.d.mts.map +0 -1
- package/dist/config-NSHRd6na.mjs +0 -2
- package/dist/config-zZz80Mh5.cjs +0 -1
- package/dist/config.cjs +0 -24
- package/dist/config.d.mts +0 -3
- package/dist/config.mjs +0 -3
- package/dist/configPolicy--TNX7feH.mjs +0 -718
- package/dist/configPolicy--TNX7feH.mjs.map +0 -1
- package/dist/configPolicy-DmsZEp0t.cjs +0 -795
- package/dist/configPolicy-DmsZEp0t.cjs.map +0 -1
- package/dist/configSchema.cjs +0 -0
- package/dist/configSchema.d.mts +0 -2
- package/dist/configSchema.mjs +0 -1
- package/dist/configWriter-BTuinLjs.cjs +0 -150
- package/dist/configWriter-BTuinLjs.cjs.map +0 -1
- package/dist/configWriter-BgkGaLrf.mjs +0 -130
- package/dist/configWriter-BgkGaLrf.mjs.map +0 -1
- package/dist/configWriter.cjs +0 -5
- package/dist/configWriter.d.mts +0 -2
- package/dist/configWriter.mjs +0 -2
- package/dist/domains-CBYkuxs5.cjs +0 -727
- package/dist/domains-CBYkuxs5.cjs.map +0 -1
- package/dist/domains-DZOu9vYM.mjs +0 -633
- package/dist/domains-DZOu9vYM.mjs.map +0 -1
- package/dist/domains.cjs +0 -19
- package/dist/domains.d.mts +0 -3
- package/dist/domains.mjs +0 -3
- package/dist/extensions/mcp-ui.mjs +0 -101
- package/dist/extensions/mcp-ui.mjs.map +0 -1
- package/dist/extensions/mcp.cjs +0 -171
- package/dist/extensions/mcp.cjs.map +0 -1
- package/dist/extensions/mcp.d.mts +0 -5
- package/dist/extensions/mcp.d.mts.map +0 -1
- package/dist/extensions/mcp.mjs +0 -166
- package/dist/extensions/mcp.mjs.map +0 -1
- package/dist/extensions/server.cjs +0 -504
- package/dist/extensions/server.cjs.map +0 -1
- package/dist/extensions/server.d.mts +0 -5
- package/dist/extensions/server.d.mts.map +0 -1
- package/dist/extensions/server.mjs +0 -499
- package/dist/extensions/server.mjs.map +0 -1
- package/dist/harnessState-CCyBeutB.cjs +0 -188
- package/dist/harnessState-CCyBeutB.cjs.map +0 -1
- package/dist/harnessState-Dn_S7fB9.mjs +0 -163
- package/dist/harnessState-Dn_S7fB9.mjs.map +0 -1
- package/dist/harnessState.cjs +0 -6
- package/dist/harnessState.d.mts +0 -2
- package/dist/harnessState.mjs +0 -2
- package/dist/harnessStore-CJSxdSkV.cjs +0 -343
- package/dist/harnessStore-CJSxdSkV.cjs.map +0 -1
- package/dist/harnessStore-CltwLB7M.mjs +0 -262
- package/dist/harnessStore-CltwLB7M.mjs.map +0 -1
- package/dist/harnessStore.cjs +0 -15
- package/dist/harnessStore.d.mts +0 -2
- package/dist/harnessStore.mjs +0 -2
- package/dist/index-BAaTySaM.d.mts +0 -35
- package/dist/index-BAaTySaM.d.mts.map +0 -1
- package/dist/index-BT29GZx5.d.mts +0 -142
- package/dist/index-BT29GZx5.d.mts.map +0 -1
- package/dist/index-B_lp0W3U.d.mts +0 -114
- package/dist/index-B_lp0W3U.d.mts.map +0 -1
- package/dist/index-C6GaYjq-.d.mts +0 -6
- package/dist/index-C6GaYjq-.d.mts.map +0 -1
- package/dist/index-CIQrKS1A.d.mts +0 -50
- package/dist/index-CIQrKS1A.d.mts.map +0 -1
- package/dist/index-CRcoVYXz.d.mts +0 -39
- package/dist/index-CRcoVYXz.d.mts.map +0 -1
- package/dist/index-CVlciCJF.d.mts +0 -40
- package/dist/index-CVlciCJF.d.mts.map +0 -1
- package/dist/index-CeOk2kqs.d.mts +0 -118
- package/dist/index-CeOk2kqs.d.mts.map +0 -1
- package/dist/index-Ch7ptOkW.d.mts +0 -54
- package/dist/index-Ch7ptOkW.d.mts.map +0 -1
- package/dist/index-Cvdt-Y-i.d.mts +0 -66
- package/dist/index-Cvdt-Y-i.d.mts.map +0 -1
- package/dist/index-DJpG-I9K.d.mts +0 -122
- package/dist/index-DJpG-I9K.d.mts.map +0 -1
- package/dist/index-DNk4q0Qm.d.mts +0 -81
- package/dist/index-DNk4q0Qm.d.mts.map +0 -1
- package/dist/index.cjs +0 -121
- package/dist/index.d.mts +0 -15
- package/dist/index.mjs +0 -15
- package/dist/init-C_9nyp3-.cjs +0 -448
- package/dist/init-C_9nyp3-.cjs.map +0 -1
- package/dist/init-DJ6wm-dr.mjs +0 -415
- package/dist/init-DJ6wm-dr.mjs.map +0 -1
- package/dist/init.cjs +0 -7
- package/dist/init.d.mts +0 -2
- package/dist/init.mjs +0 -2
- package/dist/layeredConfig-B922ibgn.mjs +0 -67
- package/dist/layeredConfig-B922ibgn.mjs.map +0 -1
- package/dist/layeredConfig-DdI5ysUf.cjs +0 -94
- package/dist/layeredConfig-DdI5ysUf.cjs.map +0 -1
- package/dist/layeredConfig.cjs +0 -6
- package/dist/layeredConfig.d.mts +0 -2
- package/dist/layeredConfig.mjs +0 -2
- package/dist/majorModes-CmPLEpMT.mjs +0 -333
- package/dist/majorModes-CmPLEpMT.mjs.map +0 -1
- package/dist/majorModes-DPhVMuhT.cjs +0 -383
- package/dist/majorModes-DPhVMuhT.cjs.map +0 -1
- package/dist/majorModes.cjs +0 -10
- package/dist/majorModes.d.mts +0 -2
- package/dist/majorModes.mjs +0 -2
- package/dist/piConfig-Bx26HMb_.d.mts +0 -33
- package/dist/piConfig-Bx26HMb_.d.mts.map +0 -1
- package/dist/piConfig-CCBdZXQr.cjs +0 -260
- package/dist/piConfig-CCBdZXQr.cjs.map +0 -1
- package/dist/piConfig-qGyCbcVj.mjs +0 -197
- package/dist/piConfig-qGyCbcVj.mjs.map +0 -1
- package/dist/piConfig.cjs +0 -12
- package/dist/piConfig.d.mts +0 -2
- package/dist/piConfig.mjs +0 -2
- package/dist/piContext.cjs +0 -18
- package/dist/piContext.d.mts +0 -3
- package/dist/piContext.mjs +0 -2
- package/dist/profiles-CTrUCmIh.d.mts +0 -27
- package/dist/profiles-CTrUCmIh.d.mts.map +0 -1
- package/dist/profiles-DnF9DBpd.cjs +0 -552
- package/dist/profiles-DnF9DBpd.cjs.map +0 -1
- package/dist/profiles-fujQKrS0.mjs +0 -483
- package/dist/profiles-fujQKrS0.mjs.map +0 -1
- package/dist/profiles.cjs +0 -13
- package/dist/profiles.d.mts +0 -25
- package/dist/profiles.d.mts.map +0 -1
- package/dist/profiles.mjs +0 -2
- package/dist/rolldown-runtime-VH7oDXx4.cjs +0 -28
- package/dist/selectionSwitch.cjs +0 -70
- package/dist/selectionSwitch.cjs.map +0 -1
- package/dist/selectionSwitch.d.mts +0 -30
- package/dist/selectionSwitch.d.mts.map +0 -1
- package/dist/selectionSwitch.mjs +0 -64
- package/dist/selectionSwitch.mjs.map +0 -1
- package/dist/sessionConfig-Boh4Fdje.cjs +0 -342
- package/dist/sessionConfig-Boh4Fdje.cjs.map +0 -1
- package/dist/sessionConfig-CtLoc-lO.mjs +0 -240
- package/dist/sessionConfig-CtLoc-lO.mjs.map +0 -1
- package/dist/types.cjs +0 -9
- package/dist/types.d.mts +0 -2
- package/dist/types.mjs +0 -2
- package/llms.txt +0 -12
- package/src/prompts/po-author-config/SKILL.md +0 -26
- package/src/prompts/po-author-config/agents/openai.yaml +0 -4
- package/src/prompts/po-author-config/references/config-contract.md +0 -201
package/README.md
CHANGED
|
@@ -1,170 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Temporary Holding Version
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[Po](https://www.npmjs.com/package/@agimon-ai/po).
|
|
5
|
-
|
|
6
|
-
This package is fixed core in the Po distribution. It loads `config.yaml`, validates supported
|
|
7
|
-
runtime settings, publishes the `doom/config` Cordis service, and maintains selection state shared
|
|
8
|
-
by the major-mode, domain, and profile transition flows.
|
|
9
|
-
|
|
10
|
-
> **Alpha:** configuration contracts may change between releases.
|
|
11
|
-
|
|
12
|
-
## Requirements
|
|
13
|
-
|
|
14
|
-
- Node.js 24 or newer
|
|
15
|
-
- Pi 1.0.0 as a peer dependency
|
|
16
|
-
|
|
17
|
-
## Install
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npm install @agimon-ai/po-config
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Do not add this package to a Po layer. The distribution activates it before selectable packages
|
|
24
|
-
so the rest of the parent session can consume one resolved configuration snapshot.
|
|
25
|
-
|
|
26
|
-
## Runtime configuration
|
|
27
|
-
|
|
28
|
-
Po reads `~/.po/config.yaml` first and `<repoRoot>/.po/config.yaml` second. Merge policy
|
|
29
|
-
is field-specific because some settings are personal and others are repository policy:
|
|
30
|
-
|
|
31
|
-
| Setting | Effective source policy |
|
|
32
|
-
| ------------------- | -------------------------------------------------------------------- |
|
|
33
|
-
| `projectTrust` | Repository value, defaulting to `ask` |
|
|
34
|
-
| `editor` | Personal config only |
|
|
35
|
-
| `modes.planning` | Personal and repository fields merge, with repository values winning |
|
|
36
|
-
| `voice` | Personal and repository fields merge, with repository values winning |
|
|
37
|
-
| `voice.autoCapture` | Personal config only |
|
|
38
|
-
| `selection` | Per-axis merge, with repository values winning |
|
|
39
|
-
|
|
40
|
-
Supported root keys are `modes`, `projectTrust`, `editor`, `voice`, and `selection`. Unknown keys and
|
|
41
|
-
invalid values fail during loading.
|
|
42
|
-
|
|
43
|
-
```yaml
|
|
44
|
-
projectTrust: ask
|
|
45
|
-
modes:
|
|
46
|
-
planning:
|
|
47
|
-
main:
|
|
48
|
-
model: openai/gpt-5.4
|
|
49
|
-
thinking: high
|
|
50
|
-
plansDirectory: .po/plans
|
|
51
|
-
voice:
|
|
52
|
-
engine: auto
|
|
53
|
-
language: en
|
|
54
|
-
selection:
|
|
55
|
-
majorMode: copilot
|
|
56
|
-
domains: [default]
|
|
57
|
-
profile: reviewer
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
The `selection` mapping names defaults. Definitions for those axes live in `modes.yaml`,
|
|
61
|
-
`domains.yaml`, and `profiles.yaml` and are documented by their owning package Help skills.
|
|
62
|
-
|
|
63
|
-
See the shipped [configuration contract](./src/prompts/po-author-config/references/config-contract.md) for
|
|
64
|
-
the complete runtime schema and additional configuration details.
|
|
65
|
-
|
|
66
|
-
## Typed session context
|
|
67
|
-
|
|
68
|
-
The native session server root provides
|
|
69
|
-
`DOOM_CONFIG_SERVICE`. Consumers must access it under an owning service injection:
|
|
70
|
-
|
|
71
|
-
```ts
|
|
72
|
-
import { DOOM_CONFIG_SERVICE, type DoomConfigContext, requireDoomConfigContext } from '@agimon-ai/po-config';
|
|
73
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
74
|
-
|
|
75
|
-
export function consumeDoomConfig(context: Context, consume: (snapshot: DoomConfigContext) => void): void {
|
|
76
|
-
context.inject([DOOM_CONFIG_SERVICE], (configContext) => {
|
|
77
|
-
consume(requireDoomConfigContext(configContext));
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
The snapshot is deeply frozen. It contains validated `settings`, active `harness` state, an optional
|
|
83
|
-
`pendingSelection`, and `requiresRelaunch`. Do not mutate it or retain it across provider or session
|
|
84
|
-
replacement. The next session publishes a new snapshot.
|
|
85
|
-
|
|
86
|
-
## Plugin structure and lifecycle
|
|
87
|
-
|
|
88
|
-
Native server declarations live in `src/extensions`. HTTP request handling lives in routed `api/` files, package behavior in `src/services/{serviceName}`, and cached harness state in `src/models`. Public consumption modules remain flat under `src/exports`.
|
|
89
|
-
|
|
90
|
-
The native session server root installs the Config runtime as a Cordis service and awaits its readiness in `onStart`. It uses `Promise.allSettled` to preserve degraded initialization reporting rather than throwing the readiness rejection from startup. The runtime receives the scope signal. Config and MCP projection logic stays in services, while public `src/exports` modules only forward symbols from their owners.
|
|
91
|
-
|
|
92
|
-
The root publishes its service before `onStart` awaits readiness, so startup consumers can observe the coordinator.
|
|
93
|
-
|
|
94
|
-
## Selection transitions
|
|
95
|
-
|
|
96
|
-
Major-mode, domain, and profile packages resolve their own requested changes, then use the shared
|
|
97
|
-
transition coordinator. Config owns the persisted selection and transition journal records used to
|
|
98
|
-
distinguish active state from pending intent.
|
|
99
|
-
|
|
100
|
-
Native session selection is serialized by the kernel and applied to retained facet candidates. Config owns persisted selection and pending transition records; Po factory reload and terminal relaunch are not native authoring mechanisms.
|
|
101
|
-
|
|
102
|
-
Consumers must not edit `snapshot.harness`, bypass the coordinator, or cache launcher environment
|
|
103
|
-
state at module scope.
|
|
104
|
-
|
|
105
|
-
## Public API
|
|
106
|
-
|
|
107
|
-
The root and focused `/config` and `/piContext` exports provide runtime parsing, merge policy, and
|
|
108
|
-
session integration:
|
|
109
|
-
|
|
110
|
-
```ts
|
|
111
|
-
import { loadDoomConfig } from '@agimon-ai/po-config';
|
|
112
|
-
|
|
113
|
-
const settings = loadDoomConfig(process.cwd());
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
Pi-specific JSON settings are exposed through `/pi-config`; their types are exposed through `/config-schema`. The removed `/config/piConfig` and `/config/schema` paths have no aliases.
|
|
117
|
-
|
|
118
|
-
The package also exposes lower-level loaders used by the fixed axis packages. User-facing guidance
|
|
119
|
-
for defining modes, domains, and profiles is intentionally owned by those packages instead of this
|
|
120
|
-
runtime Config authoring skill.
|
|
121
|
-
|
|
122
|
-
## Help
|
|
123
|
-
|
|
124
|
-
The package publishes `src/prompts/po-author-config`, links it from `llms.txt`, and registers
|
|
125
|
-
`po-author-config` with the `doom/help` Cordis service. The guidance is visible to the AI only
|
|
126
|
-
while the parent Help minor mode is active.
|
|
127
|
-
|
|
128
|
-
## Remote session app
|
|
129
|
-
|
|
130
|
-
The remote-only `show_session` tool returns a read-only summary and links it to an MCP App.
|
|
131
|
-
Compatible hosts render the repository name, session identity, revision, profile, domains, layers,
|
|
132
|
-
and modes. Text-only clients receive the same information as readable text. `load_context` remains
|
|
133
|
-
separate and does not open a widget.
|
|
134
|
-
|
|
135
|
-
The component refreshes through the host's `tools/call` bridge. It receives no access token, does
|
|
136
|
-
not contact localhost or an external asset server, and does not include instructions, persona text,
|
|
137
|
-
or absolute repository paths. Conversation-routed connections still require host-supplied
|
|
138
|
-
conversation metadata on every tool call, including refresh. A host that cannot preserve that
|
|
139
|
-
metadata must use a dedicated-session connection; there is no fallback to a shared session.
|
|
140
|
-
|
|
141
|
-
`build:mcp` first runs `build:app`. The browser SDK and HTML are bundled into
|
|
142
|
-
`generated/mcp-apps/session.ts`, then embedded in the published MCP facet. The `ui://` resource URI
|
|
143
|
-
contains a hash of the complete HTML. Do not edit generated assets or reuse an old URI for changed
|
|
144
|
-
content. Resource reads are authorized static prefetches and never create a child session.
|
|
145
|
-
|
|
146
|
-
Connect an MCP Apps host to the existing session MCP URL. After rebuilding and restarting the
|
|
147
|
-
server, refresh the host's tool catalog and invoke `show_session`. ChatGPT developer-mode
|
|
148
|
-
connections use the same endpoint. Public app submission, a stable production widget origin, and
|
|
149
|
-
upstream third-party widget forwarding are separate deployment work.
|
|
150
|
-
|
|
151
|
-
## Development
|
|
152
|
-
|
|
153
|
-
```bash
|
|
154
|
-
pnpm build
|
|
155
|
-
pnpm typecheck
|
|
156
|
-
pnpm test
|
|
157
|
-
pnpm lint
|
|
158
|
-
pnpm test:app
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
The browser tests require Playwright Chromium (`pnpm exec playwright install chromium`). They
|
|
162
|
-
exercise the packaged HTML in a sandboxed iframe using the standard SDK's `AppBridge`, including
|
|
163
|
-
refresh, theme changes, errors, text safety, and teardown. They do not substitute for testing the
|
|
164
|
-
connection inside ChatGPT itself.
|
|
165
|
-
|
|
166
|
-
Maintained by [Agimon](https://agimon.ai/about).
|
|
167
|
-
|
|
168
|
-
## License
|
|
169
|
-
|
|
170
|
-
MIT
|
|
3
|
+
This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
|
package/package.json
CHANGED
|
@@ -1,206 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-config",
|
|
3
|
-
"version": "0.0.0-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"agent-configuration",
|
|
7
|
-
"ai",
|
|
8
|
-
"coding-agent",
|
|
9
|
-
"configuration",
|
|
10
|
-
"dependency-injection",
|
|
11
|
-
"developer-tools",
|
|
12
|
-
"pi-coding-agent",
|
|
13
|
-
"pi-package",
|
|
14
|
-
"po",
|
|
15
|
-
"typescript",
|
|
16
|
-
"yaml"
|
|
17
|
-
],
|
|
18
|
-
"homepage": "https://agimon.ai",
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://github.com/AgiFlow/po/issues"
|
|
21
|
-
},
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"author": "Vuong Ngo",
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "git+https://github.com/AgiFlow/po.git",
|
|
27
|
-
"directory": "packages/foundations/po-config"
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist",
|
|
31
|
-
"llms.txt",
|
|
32
|
-
"README.md",
|
|
33
|
-
"src/prompts"
|
|
34
|
-
],
|
|
35
|
-
"type": "module",
|
|
36
|
-
"main": "./dist/index.cjs",
|
|
37
|
-
"types": "./dist/index.d.mts",
|
|
38
|
-
"jsnext:main": "./dist/index.mjs",
|
|
39
|
-
"exports": {
|
|
40
|
-
".": {
|
|
41
|
-
"types": "./dist/index.d.mts",
|
|
42
|
-
"import": "./dist/index.mjs",
|
|
43
|
-
"require": "./dist/index.cjs"
|
|
44
|
-
},
|
|
45
|
-
"./agentPluginMcp": {
|
|
46
|
-
"types": "./dist/agentPluginMcp.d.mts",
|
|
47
|
-
"import": "./dist/agentPluginMcp.mjs",
|
|
48
|
-
"require": "./dist/agentPluginMcp.cjs"
|
|
49
|
-
},
|
|
50
|
-
"./apiContracts": {
|
|
51
|
-
"types": "./dist/apiContracts.d.mts",
|
|
52
|
-
"import": "./dist/apiContracts.mjs",
|
|
53
|
-
"require": "./dist/apiContracts.cjs"
|
|
54
|
-
},
|
|
55
|
-
"./atomicJson": {
|
|
56
|
-
"types": "./dist/atomicJson.d.mts",
|
|
57
|
-
"import": "./dist/atomicJson.mjs",
|
|
58
|
-
"require": "./dist/atomicJson.cjs"
|
|
59
|
-
},
|
|
60
|
-
"./config": {
|
|
61
|
-
"types": "./dist/config.d.mts",
|
|
62
|
-
"import": "./dist/config.mjs",
|
|
63
|
-
"require": "./dist/config.cjs"
|
|
64
|
-
},
|
|
65
|
-
"./configSchema": {
|
|
66
|
-
"types": "./dist/configSchema.d.mts",
|
|
67
|
-
"import": "./dist/configSchema.mjs",
|
|
68
|
-
"require": "./dist/configSchema.cjs"
|
|
69
|
-
},
|
|
70
|
-
"./configWriter": {
|
|
71
|
-
"types": "./dist/configWriter.d.mts",
|
|
72
|
-
"import": "./dist/configWriter.mjs",
|
|
73
|
-
"require": "./dist/configWriter.cjs"
|
|
74
|
-
},
|
|
75
|
-
"./domains": {
|
|
76
|
-
"types": "./dist/domains.d.mts",
|
|
77
|
-
"import": "./dist/domains.mjs",
|
|
78
|
-
"require": "./dist/domains.cjs"
|
|
79
|
-
},
|
|
80
|
-
"./extensions/server": {
|
|
81
|
-
"types": "./dist/extensions/server.d.mts",
|
|
82
|
-
"import": "./dist/extensions/server.mjs",
|
|
83
|
-
"require": "./dist/extensions/server.cjs"
|
|
84
|
-
},
|
|
85
|
-
"./harnessState": {
|
|
86
|
-
"types": "./dist/harnessState.d.mts",
|
|
87
|
-
"import": "./dist/harnessState.mjs",
|
|
88
|
-
"require": "./dist/harnessState.cjs"
|
|
89
|
-
},
|
|
90
|
-
"./harnessStore": {
|
|
91
|
-
"types": "./dist/harnessStore.d.mts",
|
|
92
|
-
"import": "./dist/harnessStore.mjs",
|
|
93
|
-
"require": "./dist/harnessStore.cjs"
|
|
94
|
-
},
|
|
95
|
-
"./init": {
|
|
96
|
-
"types": "./dist/init.d.mts",
|
|
97
|
-
"import": "./dist/init.mjs",
|
|
98
|
-
"require": "./dist/init.cjs"
|
|
99
|
-
},
|
|
100
|
-
"./layeredConfig": {
|
|
101
|
-
"types": "./dist/layeredConfig.d.mts",
|
|
102
|
-
"import": "./dist/layeredConfig.mjs",
|
|
103
|
-
"require": "./dist/layeredConfig.cjs"
|
|
104
|
-
},
|
|
105
|
-
"./majorModes": {
|
|
106
|
-
"types": "./dist/majorModes.d.mts",
|
|
107
|
-
"import": "./dist/majorModes.mjs",
|
|
108
|
-
"require": "./dist/majorModes.cjs"
|
|
109
|
-
},
|
|
110
|
-
"./piConfig": {
|
|
111
|
-
"types": "./dist/piConfig.d.mts",
|
|
112
|
-
"import": "./dist/piConfig.mjs",
|
|
113
|
-
"require": "./dist/piConfig.cjs"
|
|
114
|
-
},
|
|
115
|
-
"./piContext": {
|
|
116
|
-
"types": "./dist/piContext.d.mts",
|
|
117
|
-
"import": "./dist/piContext.mjs",
|
|
118
|
-
"require": "./dist/piContext.cjs"
|
|
119
|
-
},
|
|
120
|
-
"./profiles": {
|
|
121
|
-
"types": "./dist/profiles.d.mts",
|
|
122
|
-
"import": "./dist/profiles.mjs",
|
|
123
|
-
"require": "./dist/profiles.cjs"
|
|
124
|
-
},
|
|
125
|
-
"./selectionSwitch": {
|
|
126
|
-
"types": "./dist/selectionSwitch.d.mts",
|
|
127
|
-
"import": "./dist/selectionSwitch.mjs",
|
|
128
|
-
"require": "./dist/selectionSwitch.cjs"
|
|
129
|
-
},
|
|
130
|
-
"./types": {
|
|
131
|
-
"types": "./dist/types.d.mts",
|
|
132
|
-
"import": "./dist/types.mjs",
|
|
133
|
-
"require": "./dist/types.cjs"
|
|
134
|
-
},
|
|
135
|
-
"./package.json": "./package.json"
|
|
136
|
-
},
|
|
137
|
-
"publishConfig": {
|
|
138
|
-
"access": "public",
|
|
139
|
-
"registry": "https://registry.npmjs.org/"
|
|
140
|
-
},
|
|
141
|
-
"dependencies": {
|
|
142
|
-
"@agimon-ai/po-core": "0.0.0-alpha.0",
|
|
143
|
-
"@agimon-ai/po-telemetry": "0.0.0-alpha.0",
|
|
144
|
-
"@agimon-ai/po-web-components": "0.0.0-alpha.0",
|
|
145
|
-
"@deepseek-ai/cordis": "4.0.4",
|
|
146
|
-
"typebox": "1.3.34",
|
|
147
|
-
"yaml": "2.9.1"
|
|
148
|
-
},
|
|
149
|
-
"devDependencies": {
|
|
150
|
-
"@agimon-ai/po-build": "0.0.0-alpha.0",
|
|
151
|
-
"@earendil-works/pi-coding-agent": "1.0.2",
|
|
152
|
-
"@modelcontextprotocol/ext-apps": "2.0.3",
|
|
153
|
-
"@modelcontextprotocol/server": "2.2.0",
|
|
154
|
-
"@playwright/test": "1.63.0",
|
|
155
|
-
"@types/node": "26.6.4",
|
|
156
|
-
"@types/react": "19.3.0",
|
|
157
|
-
"@vitest/coverage-v8": "5.0.3",
|
|
158
|
-
"react": "19.3.0",
|
|
159
|
-
"tsdown": "0.23.0",
|
|
160
|
-
"typescript": "7.0.2",
|
|
161
|
-
"vitest": "5.0.3"
|
|
162
|
-
},
|
|
163
|
-
"peerDependencies": {
|
|
164
|
-
"@earendil-works/pi-coding-agent": "1.0.2"
|
|
165
|
-
},
|
|
166
|
-
"engines": {
|
|
167
|
-
"node": ">=24"
|
|
168
|
-
},
|
|
169
|
-
"poMcp": {
|
|
170
|
-
"entry": "./generated/mcp.ts",
|
|
171
|
-
"dist": "./dist/extensions/mcp.mjs",
|
|
172
|
-
"scopes": [
|
|
173
|
-
"session"
|
|
174
|
-
],
|
|
175
|
-
"ui": {
|
|
176
|
-
"entry": "./generated/mcp-ui.ts",
|
|
177
|
-
"dist": "./dist/extensions/mcp-ui.mjs",
|
|
178
|
-
"widgets": [
|
|
179
|
-
"@agimon-ai/po-config/load_context",
|
|
180
|
-
"@agimon-ai/po-config/rename_thread",
|
|
181
|
-
"@agimon-ai/po-config/show_session"
|
|
182
|
-
]
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"poServer": {
|
|
186
|
-
"entry": "./generated/server.ts",
|
|
187
|
-
"dist": "./dist/extensions/server.mjs",
|
|
188
|
-
"scopes": [
|
|
189
|
-
"global",
|
|
190
|
-
"workspace",
|
|
191
|
-
"session"
|
|
192
|
-
],
|
|
193
|
-
"contracts": {
|
|
194
|
-
"entry": "./src/exports/apiContracts.ts",
|
|
195
|
-
"dist": "./dist/apiContracts.mjs"
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"scripts": {
|
|
199
|
-
"build": "tsdown && pnpm build:mcp",
|
|
200
|
-
"build:mcp": "tsdown --config tsdown.mcp.config.ts",
|
|
201
|
-
"test": "vitest --run",
|
|
202
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.mcp.json",
|
|
203
|
-
"lint": "oxlint . && oxfmt . --check",
|
|
204
|
-
"fixcode": "oxlint . --fix && oxfmt ."
|
|
205
|
-
}
|
|
3
|
+
"version": "0.0.0-stage",
|
|
4
|
+
"stub": true,
|
|
5
|
+
"description": "Temporary package placeholder for staged publishing"
|
|
206
6
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Vuong Ngo
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|