@phnx-labs/agents-cli 1.20.63 → 1.20.64
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/CHANGELOG.md +17 -0
- package/README.md +9 -0
- package/dist/bin/agents +0 -0
- package/dist/commands/exec.js +55 -28
- package/dist/commands/feed.d.ts +4 -0
- package/dist/commands/feed.js +27 -8
- package/dist/commands/lease.d.ts +23 -0
- package/dist/commands/lease.js +201 -0
- package/dist/commands/mailboxes.d.ts +20 -0
- package/dist/commands/mailboxes.js +390 -0
- package/dist/commands/routines.js +20 -14
- package/dist/commands/sessions-export.d.ts +2 -0
- package/dist/commands/sessions-export.js +279 -0
- package/dist/commands/sessions-import.d.ts +2 -0
- package/dist/commands/sessions-import.js +230 -0
- package/dist/commands/sessions.js +4 -0
- package/dist/commands/ssh.js +98 -3
- package/dist/commands/usage.d.ts +2 -0
- package/dist/commands/usage.js +7 -2
- package/dist/commands/view.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/lib/agents.d.ts +18 -0
- package/dist/lib/agents.js +27 -17
- package/dist/lib/browser/drivers/ssh.js +19 -2
- package/dist/lib/comms-render.d.ts +37 -0
- package/dist/lib/comms-render.js +89 -0
- package/dist/lib/crabbox/cli.d.ts +72 -0
- package/dist/lib/crabbox/cli.js +158 -9
- package/dist/lib/crabbox/runtimes.d.ts +13 -0
- package/dist/lib/crabbox/runtimes.js +24 -0
- package/dist/lib/daemon.js +6 -1
- package/dist/lib/devices/health.d.ts +77 -0
- package/dist/lib/devices/health.js +186 -0
- package/dist/lib/mailbox.d.ts +39 -0
- package/dist/lib/mailbox.js +112 -0
- package/dist/lib/paths.d.ts +13 -0
- package/dist/lib/paths.js +26 -4
- package/dist/lib/routines.d.ts +21 -2
- package/dist/lib/routines.js +35 -12
- package/dist/lib/runner.js +255 -13
- package/dist/lib/sandbox.d.ts +9 -1
- package/dist/lib/sandbox.js +11 -2
- package/dist/lib/session/bundle.d.ts +150 -0
- package/dist/lib/session/bundle.js +189 -0
- package/dist/lib/session/remote-bundle.d.ts +12 -0
- package/dist/lib/session/remote-bundle.js +61 -0
- package/dist/lib/session/sync/agents.d.ts +54 -6
- package/dist/lib/session/sync/agents.js +0 -0
- package/dist/lib/session/sync/manifest.d.ts +14 -3
- package/dist/lib/session/sync/manifest.js +4 -0
- package/dist/lib/session/sync/sync.d.ts +23 -2
- package/dist/lib/session/sync/sync.js +177 -74
- package/dist/lib/ssh-tunnel.js +13 -1
- package/dist/lib/staleness/detectors/subagents.d.ts +5 -0
- package/dist/lib/staleness/detectors/subagents.js +5 -192
- package/dist/lib/staleness/writers/subagents.d.ts +10 -0
- package/dist/lib/staleness/writers/subagents.js +11 -102
- package/dist/lib/startup/command-registry.d.ts +2 -0
- package/dist/lib/startup/command-registry.js +5 -0
- package/dist/lib/subagents-registry.d.ts +85 -0
- package/dist/lib/subagents-registry.js +393 -0
- package/dist/lib/subagents.d.ts +8 -8
- package/dist/lib/subagents.js +32 -663
- package/dist/lib/sync-umbrella.d.ts +1 -0
- package/dist/lib/sync-umbrella.js +14 -3
- package/dist/lib/types.d.ts +9 -0
- package/dist/lib/usage.d.ts +42 -3
- package/dist/lib/usage.js +162 -22
- package/package.json +1 -1
package/dist/lib/subagents.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export declare function transformSubagentForDroid(subagentDir: string): string;
|
|
|
67
67
|
* sections, `color` dropped), so this is an alias of transformSubagentForDroid.
|
|
68
68
|
* See GitHub docs for custom agents.
|
|
69
69
|
*/
|
|
70
|
-
export declare
|
|
70
|
+
export declare function transformSubagentForCopilot(subagentDir: string): string;
|
|
71
71
|
/**
|
|
72
72
|
* Transform a subagent into a Cursor CLI custom subagent `.md` file.
|
|
73
73
|
*
|
|
@@ -78,7 +78,7 @@ export declare const transformSubagentForCopilot: typeof transformSubagentForDro
|
|
|
78
78
|
* an alias of transformSubagentForDroid, same as Copilot.
|
|
79
79
|
* See https://cursor.com/docs/subagents.
|
|
80
80
|
*/
|
|
81
|
-
export declare
|
|
81
|
+
export declare function transformSubagentForCursor(subagentDir: string): string;
|
|
82
82
|
/**
|
|
83
83
|
* Transform a subagent into a ForgeCode custom subagent `.md` file.
|
|
84
84
|
*
|
|
@@ -88,7 +88,7 @@ export declare const transformSubagentForCursor: typeof transformSubagentForDroi
|
|
|
88
88
|
* no `color` field, so this is an alias of transformSubagentForDroid, same as
|
|
89
89
|
* Copilot/Cursor. See https://forgecode.dev/docs/agent-definition-guide/.
|
|
90
90
|
*/
|
|
91
|
-
export declare
|
|
91
|
+
export declare function transformSubagentForForge(subagentDir: string): string;
|
|
92
92
|
/**
|
|
93
93
|
* Transform a subagent into Antigravity's custom-agent markdown shape.
|
|
94
94
|
*
|
|
@@ -197,11 +197,11 @@ export declare function removeSubagentFromAgent(subagentName: string, agent: Age
|
|
|
197
197
|
*/
|
|
198
198
|
export declare function subagentContentMatches(installedDir: string, sourceDir: string): boolean;
|
|
199
199
|
/**
|
|
200
|
-
* List subagents installed to a specific agent's home
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
200
|
+
* List subagents installed to a specific agent's home.
|
|
201
|
+
*
|
|
202
|
+
* Layout (target dir, file/dir shape, metadata reader) is declared once per
|
|
203
|
+
* agent in the subagent registry; this is a thin wrapper over the generic
|
|
204
|
+
* enumerator so a new agent needs no arm here -- just a registry entry.
|
|
205
205
|
*/
|
|
206
206
|
export declare function listSubagentsForAgent(agentId: AgentId, home: string): InstalledSubagent[];
|
|
207
207
|
export interface VersionSubagentDiff {
|