@agimon-ai/po-domain 0.0.0-alpha.0 → 0.0.0-alpha.2

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.
@@ -0,0 +1,26 @@
1
+ import { defineNativePlugin, defineSelectionAxis } from "@agimon-ai/po-core/native";
2
+ //#region src/extensions/workspaces/sessions/(frontend)/selection-axis/domains.native.ts
3
+ var domains_native_default = defineSelectionAxis({
4
+ name: "domains",
5
+ command: "domains",
6
+ statusKey: "doom-domain",
7
+ emptyLabel: "no domains",
8
+ multi: true,
9
+ order: 20
10
+ });
11
+ //#endregion
12
+ //#region generated/native.ts
13
+ const via = (identity, value) => value === void 0 ? void 0 : {
14
+ ...identity,
15
+ ...value
16
+ };
17
+ const nativePlugin = defineNativePlugin({
18
+ id: "domain",
19
+ session: { get selectionAxes() {
20
+ return [via({ name: "domains" }, domains_native_default)];
21
+ } }
22
+ });
23
+ //#endregion
24
+ export { nativePlugin };
25
+
26
+ //# sourceMappingURL=native.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"native.mjs","names":["selectionAxisDomains"],"sources":["../../src/extensions/workspaces/sessions/(frontend)/selection-axis/domains.native.ts","../../generated/native.ts"],"sourcesContent":["import { defineSelectionAxis } from '@agimon-ai/po-core/native';\n\nexport default defineSelectionAxis({\n name: 'domains',\n command: 'domains',\n statusKey: 'doom-domain',\n emptyLabel: 'no domains',\n multi: true,\n order: 20,\n});\n","// Generated by @agimon-ai/po-build. Do not edit by hand.\nimport { defineNativePlugin, type WebPluginContributions } from '@agimon-ai/po-core/native';\n\nimport selectionAxisDomains from '../src/extensions/workspaces/sessions/(frontend)/selection-axis/domains.native';\n\nconst via = <T>(identity: Record<string, unknown>, value: unknown): T =>\n (value === undefined ? undefined : { ...identity, ...(value as object) }) as T;\n\nexport const nativePlugin = defineNativePlugin({\n id: 'domain',\n session: {\n get selectionAxes(): WebPluginContributions['selectionAxes'] { return [via({ name: 'domains' }, selectionAxisDomains)]; },\n },\n});\n"],"mappings":";;AAEA,IAAA,yBAAe,oBAAoB;CACjC,MAAM;CACN,SAAS;CACT,WAAW;CACX,YAAY;CACZ,OAAO;CACP,OAAO;AACT,CAAC;;;ACJD,MAAM,OAAU,UAAmC,UAChD,UAAU,KAAA,IAAY,KAAA,IAAY;CAAE,GAAG;CAAU,GAAI;AAAiB;AAEzE,MAAa,eAAe,mBAAmB;CAC7C,IAAI;CACJ,SAAS,EACP,IAAI,gBAAyD;EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,UAAU,GAAGA,sBAAoB,CAAC;CAAG,EAC1H;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-domain",
3
- "version": "0.0.0-alpha.0",
3
+ "version": "0.0.0-alpha.2",
4
4
  "description": "Domain selection, resource staging, and MCP scoping for Po sessions.",
5
5
  "keywords": [
6
6
  "ai",
@@ -56,6 +56,9 @@
56
56
  "import": "./dist/apply.mjs",
57
57
  "require": "./dist/apply.cjs"
58
58
  },
59
+ "./extensions/native": {
60
+ "import": "./dist/extensions/native.mjs"
61
+ },
59
62
  "./extensions/server": {
60
63
  "types": "./dist/extensions/server.d.mts",
61
64
  "import": "./dist/extensions/server.mjs",
@@ -85,21 +88,21 @@
85
88
  "access": "public"
86
89
  },
87
90
  "dependencies": {
88
- "@agimon-ai/po-config": "0.0.0-alpha.0",
89
- "@agimon-ai/po-core": "0.0.0-alpha.0",
90
- "@agimon-ai/po-minor-mode": "0.0.0-alpha.0",
91
- "@agimon-ai/po-telemetry": "0.0.0-alpha.0",
91
+ "@agimon-ai/po-config": "0.0.0-alpha.2",
92
+ "@agimon-ai/po-core": "0.0.0-alpha.2",
93
+ "@agimon-ai/po-minor-mode": "0.0.0-alpha.2",
94
+ "@agimon-ai/po-telemetry": "0.0.0-alpha.2",
92
95
  "@deepseek-ai/cordis": "4.0.4",
93
96
  "typebox": "1.3.34",
94
97
  "yaml": "2.9.1"
95
98
  },
96
99
  "devDependencies": {
97
- "@agimon-ai/po-build": "0.0.0-alpha.0",
98
- "@agimon-ai/po-core": "0.0.0-alpha.0",
99
- "@agimon-ai/po-voice": "0.0.0-alpha.0",
100
- "@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.0-alpha.0",
100
+ "@agimon-ai/po-build": "0.0.0-alpha.2",
101
+ "@agimon-ai/po-core": "0.0.0-alpha.2",
102
+ "@agimon-ai/po-voice": "0.0.0-alpha.2",
103
+ "@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.0-alpha.2",
101
104
  "@deepseek-ai/cordis": "4.0.4",
102
- "@earendil-works/pi-coding-agent": "1.0.2",
105
+ "@earendil-works/pi-coding-agent": "1.2.0",
103
106
  "@types/node": "26.6.4",
104
107
  "@vitest/coverage-v8": "5.0.3",
105
108
  "tsdown": "0.23.0",
@@ -107,8 +110,8 @@
107
110
  "vitest": "5.0.3"
108
111
  },
109
112
  "peerDependencies": {
110
- "@agimon-ai/po-core": "0.0.0-alpha.0",
111
- "@earendil-works/pi-coding-agent": "1.0.2"
113
+ "@agimon-ai/po-core": "0.0.0-alpha.2",
114
+ "@earendil-works/pi-coding-agent": "1.2.0"
112
115
  },
113
116
  "peerDependenciesMeta": {
114
117
  "@earendil-works/pi-coding-agent": {
@@ -128,6 +131,14 @@
128
131
  "session"
129
132
  ]
130
133
  },
134
+ "poNative": {
135
+ "pluginId": "domain",
136
+ "channels": [],
137
+ "client": "./dist/extensions/native.mjs",
138
+ "scopes": [
139
+ "session"
140
+ ]
141
+ },
131
142
  "poServer": {
132
143
  "entry": "./generated/server.ts",
133
144
  "dist": "./dist/extensions/server.mjs",
@@ -151,7 +162,7 @@
151
162
  "build": "tsdown && pnpm build:mcp",
152
163
  "build:mcp": "tsdown --config tsdown.mcp.config.ts",
153
164
  "test": "vitest --run",
154
- "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.web.json",
165
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.web.json && tsc --noEmit -p tsconfig.native.json",
155
166
  "lint": "oxlint . && oxfmt . --check",
156
167
  "fixcode": "oxlint . --fix && oxfmt ."
157
168
  }