@agimon-ai/po-remote 0.0.0-alpha.170 → 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 CHANGED
@@ -1,28 +1,3 @@
1
- # @agimon-ai/po-remote
1
+ # Temporary Holding Version
2
2
 
3
- Remote access gateway for a Po host: the tunnel, pairing, device trust, passkey step-up, the dev proxy and host federation.
4
-
5
- ## Requirements and composition
6
-
7
- Requires Node.js 24 or newer. Po ships this package as a fixed foundation on Node: the CLI composes it, so it is never selected in `.po/presets.yaml`. Cloud does not load it.
8
-
9
- ## Entries
10
-
11
- - `@agimon-ai/po-remote`: `createRemoteRuntime`, which the CLI starts once per host and binds as po-core's `po/remote-gateway`; `createRemoteApi`, the `/api/remote` package API; `relayDevProxySocket` for the web server's dev proxy; and `createDefaultHubFederation`.
12
- - `@agimon-ai/po-remote/extensions/web`: the Remote control settings page and its summary line, the rail status spot each template marks (`rail-status`), and the remote access and pairing approval dialogs. The phone's Remote control screen stays in po-native: device trust is app-owned, and a plugin's native transport refuses `/api/remote`.
13
-
14
- po-core never imports this package. The contracts it implements live in `@agimon-ai/po-core/remoteContract` (route names, settings and device types, own-device route classification), `@agimon-ai/po-core/remoteOrigin` and `@agimon-ai/po-core/sessionMcpContract` (which Session MCP routes are public, host-only or phone-reachable). Federation grant storage lives in `@agimon-ai/po-federation`, which Cloud also loads.
15
-
16
- ## Help and authoring
17
-
18
- The package publishes `src/prompts/help-how-to-remote/SKILL.md` through a named resource route and `llms.txt`. Keep additional guides package-owned and in the publish allowlist; do not export Markdown or copy it into `dist`.
19
-
20
- The build generates host entries from named `src/extensions` routes. For extension layout, scoped services and lifecycle obligations, follow [Po architecture](https://github.com/AgiFlow/po/blob/main/docs/architecture.md#extensions).
21
-
22
- ## Development
23
-
24
- Run the package's `build`, `typecheck`, `test`, and `lint` scripts from this directory. Use `npm pack --dry-run` to inspect published contents before release.
25
-
26
- ## License
27
-
28
- Business Source License 1.1: free for personal use, organisations under USD 1M revenue, non-profits and education. See [LICENSE](LICENSE) and https://agimon.ai/licensing.
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,158 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-remote",
3
- "version": "0.0.0-alpha.170",
4
- "description": "Remote access gateway for a Po host: the tunnel, pairing, device trust, passkey step-up, the dev proxy and host federation.",
5
- "keywords": [
6
- "ai",
7
- "coding-agent",
8
- "developer-tools",
9
- "passkeys",
10
- "pi-coding-agent",
11
- "pi-extension",
12
- "pi-package",
13
- "po",
14
- "remote-access",
15
- "tunnel",
16
- "typescript"
17
- ],
18
- "homepage": "https://agimon.ai",
19
- "license": "BUSL-1.1",
20
- "author": "Vuong Ngo",
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/AgiFlow/po.git",
24
- "directory": "packages/foundations/po-remote"
25
- },
26
- "files": [
27
- "dist",
28
- "src/prompts",
29
- "llms.txt",
30
- "README.md",
31
- "LICENSE",
32
- "package.json"
33
- ],
34
- "type": "module",
35
- "main": "./dist/index.cjs",
36
- "module": "./dist/index.mjs",
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
- "./apiContracts": {
46
- "types": "./dist/apiContracts.d.mts",
47
- "import": "./dist/apiContracts.mjs",
48
- "require": "./dist/apiContracts.cjs"
49
- },
50
- "./extensions/server": {
51
- "types": "./dist/extensions/server.d.mts",
52
- "import": "./dist/extensions/server.mjs",
53
- "require": "./dist/extensions/server.cjs"
54
- },
55
- "./extensions/web": {
56
- "import": "./dist/extensions/web.mjs"
57
- },
58
- "./package.json": "./package.json"
59
- },
60
- "publishConfig": {
61
- "access": "public"
62
- },
63
- "dependencies": {
64
- "@agimon-ai/po-core": "0.0.0-alpha.170",
65
- "@agimon-ai/po-federation": "0.0.0-alpha.170",
66
- "@agimon-ai/po-web-components": "0.0.0-alpha.170",
67
- "@agimon-ai/po-web-security": "0.0.0-alpha.170",
68
- "@earendil-works/chord": "1.5.2",
69
- "@earendil-works/pi-durable": "1.5.2",
70
- "@simplewebauthn/server": "^14.0.3",
71
- "@tanstack/react-store": "0.11.2",
72
- "@tanstack/store": "0.11.2",
73
- "hono": "4.13.13",
74
- "react": "19.3.1",
75
- "ws": "8.22.0"
76
- },
77
- "devDependencies": {
78
- "@agimon-ai/po-build": "0.0.0-alpha.170",
79
- "@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.170",
80
- "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.170",
81
- "@earendil-works/pi-coding-agent": "1.5.2",
82
- "@types/node": "26.6.5",
83
- "@types/react": "19.3.0",
84
- "@types/react-dom": "19.3.0",
85
- "@types/ws": "8.18.2",
86
- "@vitest/coverage-v8": "5.0.4",
87
- "react-dom": "19.3.1",
88
- "tsdown": "0.23.1",
89
- "typescript": "7.0.2",
90
- "vitest": "5.0.4"
91
- },
92
- "peerDependencies": {
93
- "@earendil-works/pi-coding-agent": "1.5.2"
94
- },
95
- "peerDependenciesMeta": {
96
- "@earendil-works/pi-coding-agent": {
97
- "optional": true
98
- }
99
- },
100
- "engines": {
101
- "node": ">=24"
102
- },
103
- "poServer": {
104
- "entry": "./generated/server.ts",
105
- "dist": "./dist/extensions/server.mjs",
106
- "scopes": [
107
- "session"
108
- ],
109
- "contracts": {
110
- "entry": "./src/exports/apiContracts.ts",
111
- "dist": "./dist/apiContracts.mjs"
112
- },
113
- "brain": {
114
- "version": 1,
115
- "provides": {}
116
- }
117
- },
118
- "poWeb": {
119
- "pluginId": "remote",
120
- "brain": {
121
- "version": 1,
122
- "slots": [],
123
- "fills": [
124
- {
125
- "id": "pairing-approval",
126
- "slot": "overlay",
127
- "scope": "host",
128
- "placement": "verified"
129
- },
130
- {
131
- "id": "remote",
132
- "slot": "rail-status",
133
- "scope": "host",
134
- "placement": "verified"
135
- },
136
- {
137
- "id": "remote-access",
138
- "slot": "overlay",
139
- "scope": "host",
140
- "placement": "verified"
141
- }
142
- ],
143
- "diagnostics": []
144
- },
145
- "channels": [],
146
- "client": "./dist/extensions/web.mjs",
147
- "scopes": [
148
- "host"
149
- ]
150
- },
151
- "scripts": {
152
- "build": "tsdown",
153
- "test": "vitest --run",
154
- "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.web.json",
155
- "lint": "oxlint . && oxfmt . --check",
156
- "fixcode": "oxlint . --fix && oxfmt ."
157
- }
3
+ "version": "0.0.0-stage",
4
+ "stub": true,
5
+ "description": "Temporary package placeholder for staged publishing"
158
6
  }
