@akon-labs/nexus-cli 0.1.6 → 0.1.7
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 +6 -0
- package/README.md +2 -3
- package/dist/cli.js +2 -122
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +0 -1
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/index.js +2 -122
- package/dist/modes/interactive/interactive-mode.d.ts +0 -5
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +0 -122
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/rpc-entry.js +2 -122
- package/dist/vendor/ai.js +1 -1
- package/docs/rpc.md +1 -1
- package/docs/usage.md +0 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-commands.d.ts","sourceRoot":"","sources":["../../src/core/slash-commands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElE,MAAM,WAAW,gBAAgB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,mBAAmB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"slash-commands.d.ts","sourceRoot":"","sources":["../../src/core/slash-commands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElE,MAAM,WAAW,gBAAgB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,mBAAmB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,mBAAmB,CAoCrE,CAAC","sourcesContent":["import { APP_NAME } from \"../config.ts\";\nimport type { SourceInfo } from \"./source-info.ts\";\n\nexport type SlashCommandSource = \"extension\" | \"prompt\" | \"skill\";\n\nexport interface SlashCommandInfo {\n\tname: string;\n\tdescription?: string;\n\tsource: SlashCommandSource;\n\tsourceInfo: SourceInfo;\n}\n\nexport interface BuiltinSlashCommand {\n\tname: string;\n\tdescription: string;\n\targumentHint?: string;\n\t/**\n\t * Kept out of the ctrl+k palette to keep that list scannable. Secondary\n\t * commands still run when typed and still appear in editor autocomplete —\n\t * this hides them from the palette only.\n\t */\n\tsecondary?: boolean;\n}\n\nexport const BUILTIN_SLASH_COMMANDS: ReadonlyArray<BuiltinSlashCommand> = [\n\t{ name: \"auto\", description: \"Switch back to Nexus Auto mode\" },\n\t{ name: \"settings\", description: \"Open settings menu\" },\n\t{ name: \"theme\", description: \"Switch color theme (live preview)\" },\n\t{ name: \"model\", description: \"Select model (opens selector UI)\", argumentHint: \"<provider/model>\" },\n\t{ name: \"scoped-models\", description: \"Enable/disable models for Ctrl+P cycling\", secondary: true },\n\t{ name: \"export\", description: \"Export session (HTML default, or specify path: .html/.jsonl)\" },\n\t{ name: \"import\", description: \"Import and resume a session from a JSONL file\", secondary: true },\n\t{ name: \"share\", description: \"Share session as a secret GitHub gist\", secondary: true },\n\t{ name: \"copy\", description: \"Copy last agent message to clipboard\", secondary: true },\n\t{ name: \"name\", description: \"Set session display name\", secondary: true },\n\t{ name: \"session\", description: \"Show session info and stats\" },\n\t{ name: \"fork\", description: \"Create a new fork from a previous user message\", secondary: true },\n\t{ name: \"clone\", description: \"Duplicate the current session at the current position\", secondary: true },\n\t{ name: \"tree\", description: \"Navigate session tree (switch branches)\", secondary: true },\n\t{ name: \"trust\", description: \"Save project trust decision for future sessions\", secondary: true },\n\t{\n\t\tname: \"login\",\n\t\tdescription: \"Sign in to GitNexus\",\n\t},\n\t{\n\t\tname: \"byok\",\n\t\tdescription: \"Configure your own cloud provider or local Ollama model\",\n\t\targumentHint: \"[provider|ollama]\",\n\t},\n\t{ name: \"logout\", description: \"Remove provider authentication\", secondary: true },\n\t{ name: \"new\", description: \"Start a new session\" },\n\t{ name: \"compact\", description: \"Manually compact the session context\" },\n\t{ name: \"resume\", description: \"Resume a different session\", secondary: true },\n\t{ name: \"sessions\", description: \"Browse and switch sessions (alias of /resume)\" },\n\t{\n\t\tname: \"reload\",\n\t\tdescription: \"Reload keybindings, extensions, skills, prompts, themes, and context files\",\n\t\tsecondary: true,\n\t},\n\t{ name: \"quit\", description: `Quit ${APP_NAME}` },\n];\n"]}
|
|
@@ -11,7 +11,6 @@ export const BUILTIN_SLASH_COMMANDS = [
|
|
|
11
11
|
{ name: "copy", description: "Copy last agent message to clipboard", secondary: true },
|
|
12
12
|
{ name: "name", description: "Set session display name", secondary: true },
|
|
13
13
|
{ name: "session", description: "Show session info and stats" },
|
|
14
|
-
{ name: "hotkeys", description: "Show all keyboard shortcuts" },
|
|
15
14
|
{ name: "fork", description: "Create a new fork from a previous user message", secondary: true },
|
|
16
15
|
{ name: "clone", description: "Duplicate the current session at the current position", secondary: true },
|
|
17
16
|
{ name: "tree", description: "Navigate session tree (switch branches)", secondary: true },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-commands.js","sourceRoot":"","sources":["../../src/core/slash-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAwBxC,MAAM,CAAC,MAAM,sBAAsB,GAAuC;IACzE,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAE;IAC/D,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,oBAAoB,EAAE;IACvD,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,mCAAmC,EAAE;IACnE,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,kCAAkC,EAAE,YAAY,EAAE,kBAAkB,EAAE;IACpG,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,0CAA0C,EAAE,SAAS,EAAE,IAAI,EAAE;IACnG,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,8DAA8D,EAAE;IAC/F,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+CAA+C,EAAE,SAAS,EAAE,IAAI,EAAE;IACjG,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,uCAAuC,EAAE,SAAS,EAAE,IAAI,EAAE;IACxF,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,sCAAsC,EAAE,SAAS,EAAE,IAAI,EAAE;IACtF,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,SAAS,EAAE,IAAI,EAAE;IAC1E,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,6BAA6B,EAAE;IAC/D,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"slash-commands.js","sourceRoot":"","sources":["../../src/core/slash-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAA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,EAAE;IAClG;QACC,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,qBAAqB;KAClC;IACD;QACC,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,yDAAyD;QACtE,YAAY,EAAE,mBAAmB;KACjC;IACD,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gCAAgC,EAAE,SAAS,EAAE,IAAI,EAAE;IAClF,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE;IACnD,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,sCAAsC,EAAE;IACxE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,4BAA4B,EAAE,SAAS,EAAE,IAAI,EAAE;IAC9E,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,+CAA+C,EAAE;IAClF;QACC,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,4EAA4E;QACzF,SAAS,EAAE,IAAI;KACf;IACD,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,QAAQ,EAAE,EAAE;CACjD,CAAC","sourcesContent":["import { APP_NAME } from \"../config.ts\";\nimport type { SourceInfo } from \"./source-info.ts\";\n\nexport type SlashCommandSource = \"extension\" | \"prompt\" | \"skill\";\n\nexport interface SlashCommandInfo {\n\tname: string;\n\tdescription?: string;\n\tsource: SlashCommandSource;\n\tsourceInfo: SourceInfo;\n}\n\nexport interface BuiltinSlashCommand {\n\tname: string;\n\tdescription: string;\n\targumentHint?: string;\n\t/**\n\t * Kept out of the ctrl+k palette to keep that list scannable. Secondary\n\t * commands still run when typed and still appear in editor autocomplete —\n\t * this hides them from the palette only.\n\t */\n\tsecondary?: boolean;\n}\n\nexport const BUILTIN_SLASH_COMMANDS: ReadonlyArray<BuiltinSlashCommand> = [\n\t{ name: \"auto\", description: \"Switch back to Nexus Auto mode\" },\n\t{ name: \"settings\", description: \"Open settings menu\" },\n\t{ name: \"theme\", description: \"Switch color theme (live preview)\" },\n\t{ name: \"model\", description: \"Select model (opens selector UI)\", argumentHint: \"<provider/model>\" },\n\t{ name: \"scoped-models\", description: \"Enable/disable models for Ctrl+P cycling\", secondary: true },\n\t{ name: \"export\", description: \"Export session (HTML default, or specify path: .html/.jsonl)\" },\n\t{ name: \"import\", description: \"Import and resume a session from a JSONL file\", secondary: true },\n\t{ name: \"share\", description: \"Share session as a secret GitHub gist\", secondary: true },\n\t{ name: \"copy\", description: \"Copy last agent message to clipboard\", secondary: true },\n\t{ name: \"name\", description: \"Set session display name\", secondary: true },\n\t{ name: \"session\", description: \"Show session info and stats\" },\n\t{ name: \"fork\", description: \"Create a new fork from a previous user message\", secondary: true },\n\t{ name: \"clone\", description: \"Duplicate the current session at the current position\", secondary: true },\n\t{ name: \"tree\", description: \"Navigate session tree (switch branches)\", secondary: true },\n\t{ name: \"trust\", description: \"Save project trust decision for future sessions\", secondary: true },\n\t{\n\t\tname: \"login\",\n\t\tdescription: \"Sign in to GitNexus\",\n\t},\n\t{\n\t\tname: \"byok\",\n\t\tdescription: \"Configure your own cloud provider or local Ollama model\",\n\t\targumentHint: \"[provider|ollama]\",\n\t},\n\t{ name: \"logout\", description: \"Remove provider authentication\", secondary: true },\n\t{ name: \"new\", description: \"Start a new session\" },\n\t{ name: \"compact\", description: \"Manually compact the session context\" },\n\t{ name: \"resume\", description: \"Resume a different session\", secondary: true },\n\t{ name: \"sessions\", description: \"Browse and switch sessions (alias of /resume)\" },\n\t{\n\t\tname: \"reload\",\n\t\tdescription: \"Reload keybindings, extensions, skills, prompts, themes, and context files\",\n\t\tsecondary: true,\n\t},\n\t{ name: \"quit\", description: `Quit ${APP_NAME}` },\n];\n"]}
|