@robota-sdk/agent-product 3.2.2 → 3.3.1
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 +41 -0
- package/README.md +22 -8
- package/dist/capability-pack/index.cjs +1 -0
- package/dist/capability-pack/index.d.cts +2 -0
- package/dist/capability-pack/index.d.ts +2 -0
- package/dist/capability-pack/index.js +1 -0
- package/dist/capability-pack-D389p-Cv.js +2 -0
- package/dist/capability-pack-D389p-Cv.js.map +1 -0
- package/dist/capability-pack-Dc6eJ76H.cjs +1 -0
- package/dist/coding/index.cjs +1 -0
- package/dist/coding/index.d.cts +75 -0
- package/dist/coding/index.d.cts.map +1 -0
- package/dist/coding/index.d.ts +75 -0
- package/dist/coding/index.d.ts.map +1 -0
- package/dist/coding/index.js +2 -0
- package/dist/coding/index.js.map +1 -0
- package/dist/command/index.cjs +1 -0
- package/dist/command/index.d.cts +948 -0
- package/dist/command/index.d.cts.map +1 -0
- package/dist/command/index.d.ts +948 -0
- package/dist/command/index.d.ts.map +1 -0
- package/dist/command/index.js +1 -0
- package/dist/command/node.cjs +1 -0
- package/dist/command/node.d.cts +100 -0
- package/dist/command/node.d.cts.map +1 -0
- package/dist/command/node.d.ts +100 -0
- package/dist/command/node.d.ts.map +1 -0
- package/dist/command/node.js +1 -0
- package/dist/command-DZUsxxG3.cjs +120 -0
- package/dist/command-DynprfoA.js +121 -0
- package/dist/command-DynprfoA.js.map +1 -0
- package/dist/index-BNDTmhmd.d.cts +109 -0
- package/dist/index-BNDTmhmd.d.cts.map +1 -0
- package/dist/index-BNDTmhmd.d.ts +109 -0
- package/dist/index-BNDTmhmd.d.ts.map +1 -0
- package/dist/index-Cz8aDRO3.d.cts +156 -0
- package/dist/index-Cz8aDRO3.d.cts.map +1 -0
- package/dist/index-jksIH551.d.ts +156 -0
- package/dist/index-jksIH551.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +11 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/keybindings-command-module-CcA9-Xqi.d.cts +126 -0
- package/dist/keybindings-command-module-CcA9-Xqi.d.cts.map +1 -0
- package/dist/keybindings-command-module-CcA9-Xqi.d.ts +126 -0
- package/dist/keybindings-command-module-CcA9-Xqi.d.ts.map +1 -0
- package/dist/load-external-presets-CJeFbxNF.js +5 -0
- package/dist/load-external-presets-CJeFbxNF.js.map +1 -0
- package/dist/load-external-presets-DCY3HJ8d.d.cts +107 -0
- package/dist/load-external-presets-DCY3HJ8d.d.cts.map +1 -0
- package/dist/load-external-presets-DCY3HJ8d.d.ts +107 -0
- package/dist/load-external-presets-DCY3HJ8d.d.ts.map +1 -0
- package/dist/load-external-presets-DyoUUA3V.cjs +4 -0
- package/dist/node-BgupUyg0.cjs +1 -0
- package/dist/node-Cw2VT1HG.js +2 -0
- package/dist/node-Cw2VT1HG.js.map +1 -0
- package/dist/preset/index.cjs +1 -0
- package/dist/preset/index.d.cts +3 -0
- package/dist/preset/index.d.ts +3 -0
- package/dist/preset/index.js +1 -0
- package/dist/preset/node.cjs +1 -0
- package/dist/preset/node.d.cts +13 -0
- package/dist/preset/node.d.cts.map +1 -0
- package/dist/preset/node.d.ts +13 -0
- package/dist/preset/node.d.ts.map +1 -0
- package/dist/preset/node.js +2 -0
- package/dist/preset/node.js.map +1 -0
- package/dist/preset-nuw37AF-.js +4 -0
- package/dist/preset-nuw37AF-.js.map +1 -0
- package/dist/preset-tH5pgRIC.cjs +3 -0
- package/dist/theme-command-module-DYJhjKuI.cjs +2 -0
- package/dist/theme-command-module-GyqgVqV9.js +3 -0
- package/dist/theme-command-module-GyqgVqV9.js.map +1 -0
- package/package.json +78 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/command/agent/agent-command-module.ts","../../src/command/agent/agent-command.ts","../../src/command/devices/devices-command-port.ts","../../src/command/devices/devices-command-module.ts","../../src/command/doctor/doctor-render.ts","../../src/command/doctor/doctor-command-module.ts","../../src/command/doctor/doctor-redaction.ts","../../src/command/doctor/doctor-repair.ts","../../src/command/doctor/doctor-runner.ts","../../src/command/key-custody/key-custody-command-port.ts","../../src/command/key-custody/key-custody-command-module.ts","../../src/command/default/default-command-modules.ts","../../src/command/background/background-command-module.ts","../../src/command/background/background-command.ts","../../src/command/goal/goal-command-module.ts","../../src/command/goal/goal-command.ts","../../src/command/handoff/handoff-command.ts","../../src/command/handoff/handoff-command-module.ts","../../src/command/plan/plan-command-module.ts","../../src/command/compact/compact-command-module.ts","../../src/command/compact/compact-command.ts","../../src/command/context/context-command-module.ts","../../src/command/context/context-command.ts","../../src/command/git/git-command-module.ts","../../src/command/effort/effort-command-module.ts","../../src/command/effort/effort-command.ts","../../src/command/advisor/advisor-command-module.ts","../../src/command/advisor/advisor-command.ts","../../src/command/exit/exit-command-module.ts","../../src/command/exit/exit-command.ts","../../src/command/help/help-command-module.ts","../../src/command/help/help-command.ts","../../src/command/theme/theme-command-module.ts","../../src/command/language/language-command-module.ts","../../src/command/language/language-command.ts","../../src/command/memory/memory-command-module.ts","../../src/command/memory/memory-command.ts","../../src/command/mcp-activation/mcp-activation-command-module.ts","../../src/command/mcp-activation/mcp-activation-command.ts","../../src/command/mcp-activation/mcp-model-notice.ts","../../src/command/mode/mode-command-module.ts","../../src/command/mode/mode-command.ts","../../src/command/model/model-command-module.ts","../../src/command/model/model-command.ts","../../src/command/sandbox/sandbox-command-module.ts","../../src/command/sandbox/sandbox-command.ts","../../src/command/output-style/output-style-command-module.ts","../../src/command/permissions/permissions-command-module.ts","../../src/command/permissions/permissions-command.ts","../../src/command/plugin/plugin-command-module.ts","../../src/command/plugin/plugin-command.ts","../../src/command/preset/preset-command-module.ts","../../src/command/preset/preset-command.ts","../../src/command/provider/provider-command-module.ts","../../src/command/provider/provider-command-execution.ts","../../src/command/provider/provider-setup-flow.ts","../../src/command/provider/provider-startup.ts","../../src/command/remote-control/remote-control-command-module.ts","../../src/command/remote-control/remote-control-command.ts","../../src/command/reset/reset-command-module.ts","../../src/command/reset/reset-command.ts","../../src/command/rewind/rewind-command-module.ts","../../src/command/rewind/rewind-command.ts","../../src/command/schedule/loop-command.ts","../../src/command/schedule/schedule-command-module.ts","../../src/command/schedule/schedule-command.ts","../../src/command/schedule/schedule-spec-parser.ts","../../src/command/session/session-command.ts","../../src/command/session/session-command-module.ts","../../src/command/settings/settings-command-module.ts","../../src/command/skills/skills-command-module.ts","../../src/command/skills/skills-command.ts","../../src/command/statusline/statusline-command-module.ts","../../src/command/statusline/statusline-command.ts","../../src/command/user-local/user-local-command-module.ts","../../src/command/user-local/user-local-command-constants.ts","../../src/command/user-local/user-local-command.ts"],"mappings":";;;;;iBA+BgB,2BAA2B;iBAyB3B,4BAA4B;cAyB/B,8BAA8B;WAChC;EAET,eAAe;;iBAKD,4BAA4B;;;iBC4ItB,oBACpB,SAAS,sBACT,cAEA;;AAAA;WAAoB;IACnB,QAAQ;;;;;;;;;;;UCjOM;WACN;WACA;WACA;;WAEA;WACA;;UAGM;WACN;WACA,kBAAkB;WAClB;;WAEA;;;KAIC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsCA,gBAAgB;WACb;WAAmB,OAAO;;WAC1B;WAAoB,QAAQ;;UAE1B;WACN;WACA;WACA;;WAEA;;UAGM;WACN;WACA;WACA;;WAEA;;UAGM;WACN;WACA;;;UAIM;;WAEN;;WAEA;;WAEA;;WAEA;aACE;aACA;aACA;;;UAII;WACN;WACA;;WAEA;;UAGM;WACN;WACA;WACA;;WAEA;;UAGM;;EAEf,QAAQ,QAAQ;;EAEhB,eAAe;;EAEf,KAAK;aAAoB;MAAkB,QAAQ,gBAAgB;;EAEnE,WAAW,QAAQ,gBAAgB;;EAEnC,OAAO,yBAAyB,QAAQ,gBAAgB;;;;;EAKxD,OAAO,QAAQ,gBAAgB;;;;;EAK/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ET,eAAe;;;;;;;iBAUD,6BACd,qBACA,UAAU,mBACT;;;cCtEU;cACA;cAEA;;;UCoBI;WACN;WACA;;;;;WAKA,UAAU;WACV;WACA;WACA;WACA;;iBAmKW,8BACpB,SAAS,iCACR,QAAQ;iBAoBW,wBACpB,SAAS,uBACT,iBACA,qBACA,UAAU,mBACT,QAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,$n as t,$t as n,A as r,An as i,At as a,B as o,Bn as s,Bt as c,C as l,Cn as u,Ct as d,D as f,Dn as p,Dt as m,E as h,En as g,Et as _,F as v,Fn as y,Ft as b,G as x,Gn as S,Gt as C,H as w,Hn as T,Ht as E,I as D,In as O,It as k,J as A,Jn as j,Jt as M,K as N,Kn as P,Kt as F,L as I,Ln as L,Lt as R,M as z,Mn as B,Mt as V,N as H,Nn as U,Nt as W,O as G,On as K,Ot as q,P as J,Pn as Y,Pt as X,Q as Z,Qn as Q,Qt as $,R as ee,Rn as te,Rt as ne,S as re,Sn as ie,St as ae,T as oe,Tn as se,Tt as ce,U as le,Un as ue,Ut as de,V as fe,Vn as pe,Vt as me,W as he,Wn as ge,Wt as _e,X as ve,Xn as ye,Xt as be,Y as xe,Yn as Se,Yt as Ce,Z as we,Zn as Te,Zt as Ee,_ as De,_n as Oe,_r as ke,_t as Ae,a as je,an as Me,ar as Ne,at as Pe,b as Fe,bn as Ie,bt as Le,c as Re,cn as ze,cr as Be,ct as Ve,d as He,dn as Ue,dr as We,dt as Ge,en as Ke,er as qe,et as Je,f as Ye,fn as Xe,fr as Ze,ft as Qe,g as $e,gn as et,gr as tt,gt as nt,h as rt,hn as it,hr as at,ht as ot,i as st,in as ct,ir as lt,it as ut,j as dt,jn as ft,jt as pt,k as mt,kn as ht,kt as gt,l as _t,ln as vt,lr as yt,lt as bt,m as xt,mn as St,mr as Ct,mt as wt,n as Tt,nn as Et,nr as Dt,nt as Ot,o as kt,on as At,or as jt,ot as Mt,p as Nt,pn as Pt,pr as Ft,pt as It,q as Lt,qn as Rt,qt as zt,r as Bt,rn as Vt,rr as Ht,rt as Ut,s as Wt,sn as Gt,sr as Kt,st as qt,t as Jt,tn as Yt,tr as Xt,tt as Zt,u as Qt,un as $t,ur as en,ut as tn,v as nn,vn as rn,vt as an,w as on,wn as sn,wt as cn,x as ln,xn as un,xt as dn,y as fn,yn as pn,yt as mn,z as hn,zn as gn,zt as _n}from"../command-DynprfoA.js";import{a as vn,i as yn,n as bn,o as xn,r as Sn,s as Cn,t as wn}from"../theme-command-module-GyqgVqV9.js";export{gn as ADVISOR_SETTING_KEY,O as AdvisorCommandSource,Ft as AgentCommandSource,yt as BackgroundCommandSource,r as CLEAR_COMMAND_MESSAGE,Ne as CompactCommandSource,Xt as ContextCommandSource,pe as DoctorCommandSource,B as EffortCommandSource,K as ExitCommandSource,ie as GOAL_COMMAND_DESCRIPTION,sn as GitCommandSource,pn as GoalCommandSource,it as HandoffCommandSource,Ue as HelpCommandSource,vn as KeybindingsCommandSource,At as LanguageCommandSource,n as MCPActivationCommandSource,Ce as MemoryCommandSource,_e as ModeCommandSource,c as ModelCommandSource,pt as OutputStyleCommandSource,q as PermissionsCommandSource,dn as PluginManagerCommandSource,Ae as PresetCommandSource,Ut as ProviderCommandSource,we as RemoteControlCommandSource,x as RewindCommandSource,R as SANDBOX_MODES,nn as SKILLS_COMMAND_DESCRIPTION,Nt as STATUSLINE_USAGE,P as STORAGE_REPAIR_ID,b as SandboxCommandSource,D as ScheduleCommandSource,l as SessionCommandSource,Fe as SettingsCommandSource,rt as SkillsCommandSource,Qt as StatusLineCommandSource,wn as ThemeCommandSource,Wt as USER_LOCAL_COMMAND_ARGUMENT_HINT,Re as USER_LOCAL_COMMAND_DESCRIPTION,_t as USER_LOCAL_COMMAND_USAGE,Tt as UserLocalCommandSource,Rt as applyDoctorRepair,ge as buildDoctorReport,Te as collectSettingsSecrets,L as createAdvisorCommandEntry,te as createAdvisorCommandModule,Ct as createAgentCommandEntry,at as createAgentCommandModule,tt as createAgentSystemCommand,en as createBackgroundCommandEntry,We as createBackgroundCommandModule,on as createClearCommandEntry,jt as createCompactCommandEntry,Kt as createCompactCommandModule,Dt as createContextCommandEntry,Ht as createContextCommandModule,oe as createCostCommandEntry,Jt as createDefaultCommandModules,qe as createDevicesCommandModule,T as createDoctorCommandEntry,ue as createDoctorCommandModule,U as createEffortCommandEntry,Y as createEffortCommandModule,ht as createExitCommandEntry,i as createExitCommandModule,se as createGitCommandEntry,g as createGitCommandModule,Ie as createGoalCommandEntry,un as createGoalCommandModule,et as createHandoffCommandEntry,Oe as createHandoffCommandModule,Xe as createHelpCommandEntry,Pt as createHelpCommandModule,$t as createKeyCustodyCommandModule,xn as createKeybindingsCommandEntry,Cn as createKeybindingsCommandModule,Gt as createLanguageCommandEntry,ze as createLanguageCommandModule,I as createLoopCommandEntry,Ke as createMCPActivationCommandEntry,Yt as createMCPActivationCommandModule,be as createMemoryCommandEntry,Ee as createMemoryCommandModule,C as createModeCommandEntry,F as createModeCommandModule,me as createModelCommandEntry,E as createModelCommandModule,ee as createMonitorCommandEntry,V as createOutputStyleCommandEntry,W as createOutputStyleCommandModule,gt as createPermissionsCommandEntry,a as createPermissionsCommandModule,m as createPlanCommandModule,ae as createPluginCommandEntry,d as createPluginCommandModule,an as createPresetCommandEntry,mn as createPresetCommandModule,ut as createProviderCommandEntry,Pe as createProviderCommandModule,qt as createProviderSetupFlow,cn as createReloadPluginsCommandEntry,Z as createRemoteControlCommandEntry,e as createRemoteControlCommandModule,h as createRenameCommandEntry,A as createResetCommandEntry,xe as createResetCommandModule,f as createResumeCommandEntry,N as createRewindCommandModule,k as createSandboxCommandModule,hn as createScheduleCommandEntry,o as createScheduleCommandModule,G as createSessionCommandModule,ln as createSettingsCommandEntry,re as createSettingsCommandModule,$e as createSkillsCommandEntry,De as createSkillsCommandModule,He as createStatusLineCommandEntry,Ye as createStatusLineCommandModule,bn as createThemeCommandEntry,Sn as createThemeCommandModule,Bt as createUserLocalCommandEntry,st as createUserLocalCommandModule,mt as createValidateSessionCommandEntry,j as doctorRepairAllowlist,Zt as ensureProviderConfig,s as executeAdvisorCommand,ke as executeAgentCommand,Ze as executeBackgroundCommand,dt as executeClearCommand,Be as executeCompactCommand,lt as executeContextCommand,z as executeCostCommand,y as executeEffortCommand,ft as executeExitCommand,p as executeGitCommand,u as executeGoalCommand,rn as executeHandoffCommand,St as executeHelpCommand,vt as executeLanguageCommand,he as executeLoopCommand,Et as executeMCPActivationCommand,$ as executeMemoryCommand,zt as executeModeCommand,de as executeModelCommand,fe as executeMonitorCommand,X as executeOutputStyleCommand,M as executePermissionsCommand,ce as executePluginCommand,Le as executePresetCommand,Mt as executeProviderCommand,_ as executeReloadPluginsCommand,Je as executeRemoteControlCommand,H as executeRenameCommand,ve as executeResetCommand,J as executeResumeCommand,Lt as executeRewindCommand,ne as executeSandboxCommand,w as executeScheduleCommand,fn as executeSkillsCommand,xt as executeStatusLineCommand,yn as executeThemeCommand,je as executeUserLocalCommand,kt as executeUserLocalDirectCommand,v as executeValidateSessionCommand,Ve as formatProviderSetupChoiceLabel,bt as formatProviderSetupHelpLinks,tn as formatProviderSetupPromptLabel,Ge as formatProviderSetupSelectionPrompt,_n as formatSandboxStatus,Qe as getProviderSetupStep,Se as isDoctorRepairId,Vt as mcpUnavailableServersNotice,ct as mcpUserActionCommand,Me as mcpUserActionNotice,le as parseScheduleSpec,ye as planDoctorRepair,Q as redactDiagnosticText,t as renderDoctorReport,It as resolveProviderSetupSelection,S as runDoctor,wt as runProviderSetupPromptFlow,Ot as runProviderStartupSetup,ot as submitProviderSetupValue,nt as validateProviderSetupValue};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../node-BgupUyg0.cjs");exports.EDITOR_COMMAND_DESCRIPTION=e.m,exports.EditorCommandSource=e.u,exports.SHELL_COMMAND_DESCRIPTION=e.s,exports.ShellCommandSource=e.i,exports.createEditorCommandEntry=e.d,exports.createEditorCommandModule=e.f,exports.createNodeDoctorDeps=e.n,exports.createShellCommandEntry=e.a,exports.createShellCommandModule=e.o,exports.createTerminalClientCommands=e.t,exports.executeEditorCommand=e.h,exports.executeShellCommand=e.c,exports.openFileInEditor=e.p,exports.resolveCommandOnPath=e.r,exports.resolveEditor=e._,exports.resolveShell=e.l,exports.spawnInherited=e.g;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { s as IDoctorDeps, t as IKeybindingsFilePort } from "../keybindings-command-module-CcA9-Xqi.cjs";
|
|
2
|
+
import { ICommandHostTerminalHandoff, ICommandHostWorkspace, ICommandModule } from "@robota-sdk/agent-framework";
|
|
3
|
+
import { ICommand, ICommandResult, ICommandSource, IThemeCataloguePort } from "@robota-sdk/agent-interface/command";
|
|
4
|
+
//#region src/command/editor/resolve-editor.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Editor-selection seam. Resolves `$VISUAL` → `$EDITOR` → `vi` (POSIX-first; a Windows
|
|
7
|
+
* default is a separate concern). Splits on whitespace so `"code -w"` / `"subl -w"` style values work.
|
|
8
|
+
*/
|
|
9
|
+
interface IResolvedEditor {
|
|
10
|
+
command: string;
|
|
11
|
+
args: readonly string[];
|
|
12
|
+
}
|
|
13
|
+
declare function resolveEditor(): IResolvedEditor;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/command/editor/editor-command.d.ts
|
|
16
|
+
declare const EDITOR_COMMAND_DESCRIPTION = "Compose a message in $EDITOR (optionally pre-filled with `/editor <text>`), then return it.";
|
|
17
|
+
declare function executeEditorCommand(context: ICommandHostTerminalHandoff & ICommandHostWorkspace, args: string, temporaryDirectoryPrefix?: string): Promise<ICommandResult>;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/command/editor/open-in-editor.d.ts
|
|
20
|
+
declare function openFileInEditor(path: string, cwd: string): Promise<number>;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/command/editor/editor-command-module.d.ts
|
|
23
|
+
declare function createEditorCommandEntry(unavailableMessage?: string): ICommand;
|
|
24
|
+
declare class EditorCommandSource implements ICommandSource {
|
|
25
|
+
private readonly unavailableMessage?;
|
|
26
|
+
readonly name = "editor";
|
|
27
|
+
constructor(unavailableMessage?: string | undefined);
|
|
28
|
+
getCommands(): ICommand[];
|
|
29
|
+
}
|
|
30
|
+
declare function createEditorCommandModule(temporaryDirectoryPrefix?: string, unavailableMessage?: string): ICommandModule;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/command/shell/resolve-shell.d.ts
|
|
33
|
+
interface IResolvedShell {
|
|
34
|
+
/** Executable to spawn. */
|
|
35
|
+
command: string;
|
|
36
|
+
/** Args for an interactive shell session (drop-to-shell). */
|
|
37
|
+
interactiveArgs: readonly string[];
|
|
38
|
+
/** Args to run a single command string non-interactively. */
|
|
39
|
+
commandArgs(command: string): readonly string[];
|
|
40
|
+
}
|
|
41
|
+
/** Resolve the interactive shell for the current platform via the agent-core SSOT resolver. */
|
|
42
|
+
declare function resolveShell(executable?: string): IResolvedShell;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/command/shell/spawn-inherited.d.ts
|
|
45
|
+
declare function spawnInherited(command: string, args: readonly string[], cwd: string): Promise<number>;
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/command/shell/shell-command.d.ts
|
|
48
|
+
declare const SHELL_COMMAND_DESCRIPTION = "Drop to an interactive shell (or run `/shell <command>` interactively), then return to the agent.";
|
|
49
|
+
declare function executeShellCommand(context: ICommandHostTerminalHandoff & ICommandHostWorkspace, args: string, executable?: string): Promise<ICommandResult>;
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/command/shell/shell-command-module.d.ts
|
|
52
|
+
declare function createShellCommandEntry(): ICommand;
|
|
53
|
+
declare class ShellCommandSource implements ICommandSource {
|
|
54
|
+
readonly name = "shell";
|
|
55
|
+
getCommands(): ICommand[];
|
|
56
|
+
}
|
|
57
|
+
declare function createShellCommandModule(executable?: string): ICommandModule;
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/command/doctor/doctor-node-deps.d.ts
|
|
60
|
+
/** A bare command resolves through `PATH`; a path-form command must exist as given. */
|
|
61
|
+
declare function resolveCommandOnPath(command: string, env?: Readonly<Record<string, string | undefined>>): boolean;
|
|
62
|
+
declare function createNodeDoctorDeps(env?: Readonly<Record<string, string | undefined>>): IDoctorDeps;
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/command/terminal-client/terminal-client-commands.d.ts
|
|
65
|
+
/** A command the terminal runs itself, with the terminal's own handoff and working directory. */
|
|
66
|
+
interface ITerminalClientCommand {
|
|
67
|
+
readonly name: string;
|
|
68
|
+
execute(host: ICommandHostTerminalHandoff & ICommandHostWorkspace, args: string): ICommandResult | Promise<ICommandResult>;
|
|
69
|
+
}
|
|
70
|
+
/** The terminal's own capabilities — the same ones its in-process command modules are given. */
|
|
71
|
+
interface ITerminalClientCommandOptions {
|
|
72
|
+
/** The shell `/shell` runs; absent → the platform shell, as for the in-process command. */
|
|
73
|
+
readonly shellExecutable?: string;
|
|
74
|
+
/** Product-owned prefix for `/editor`'s temporary directory; absent → the command's default. */
|
|
75
|
+
readonly editorTemporaryDirectoryPrefix?: string;
|
|
76
|
+
/** Refusal returned before any editor process or temporary file is created. */
|
|
77
|
+
readonly editorUnavailableMessage?: string;
|
|
78
|
+
/** Absent → `/keybindings` answers where key bindings live, as the in-process command does. */
|
|
79
|
+
readonly keybindingsFile?: IKeybindingsFilePort;
|
|
80
|
+
/** Absent → `/theme` answers where themes live, as the in-process command does. */
|
|
81
|
+
readonly themeCatalogue?: IThemeCataloguePort;
|
|
82
|
+
/**
|
|
83
|
+
* The same module selection the default assembly is given (`agent-command-shell`, …): a module it
|
|
84
|
+
* leaves out is left out here too, so an attached terminal offers no command a standalone one
|
|
85
|
+
* would not. Absent → every client-run module.
|
|
86
|
+
*/
|
|
87
|
+
readonly enabledCommandModules?: readonly string[];
|
|
88
|
+
/** Applied after `enabledCommandModules`, as in the default assembly (deny > allow). */
|
|
89
|
+
readonly disabledCommandModules?: readonly string[];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Every client-run command the module selection keeps, whether or not its port is given. The set
|
|
93
|
+
* shrinks only with the selection, never with a missing port: the attached terminal routes by it, so
|
|
94
|
+
* a selected command left out would run on the daemon instead — and without its port the command
|
|
95
|
+
* still answers as its in-process twin does.
|
|
96
|
+
*/
|
|
97
|
+
declare function createTerminalClientCommands(options: ITerminalClientCommandOptions): readonly ITerminalClientCommand[];
|
|
98
|
+
//#endregion
|
|
99
|
+
export { EDITOR_COMMAND_DESCRIPTION, EditorCommandSource, type IResolvedEditor, type IResolvedShell, type ITerminalClientCommand, type ITerminalClientCommandOptions, SHELL_COMMAND_DESCRIPTION, ShellCommandSource, createEditorCommandEntry, createEditorCommandModule, createNodeDoctorDeps, createShellCommandEntry, createShellCommandModule, createTerminalClientCommands, executeEditorCommand, executeShellCommand, openFileInEditor, resolveCommandOnPath, resolveEditor, resolveShell, spawnInherited };
|
|
100
|
+
//# sourceMappingURL=node.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.cts","names":[],"sources":["../../src/command/editor/resolve-editor.ts","../../src/command/editor/editor-command.ts","../../src/command/editor/open-in-editor.ts","../../src/command/editor/editor-command-module.ts","../../src/command/shell/resolve-shell.ts","../../src/command/shell/spawn-inherited.ts","../../src/command/shell/shell-command.ts","../../src/command/shell/shell-command-module.ts","../../src/command/doctor/doctor-node-deps.ts","../../src/command/terminal-client/terminal-client-commands.ts"],"mappings":";;;;;;;;UAIiB;EACf;EACA;;iBAGc,iBAAiB;;;cCkBpB;iBASS,qBACpB,SAAS,8BAA8B,uBACvC,cACA,oCACC,QAAQ;;;iBC/BK,iBAAiB,cAAc,cAAc;;;iBCD7C,yBAAyB,8BAA8B;cAoC1D,+BAA+B;mBAGb;WAFpB;EAEoB,YAAA;EAE7B,eAAe;;iBAKD,0BACd,mCACA,8BACC;;;UClDc;;EAEf;;EAEA;;EAEA,YAAY;;;iBAIE,aAAa,sBAAsB;;;iBCLnC,eACd,iBACA,yBACA,cACC;;;cCFU;iBAGS,oBACpB,SAAS,8BAA8B,uBACvC,cACA,sBACC,QAAQ;;;iBCbK,2BAA2B;cA8B9B,8BAA8B;WAChC;EAET,eAAe;;iBAKD,yBAAyB,sBAAsB;;;;iBCsB/C,qBACd,iBACA,MAAK,SAAS;iBAYA,qBACd,MAAK,SAAS,sCACb;;;;UCtDc;WACN;EACT,QACE,MAAM,8BAA8B,uBACpC,eACC,iBAAiB,QAAQ;;;UAIb;;WAEN;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,iBAAiB;;;;;;WAMjB;;WAEA;;;;;;;;iBAWK,6BACd,SAAS,yCACC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { s as IDoctorDeps, t as IKeybindingsFilePort } from "../keybindings-command-module-CcA9-Xqi.js";
|
|
2
|
+
import { ICommandHostTerminalHandoff, ICommandHostWorkspace, ICommandModule } from "@robota-sdk/agent-framework";
|
|
3
|
+
import { ICommand, ICommandResult, ICommandSource, IThemeCataloguePort } from "@robota-sdk/agent-interface/command";
|
|
4
|
+
//#region src/command/editor/resolve-editor.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Editor-selection seam. Resolves `$VISUAL` → `$EDITOR` → `vi` (POSIX-first; a Windows
|
|
7
|
+
* default is a separate concern). Splits on whitespace so `"code -w"` / `"subl -w"` style values work.
|
|
8
|
+
*/
|
|
9
|
+
interface IResolvedEditor {
|
|
10
|
+
command: string;
|
|
11
|
+
args: readonly string[];
|
|
12
|
+
}
|
|
13
|
+
declare function resolveEditor(): IResolvedEditor;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/command/editor/editor-command.d.ts
|
|
16
|
+
declare const EDITOR_COMMAND_DESCRIPTION = "Compose a message in $EDITOR (optionally pre-filled with `/editor <text>`), then return it.";
|
|
17
|
+
declare function executeEditorCommand(context: ICommandHostTerminalHandoff & ICommandHostWorkspace, args: string, temporaryDirectoryPrefix?: string): Promise<ICommandResult>;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/command/editor/open-in-editor.d.ts
|
|
20
|
+
declare function openFileInEditor(path: string, cwd: string): Promise<number>;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/command/editor/editor-command-module.d.ts
|
|
23
|
+
declare function createEditorCommandEntry(unavailableMessage?: string): ICommand;
|
|
24
|
+
declare class EditorCommandSource implements ICommandSource {
|
|
25
|
+
private readonly unavailableMessage?;
|
|
26
|
+
readonly name = "editor";
|
|
27
|
+
constructor(unavailableMessage?: string | undefined);
|
|
28
|
+
getCommands(): ICommand[];
|
|
29
|
+
}
|
|
30
|
+
declare function createEditorCommandModule(temporaryDirectoryPrefix?: string, unavailableMessage?: string): ICommandModule;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/command/shell/resolve-shell.d.ts
|
|
33
|
+
interface IResolvedShell {
|
|
34
|
+
/** Executable to spawn. */
|
|
35
|
+
command: string;
|
|
36
|
+
/** Args for an interactive shell session (drop-to-shell). */
|
|
37
|
+
interactiveArgs: readonly string[];
|
|
38
|
+
/** Args to run a single command string non-interactively. */
|
|
39
|
+
commandArgs(command: string): readonly string[];
|
|
40
|
+
}
|
|
41
|
+
/** Resolve the interactive shell for the current platform via the agent-core SSOT resolver. */
|
|
42
|
+
declare function resolveShell(executable?: string): IResolvedShell;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/command/shell/spawn-inherited.d.ts
|
|
45
|
+
declare function spawnInherited(command: string, args: readonly string[], cwd: string): Promise<number>;
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/command/shell/shell-command.d.ts
|
|
48
|
+
declare const SHELL_COMMAND_DESCRIPTION = "Drop to an interactive shell (or run `/shell <command>` interactively), then return to the agent.";
|
|
49
|
+
declare function executeShellCommand(context: ICommandHostTerminalHandoff & ICommandHostWorkspace, args: string, executable?: string): Promise<ICommandResult>;
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/command/shell/shell-command-module.d.ts
|
|
52
|
+
declare function createShellCommandEntry(): ICommand;
|
|
53
|
+
declare class ShellCommandSource implements ICommandSource {
|
|
54
|
+
readonly name = "shell";
|
|
55
|
+
getCommands(): ICommand[];
|
|
56
|
+
}
|
|
57
|
+
declare function createShellCommandModule(executable?: string): ICommandModule;
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/command/doctor/doctor-node-deps.d.ts
|
|
60
|
+
/** A bare command resolves through `PATH`; a path-form command must exist as given. */
|
|
61
|
+
declare function resolveCommandOnPath(command: string, env?: Readonly<Record<string, string | undefined>>): boolean;
|
|
62
|
+
declare function createNodeDoctorDeps(env?: Readonly<Record<string, string | undefined>>): IDoctorDeps;
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/command/terminal-client/terminal-client-commands.d.ts
|
|
65
|
+
/** A command the terminal runs itself, with the terminal's own handoff and working directory. */
|
|
66
|
+
interface ITerminalClientCommand {
|
|
67
|
+
readonly name: string;
|
|
68
|
+
execute(host: ICommandHostTerminalHandoff & ICommandHostWorkspace, args: string): ICommandResult | Promise<ICommandResult>;
|
|
69
|
+
}
|
|
70
|
+
/** The terminal's own capabilities — the same ones its in-process command modules are given. */
|
|
71
|
+
interface ITerminalClientCommandOptions {
|
|
72
|
+
/** The shell `/shell` runs; absent → the platform shell, as for the in-process command. */
|
|
73
|
+
readonly shellExecutable?: string;
|
|
74
|
+
/** Product-owned prefix for `/editor`'s temporary directory; absent → the command's default. */
|
|
75
|
+
readonly editorTemporaryDirectoryPrefix?: string;
|
|
76
|
+
/** Refusal returned before any editor process or temporary file is created. */
|
|
77
|
+
readonly editorUnavailableMessage?: string;
|
|
78
|
+
/** Absent → `/keybindings` answers where key bindings live, as the in-process command does. */
|
|
79
|
+
readonly keybindingsFile?: IKeybindingsFilePort;
|
|
80
|
+
/** Absent → `/theme` answers where themes live, as the in-process command does. */
|
|
81
|
+
readonly themeCatalogue?: IThemeCataloguePort;
|
|
82
|
+
/**
|
|
83
|
+
* The same module selection the default assembly is given (`agent-command-shell`, …): a module it
|
|
84
|
+
* leaves out is left out here too, so an attached terminal offers no command a standalone one
|
|
85
|
+
* would not. Absent → every client-run module.
|
|
86
|
+
*/
|
|
87
|
+
readonly enabledCommandModules?: readonly string[];
|
|
88
|
+
/** Applied after `enabledCommandModules`, as in the default assembly (deny > allow). */
|
|
89
|
+
readonly disabledCommandModules?: readonly string[];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Every client-run command the module selection keeps, whether or not its port is given. The set
|
|
93
|
+
* shrinks only with the selection, never with a missing port: the attached terminal routes by it, so
|
|
94
|
+
* a selected command left out would run on the daemon instead — and without its port the command
|
|
95
|
+
* still answers as its in-process twin does.
|
|
96
|
+
*/
|
|
97
|
+
declare function createTerminalClientCommands(options: ITerminalClientCommandOptions): readonly ITerminalClientCommand[];
|
|
98
|
+
//#endregion
|
|
99
|
+
export { EDITOR_COMMAND_DESCRIPTION, EditorCommandSource, type IResolvedEditor, type IResolvedShell, type ITerminalClientCommand, type ITerminalClientCommandOptions, SHELL_COMMAND_DESCRIPTION, ShellCommandSource, createEditorCommandEntry, createEditorCommandModule, createNodeDoctorDeps, createShellCommandEntry, createShellCommandModule, createTerminalClientCommands, executeEditorCommand, executeShellCommand, openFileInEditor, resolveCommandOnPath, resolveEditor, resolveShell, spawnInherited };
|
|
100
|
+
//# sourceMappingURL=node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.ts","names":[],"sources":["../../src/command/editor/resolve-editor.ts","../../src/command/editor/editor-command.ts","../../src/command/editor/open-in-editor.ts","../../src/command/editor/editor-command-module.ts","../../src/command/shell/resolve-shell.ts","../../src/command/shell/spawn-inherited.ts","../../src/command/shell/shell-command.ts","../../src/command/shell/shell-command-module.ts","../../src/command/doctor/doctor-node-deps.ts","../../src/command/terminal-client/terminal-client-commands.ts"],"mappings":";;;;;;;;UAIiB;EACf;EACA;;iBAGc,iBAAiB;;;cCkBpB;iBASS,qBACpB,SAAS,8BAA8B,uBACvC,cACA,oCACC,QAAQ;;;iBC/BK,iBAAiB,cAAc,cAAc;;;iBCD7C,yBAAyB,8BAA8B;cAoC1D,+BAA+B;mBAGb;WAFpB;EAEoB,YAAA;EAE7B,eAAe;;iBAKD,0BACd,mCACA,8BACC;;;UClDc;;EAEf;;EAEA;;EAEA,YAAY;;;iBAIE,aAAa,sBAAsB;;;iBCLnC,eACd,iBACA,yBACA,cACC;;;cCFU;iBAGS,oBACpB,SAAS,8BAA8B,uBACvC,cACA,sBACC,QAAQ;;;iBCbK,2BAA2B;cA8B9B,8BAA8B;WAChC;EAET,eAAe;;iBAKD,yBAAyB,sBAAsB;;;;iBCsB/C,qBACd,iBACA,MAAK,SAAS;iBAYA,qBACd,MAAK,SAAS,sCACb;;;;UCtDc;WACN;EACT,QACE,MAAM,8BAA8B,uBACpC,eACC,iBAAiB,QAAQ;;;UAIb;;WAEN;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,iBAAiB;;;;;;WAMjB;;WAEA;;;;;;;;iBAWK,6BACd,SAAS,yCACC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,s as m,t as h,u as g}from"../node-Cw2VT1HG.js";export{l as EDITOR_COMMAND_DESCRIPTION,g as EditorCommandSource,m as SHELL_COMMAND_DESCRIPTION,s as ShellCommandSource,r as createEditorCommandEntry,i as createEditorCommandModule,u as createNodeDoctorDeps,t as createShellCommandEntry,d as createShellCommandModule,h as createTerminalClientCommands,o as executeEditorCommand,n as executeShellCommand,f as openFileInEditor,p as resolveCommandOnPath,e as resolveEditor,c as resolveShell,a as spawnInherited};
|