package/LICENSE DELETED
@@ -1,149 +0,0 @@
1
- License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
2
- "Business Source License" is a trademark of MariaDB Corporation Ab.
3
-
4
- Parameters
5
-
6
- Licensor: Agimon Pty Ltd
7
- Licensed Work: Po, the software in the Po source repository and the
8
- packages released from it, in each version released by
9
- the Licensor.
10
- The Licensed Work is (c) 2026 Agimon Pty Ltd.
11
- Material identified as third-party in the "Third-party
12
- components" section at the end of this file or in a
13
- NOTICE file, and any package or directory whose own
14
- license file grants a different license, is not part of
15
- the Licensed Work and remains under its own license.
16
- Additional Use Grant: You may make production use of the Licensed Work if
17
- your use is Eligible Use. "Eligible Use" is production use that falls
18
- within at least one of the following:
19
-
20
- (a) Personal Use. Use by an individual for their own personal purposes,
21
- and not on behalf of, or for the benefit of, an employer, client, or
22
- other Organization. Use by an individual in the course of employment
23
- or engagement by an Organization is use by that Organization.
24
-
25
- (b) Small Organization Use. Use by or on behalf of an Organization whose
26
- Annual Revenue is less than USD 1,000,000.
27
-
28
- (c) Non-profit, Education and Research Use. Use, regardless of Annual
29
- Revenue, by (i) an Organization registered or recognized as a
30
- non-profit or charitable organization under the laws of its
31
- jurisdiction, for its non-profit purposes; (ii) an accredited school,
32
- college, or university, for teaching, learning, or academic research;
33
- or (iii) a publicly funded research institution, for its research.
34
-
35
- (d) Service Provider Use. Use by a consultant, contractor, agency, or other
36
- service provider, regardless of its own Annual Revenue, solely to
37
- build, deploy, host, operate, or support the Licensed Work for a client
38
- whose own use would be Eligible Use under (a), (b), or (c). A service
39
- provider's use for its own purposes is Eligible Use only if the service
40
- provider itself qualifies under (b) or (c).
41
-
42
-
43
- Hosted services. Offering the Licensed Work to third parties as a hosted
44
- or managed service whose primary value is the Licensed Work is Eligible
45
- Use only if each such third party's own use would be Eligible Use.
46
-
47
- Definitions. "Organization" means any company, partnership, sole
48
- proprietorship, trust, association, government body, or other entity, and
49
- includes an individual acting in a business or professional capacity.
50
- "Affiliate" means any entity that directly or indirectly controls, is
51
- controlled by, or is under common control with an Organization, where
52
- "control" means ownership of more than 50% of the voting interests of an
53
- entity or the power to direct its management and policies by contract or
54
- otherwise. "Annual Revenue" means the total gross revenue of an
55
- Organization and all of its Affiliates combined, from all sources and
56
- whether or not related to the Licensed Work, for its most recently
57
- completed fiscal year, or, if it has not completed a fiscal year, for the
58
- twelve months before the use (or since its formation, if shorter),
59
- converted into US dollars at the average exchange rate for that period.
60
- Proceeds of equity or debt financing are not revenue.
61
-
62
- Threshold. If an Organization stops qualifying under (b), its existing
63
- production use remains Eligible Use for 90 days after it stops
64
- qualifying, after which it must obtain a commercial license or stop
65
- production use. Use that was Eligible Use when it occurred never requires
66
- a commercial license after the fact.
67
- Change Date: Four years from the date a version of the Licensed Work
68
- is first publicly released by the Licensor.
69
- Change License: Apache License, Version 2.0
70
-
71
- For information about alternative licensing arrangements for the Licensed
72
- Work, please visit: https://agimon.ai/licensing
73
-
74
- Notice
75
-
76
- The Business Source License (this document, or the "License") is not an Open
77
- Source license. However, the Licensed Work will eventually be made available
78
- under an Open Source License, as stated in this License.
79
-
80
- -----------------------------------------------------------------------------
81
-
82
- Business Source License 1.1
83
-
84
- Terms
85
-
86
- The Licensor hereby grants you the right to copy, modify, create derivative
87
- works, redistribute, and make non-production use of the Licensed Work. The
88
- Licensor may make an Additional Use Grant, above, permitting limited
89
- production use.
90
-
91
- Effective on the Change Date, or the fourth anniversary of the first publicly
92
- available distribution of a specific version of the Licensed Work under this
93
- License, whichever comes first, the Licensor hereby grants you rights under
94
- the terms of the Change License, and the rights granted in the paragraph
95
- above terminate.
96
-
97
- If your use of the Licensed Work does not comply with the requirements
98
- currently in effect as described in this License, you must purchase a
99
- commercial license from the Licensor, its affiliated entities, or authorized
100
- resellers, or you must refrain from using the Licensed Work.
101
-
102
- All copies of the original and modified Licensed Work, and derivative works
103
- of the Licensed Work, are subject to this License. This License applies
104
- separately for each version of the Licensed Work and the Change Date may vary
105
- for each version of the Licensed Work released by Licensor.
106
-
107
- You must conspicuously display this License on each original or modified copy
108
- of the Licensed Work. If you receive the Licensed Work in original or
109
- modified form from a third party, the terms and conditions set forth in this
110
- License apply to your use of that work.
111
-
112
- Any use of the Licensed Work in violation of this License will automatically
113
- terminate your rights under this License for the current and all other
114
- versions of the Licensed Work.
115
-
116
- This License does not grant you any right in any trademark or logo of
117
- Licensor or its affiliates (provided that you may use a trademark or logo of
118
- Licensor as expressly required by this License).
119
-
120
- TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
121
- AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
122
- EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
123
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
124
- TITLE.
125
-
126
- MariaDB hereby grants you permission to use this License’s text to license
127
- your works, and to refer to it using the trademark “Business Source License”,
128
- as long as you comply with the Covenants of Licensor below.
129
-
130
- Covenants of Licensor
131
-
132
- In consideration of the right to use this License’s text and the “Business
133
- Source License” name and trademark, Licensor covenants to MariaDB, and to all
134
- other recipients of the licensed work to be provided by Licensor:
135
-
136
- 1. To specify as the Change License the GPL Version 2.0 or any later version,
137
- or a license that is compatible with GPL Version 2.0 or a later version,
138
- where “compatible” means that software provided under the Change License can
139
- be included in a program with software provided under GPL Version 2.0 or a
140
- later version. Licensor may specify additional Change Licenses without
141
- limitation.
142
-
143
- 2. To either: (a) specify an additional grant of rights to use that does not
144
- impose any additional restriction on the right granted in this License, as
145
- the Additional Use Grant; or (b) insert the text “None”.
146
-
147
- 3. To specify a Change Date.
148
-
149
- 4. Not to modify this License in any other way.
@@ -1,17 +0,0 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- //#region src/schemas/apiContracts.ts
6
- /** The server plugin contributes the Help guide only; it serves no HTTP or socket surface of its own. */
7
- const apiContracts = (0, require("@agimon-ai/po-core/apiContracts").defineApiContract)({
8
- version: 1,
9
- http: [],
10
- sockets: [],
11
- dynamic: []
12
- });
13
- //#endregion
14
- exports.apiContracts = apiContracts;
15
- exports.default = apiContracts;
16
-
17
- //# sourceMappingURL=apiContracts.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiContracts.cjs","names":["defineApiContract"],"sources":["../src/schemas/apiContracts.ts"],"sourcesContent":["import { defineApiContract } from '@agimon-ai/po-core/apiContracts';\n\n/** The server plugin contributes the Help guide only; it serves no HTTP or socket surface of its own. */\nexport const apiContracts = defineApiContract({ version: 1, http: [], sockets: [], dynamic: [] });\nexport default apiContracts;\n"],"mappings":";;;;;;AAGA,MAAa,gBAAA,G,yCAAeA,CAAAA,CAAAA,kBAAAA,CAAkB;CAAE,SAAS;CAAG,MAAM,CAAC;CAAG,SAAS,CAAC;CAAG,SAAS,CAAC;AAAE,CAAC"}
@@ -1,53 +0,0 @@
1
- //#region src/schemas/apiContracts.d.ts
2
- /** The server plugin contributes the Help guide only; it serves no HTTP or socket surface of its own. */
3
- export declare const apiContracts: {
4
- version: 1;
5
- protocols?: Record<string, string> | undefined;
6
- schemas?: Record<string, boolean | object> | undefined;
7
- http: {
8
- id: string;
9
- scope: "host" | "session" | "workspace";
10
- basePath?: string | undefined;
11
- path: string;
12
- method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
13
- description: string;
14
- availability?: string | undefined;
15
- authentication: "device" | "none" | "owner";
16
- parameters?: {
17
- name: string;
18
- in: "header" | "path" | "query";
19
- required: boolean;
20
- schema: boolean | object;
21
- }[] | undefined;
22
- body?: {
23
- contentType: string;
24
- contentTypes?: string[] | undefined;
25
- required: boolean;
26
- schema: boolean | object;
27
- } | undefined;
28
- responses: Record<string, {
29
- description: string;
30
- contentType?: string | undefined;
31
- schema?: boolean | object | undefined;
32
- events?: Record<string, boolean | object> | undefined;
33
- }>;
34
- }[];
35
- sockets: {
36
- id: string;
37
- scope: "host" | "session" | "workspace";
38
- description: string;
39
- availability?: string | undefined;
40
- service: string;
41
- member: string;
42
- direction: "client-to-server" | "server-to-client";
43
- kind: "channel" | "method" | "state";
44
- input: boolean | object;
45
- output?: boolean | object | undefined;
46
- errors?: boolean | object | undefined;
47
- }[];
48
- dynamic: string[];
49
- gaps?: string[] | undefined;
50
- };
51
- //#endregion
52
- export { apiContracts as default };
53
- //# sourceMappingURL=apiContracts.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiContracts.d.mts","names":[],"sources":["../src/schemas/apiContracts.ts"],"mappings":";;qBAGa"}
@@ -1,13 +0,0 @@
1
- import { defineApiContract } from "@agimon-ai/po-core/apiContracts";
2
- //#region src/schemas/apiContracts.ts
3
- /** The server plugin contributes the Help guide only; it serves no HTTP or socket surface of its own. */
4
- const apiContracts = defineApiContract({
5
- version: 1,
6
- http: [],
7
- sockets: [],
8
- dynamic: []
9
- });
10
- //#endregion
11
- export { apiContracts, apiContracts as default };
12
-
13
- //# sourceMappingURL=apiContracts.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiContracts.mjs","names":[],"sources":["../src/schemas/apiContracts.ts"],"sourcesContent":["import { defineApiContract } from '@agimon-ai/po-core/apiContracts';\n\n/** The server plugin contributes the Help guide only; it serves no HTTP or socket surface of its own. */\nexport const apiContracts = defineApiContract({ version: 1, http: [], sockets: [], dynamic: [] });\nexport default apiContracts;\n"],"mappings":";;;AAGA,MAAa,eAAe,kBAAkB;CAAE,SAAS;CAAG,MAAM,CAAC;CAAG,SAAS,CAAC;CAAG,SAAS,CAAC;AAAE,CAAC"}
@@ -1,30 +0,0 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- let _agimon_ai_po_core_serverPlugin = require("@agimon-ai/po-core/serverPlugin");
6
- let _agimon_ai_po_core_extensionFile = require("@agimon-ai/po-core/extensionFile");
7
- let _agimon_ai_po_core_help = require("@agimon-ai/po-core/help");
8
- //#region src/extensions/workspaces/sessions/(backend)/resource/help-how-to-remote.server.ts
9
- var help_how_to_remote_server_default = (0, _agimon_ai_po_core_extensionFile.defineResource)({
10
- name: "help-how-to-remote",
11
- description: "Use @agimon-ai/po-remote: Remote access gateway for a Po host: the tunnel, pairing, device trust, passkey step-up, the dev proxy and host federation.",
12
- when: _agimon_ai_po_core_help.PO_HELP_WHEN,
13
- kind: "skill",
14
- path: (0, _agimon_ai_po_core_serverPlugin.packageResourcePath)(require("url").pathToFileURL(__filename).href, "src/prompts/help-how-to-remote/SKILL.md"),
15
- read: () => (0, _agimon_ai_po_core_serverPlugin.readPackageResource)(require("url").pathToFileURL(__filename).href, "src/prompts/help-how-to-remote/SKILL.md")
16
- });
17
- //#endregion
18
- //#region generated/server.ts
19
- const at = (value, context) => typeof value === "function" ? value(context) : value;
20
- const serverPlugin = (0, _agimon_ai_po_core_serverPlugin.defineServerPlugin)({
21
- name: "@agimon-ai/po-remote",
22
- session: (context) => ({ get resources() {
23
- return [at(help_how_to_remote_server_default, context)];
24
- } })
25
- });
26
- //#endregion
27
- exports.default = serverPlugin;
28
- exports.serverPlugin = serverPlugin;
29
-
30
- //# sourceMappingURL=server.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.cjs","names":["defineResource","PO_HELP_WHEN","packageResourcePath","readPackageResource","defineServerPlugin","resourceHelpHowToRemote"],"sources":["../../src/extensions/workspaces/sessions/(backend)/resource/help-how-to-remote.server.ts","../../generated/server.ts"],"sourcesContent":["// @scaffold-generated\nimport { defineResource } from '@agimon-ai/po-core/extensionFile';\nimport { PO_HELP_WHEN } from '@agimon-ai/po-core/help';\nimport { packageResourcePath, readPackageResource } from '@agimon-ai/po-core/serverPlugin';\n\nexport default defineResource({\n name: 'help-how-to-remote',\n description:\n 'Use @agimon-ai/po-remote: Remote access gateway for a Po host: the tunnel, pairing, device trust, passkey step-up, the dev proxy and host federation.',\n when: PO_HELP_WHEN,\n kind: 'skill' as const,\n path: packageResourcePath(import.meta.url, 'src/prompts/help-how-to-remote/SKILL.md'),\n read: () => readPackageResource(import.meta.url, 'src/prompts/help-how-to-remote/SKILL.md'),\n});\n","// Generated by @agimon-ai/po-build. Do not edit by hand.\nimport { defineServerPlugin, type PoServerSessionPlugin } from '@agimon-ai/po-core/serverPlugin';\n\nimport resourceHelpHowToRemote from '../src/extensions/workspaces/sessions/(backend)/resource/help-how-to-remote.server';\n\ntype Factory<T, C> = (context: C) => T;\nconst at = <T, C>(value: T | Factory<T, C>, context: C): T =>\n typeof value === 'function' ? (value as Factory<T, C>)(context) : value;\n\nexport const serverPlugin = defineServerPlugin({\n name: '@agimon-ai/po-remote',\n session: (context) => ({\n get resources(): PoServerSessionPlugin['resources'] { return [at(resourceHelpHowToRemote, context)]; },\n }),\n});\n\nexport default serverPlugin;\n"],"mappings":";;;;;;;;AAKA,IAAA,qCAAA,GAAeA,iCAAAA,eAAAA,CAAe;CAC5B,MAAM;CACN,aACE;CACF,MAAMC,wBAAAA;CACN,MAAM;CACN,OAAA,GAAMC,gCAAAA,oBAAAA,CAAAA,QAAAA,KAAAA,CAAAA,CAAAA,cAAAA,UAAAA,CAAAA,CAAAA,MAAqC,yCAAyC;CACpF,aAAA,GAAYC,gCAAAA,oBAAAA,CAAAA,QAAAA,KAAAA,CAAAA,CAAAA,cAAAA,UAAAA,CAAAA,CAAAA,MAAqC,yCAAyC;AAC5F,CAAC;;;ACPD,MAAM,MAAY,OAA0B,YAC1C,OAAO,UAAU,aAAc,MAAwB,OAAO,IAAI;AAEpE,MAAa,gBAAA,GAAeC,gCAAAA,mBAAAA,CAAmB;CAC7C,MAAM;CACN,UAAU,aAAa,EACrB,IAAI,YAAgD;EAAE,OAAO,CAAC,GAAGC,mCAAyB,OAAO,CAAC;CAAG,EACvG;AACF,CAAC"}
@@ -1,5 +0,0 @@
1
- //#region generated/server.d.ts
2
- export declare const serverPlugin: import("@agimon-ai/po-core/serverPlugin").PoServerPlugin;
3
- //#endregion
4
- export { serverPlugin as default };
5
- //# sourceMappingURL=server.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.d.mts","names":[],"sources":["../../generated/server.ts"],"mappings":";qBASa,wDAAY"}
@@ -1,25 +0,0 @@
1
- import { defineServerPlugin, packageResourcePath, readPackageResource } from "@agimon-ai/po-core/serverPlugin";
2
- import { defineResource } from "@agimon-ai/po-core/extensionFile";
3
- import { PO_HELP_WHEN } from "@agimon-ai/po-core/help";
4
- //#region src/extensions/workspaces/sessions/(backend)/resource/help-how-to-remote.server.ts
5
- var help_how_to_remote_server_default = defineResource({
6
- name: "help-how-to-remote",
7
- description: "Use @agimon-ai/po-remote: Remote access gateway for a Po host: the tunnel, pairing, device trust, passkey step-up, the dev proxy and host federation.",
8
- when: PO_HELP_WHEN,
9
- kind: "skill",
10
- path: packageResourcePath(import.meta.url, "src/prompts/help-how-to-remote/SKILL.md"),
11
- read: () => readPackageResource(import.meta.url, "src/prompts/help-how-to-remote/SKILL.md")
12
- });
13
- //#endregion
14
- //#region generated/server.ts
15
- const at = (value, context) => typeof value === "function" ? value(context) : value;
16
- const serverPlugin = defineServerPlugin({
17
- name: "@agimon-ai/po-remote",
18
- session: (context) => ({ get resources() {
19
- return [at(help_how_to_remote_server_default, context)];
20
- } })
21
- });
22
- //#endregion
23
- export { serverPlugin as default, serverPlugin };
24
-
25
- //# sourceMappingURL=server.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.mjs","names":["resourceHelpHowToRemote"],"sources":["../../src/extensions/workspaces/sessions/(backend)/resource/help-how-to-remote.server.ts","../../generated/server.ts"],"sourcesContent":["// @scaffold-generated\nimport { defineResource } from '@agimon-ai/po-core/extensionFile';\nimport { PO_HELP_WHEN } from '@agimon-ai/po-core/help';\nimport { packageResourcePath, readPackageResource } from '@agimon-ai/po-core/serverPlugin';\n\nexport default defineResource({\n name: 'help-how-to-remote',\n description:\n 'Use @agimon-ai/po-remote: Remote access gateway for a Po host: the tunnel, pairing, device trust, passkey step-up, the dev proxy and host federation.',\n when: PO_HELP_WHEN,\n kind: 'skill' as const,\n path: packageResourcePath(import.meta.url, 'src/prompts/help-how-to-remote/SKILL.md'),\n read: () => readPackageResource(import.meta.url, 'src/prompts/help-how-to-remote/SKILL.md'),\n});\n","// Generated by @agimon-ai/po-build. Do not edit by hand.\nimport { defineServerPlugin, type PoServerSessionPlugin } from '@agimon-ai/po-core/serverPlugin';\n\nimport resourceHelpHowToRemote from '../src/extensions/workspaces/sessions/(backend)/resource/help-how-to-remote.server';\n\ntype Factory<T, C> = (context: C) => T;\nconst at = <T, C>(value: T | Factory<T, C>, context: C): T =>\n typeof value === 'function' ? (value as Factory<T, C>)(context) : value;\n\nexport const serverPlugin = defineServerPlugin({\n name: '@agimon-ai/po-remote',\n session: (context) => ({\n get resources(): PoServerSessionPlugin['resources'] { return [at(resourceHelpHowToRemote, context)]; },\n }),\n});\n\nexport default serverPlugin;\n"],"mappings":";;;;AAKA,IAAA,oCAAe,eAAe;CAC5B,MAAM;CACN,aACE;CACF,MAAM;CACN,MAAM;CACN,MAAM,oBAAoB,YAAY,KAAK,yCAAyC;CACpF,YAAY,oBAAoB,YAAY,KAAK,yCAAyC;AAC5F,CAAC;;;ACPD,MAAM,MAAY,OAA0B,YAC1C,OAAO,UAAU,aAAc,MAAwB,OAAO,IAAI;AAEpE,MAAa,eAAe,mBAAmB;CAC7C,MAAM;CACN,UAAU,aAAa,EACrB,IAAI,YAAgD;EAAE,OAAO,CAAC,GAAGA,mCAAyB,OAAO,CAAC;CAAG,EACvG;AACF,CAAC"}