@agimon-ai/po-profile 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.
- package/dist/extensions/native.mjs +25 -0
- package/dist/extensions/native.mjs.map +1 -0
- package/package.json +24 -13
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineNativePlugin, defineSelectionAxis } from "@agimon-ai/po-core/native";
|
|
2
|
+
//#region src/extensions/workspaces/sessions/(frontend)/selection-axis/profile.native.ts
|
|
3
|
+
var profile_native_default = defineSelectionAxis({
|
|
4
|
+
name: "profile",
|
|
5
|
+
command: "profile",
|
|
6
|
+
statusKey: "doom-profile",
|
|
7
|
+
emptyLabel: "no profile",
|
|
8
|
+
order: 10
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region generated/native.ts
|
|
12
|
+
const via = (identity, value) => value === void 0 ? void 0 : {
|
|
13
|
+
...identity,
|
|
14
|
+
...value
|
|
15
|
+
};
|
|
16
|
+
const nativePlugin = defineNativePlugin({
|
|
17
|
+
id: "profile",
|
|
18
|
+
session: { get selectionAxes() {
|
|
19
|
+
return [via({ name: "profile" }, profile_native_default)];
|
|
20
|
+
} }
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { nativePlugin };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=native.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native.mjs","names":["selectionAxisProfile"],"sources":["../../src/extensions/workspaces/sessions/(frontend)/selection-axis/profile.native.ts","../../generated/native.ts"],"sourcesContent":["import { defineSelectionAxis } from '@agimon-ai/po-core/native';\n\nexport default defineSelectionAxis({\n name: 'profile',\n command: 'profile',\n statusKey: 'doom-profile',\n emptyLabel: 'no profile',\n order: 10,\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 selectionAxisProfile from '../src/extensions/workspaces/sessions/(frontend)/selection-axis/profile.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: 'profile',\n session: {\n get selectionAxes(): WebPluginContributions['selectionAxes'] { return [via({ name: 'profile' }, selectionAxisProfile)]; },\n },\n});\n"],"mappings":";;AAEA,IAAA,yBAAe,oBAAoB;CACjC,MAAM;CACN,SAAS;CACT,WAAW;CACX,YAAY;CACZ,OAAO;AACT,CAAC;;;ACHD,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-profile",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.2",
|
|
4
4
|
"description": "Persona and environment profile switching for Po sessions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-persona",
|
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
"import": "./dist/apiContracts.mjs",
|
|
50
50
|
"require": "./dist/apiContracts.cjs"
|
|
51
51
|
},
|
|
52
|
+
"./extensions/native": {
|
|
53
|
+
"import": "./dist/extensions/native.mjs"
|
|
54
|
+
},
|
|
52
55
|
"./extensions/server": {
|
|
53
56
|
"types": "./dist/extensions/server.d.mts",
|
|
54
57
|
"import": "./dist/extensions/server.mjs",
|
|
@@ -63,20 +66,20 @@
|
|
|
63
66
|
"access": "public"
|
|
64
67
|
},
|
|
65
68
|
"dependencies": {
|
|
66
|
-
"@agimon-ai/po-config": "0.0.0-alpha.
|
|
67
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
68
|
-
"@agimon-ai/po-minor-mode": "0.0.0-alpha.
|
|
69
|
-
"@agimon-ai/po-telemetry": "0.0.0-alpha.
|
|
69
|
+
"@agimon-ai/po-config": "0.0.0-alpha.2",
|
|
70
|
+
"@agimon-ai/po-core": "0.0.0-alpha.2",
|
|
71
|
+
"@agimon-ai/po-minor-mode": "0.0.0-alpha.2",
|
|
72
|
+
"@agimon-ai/po-telemetry": "0.0.0-alpha.2",
|
|
70
73
|
"@deepseek-ai/cordis": "4.0.4",
|
|
71
74
|
"typebox": "1.3.34"
|
|
72
75
|
},
|
|
73
76
|
"devDependencies": {
|
|
74
|
-
"@agimon-ai/po-build": "0.0.0-alpha.
|
|
75
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
76
|
-
"@agimon-ai/po-voice": "0.0.0-alpha.
|
|
77
|
-
"@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.0-alpha.
|
|
77
|
+
"@agimon-ai/po-build": "0.0.0-alpha.2",
|
|
78
|
+
"@agimon-ai/po-core": "0.0.0-alpha.2",
|
|
79
|
+
"@agimon-ai/po-voice": "0.0.0-alpha.2",
|
|
80
|
+
"@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.0-alpha.2",
|
|
78
81
|
"@deepseek-ai/cordis": "4.0.4",
|
|
79
|
-
"@earendil-works/pi-coding-agent": "1.0
|
|
82
|
+
"@earendil-works/pi-coding-agent": "1.2.0",
|
|
80
83
|
"@types/node": "26.6.4",
|
|
81
84
|
"@vitest/coverage-v8": "5.0.3",
|
|
82
85
|
"tsdown": "0.23.0",
|
|
@@ -84,8 +87,8 @@
|
|
|
84
87
|
"vitest": "5.0.3"
|
|
85
88
|
},
|
|
86
89
|
"peerDependencies": {
|
|
87
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
88
|
-
"@earendil-works/pi-coding-agent": "1.0
|
|
90
|
+
"@agimon-ai/po-core": "0.0.0-alpha.2",
|
|
91
|
+
"@earendil-works/pi-coding-agent": "1.2.0"
|
|
89
92
|
},
|
|
90
93
|
"peerDependenciesMeta": {
|
|
91
94
|
"@earendil-works/pi-coding-agent": {
|
|
@@ -105,6 +108,14 @@
|
|
|
105
108
|
"session"
|
|
106
109
|
]
|
|
107
110
|
},
|
|
111
|
+
"poNative": {
|
|
112
|
+
"pluginId": "profile",
|
|
113
|
+
"channels": [],
|
|
114
|
+
"client": "./dist/extensions/native.mjs",
|
|
115
|
+
"scopes": [
|
|
116
|
+
"session"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
108
119
|
"poServer": {
|
|
109
120
|
"entry": "./generated/server.ts",
|
|
110
121
|
"dist": "./dist/extensions/server.mjs",
|
|
@@ -128,7 +139,7 @@
|
|
|
128
139
|
"build": "tsdown && pnpm build:mcp",
|
|
129
140
|
"build:mcp": "tsdown --config tsdown.mcp.config.ts",
|
|
130
141
|
"test": "vitest --run",
|
|
131
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.web.json",
|
|
142
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.web.json && tsc --noEmit -p tsconfig.native.json",
|
|
132
143
|
"lint": "oxlint . && oxfmt . --check",
|
|
133
144
|
"fixcode": "oxlint . --fix && oxfmt ."
|
|
134
145
|
}
|