@subimpact/e 0.99.8 → 0.99.9
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 +5 -1
- package/dist/bundle/chunks/{chunk-K7HFCKO6.js → chunk-BKH3CKIQ.js} +1 -1
- package/dist/bundle/chunks/{chunk-ZF24NZZF.js → chunk-GPQ34NUL.js} +3 -3
- package/dist/bundle/chunks/{virtual-modules-WTPTTSLL.js → virtual-modules-WTOYSRCM.js} +1 -1
- package/dist/bundle/cli-runtime.js +1 -1
- package/dist/bundle/index.js +1 -1
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/modes/interactive/components/e-logo.d.ts +5 -4
- package/dist/modes/interactive/components/e-logo.d.ts.map +1 -1
- package/dist/modes/interactive/components/e-logo.js +8 -7
- package/dist/modes/interactive/components/e-logo.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
-
import{dist_exports as dist_exports3}from"./chunk-
|
|
2
|
+
import{dist_exports as dist_exports3}from"./chunk-BKH3CKIQ.js";import{all_exports,build_exports,compat_exports,compile_exports,dist_exports as dist_exports2,value_exports}from"./chunk-GPQ34NUL.js";import"./chunk-USJZMAIR.js";import{dist_exports}from"./chunk-OY7LPJPR.js";import"./chunk-S3GGRYIO.js";import"./chunk-VIV3CWXG.js";import"./chunk-DRQDKNXA.js";import"./chunk-TRDNDS6A.js";import"./chunk-KJUDFE6Y.js";import"./chunk-A3JYRWB6.js";import"./chunk-4L3WN2XY.js";var oauth_exports={};var VIRTUAL_MODULES={typebox:build_exports,"typebox/compile":compile_exports,"typebox/value":value_exports,"@sinclair/typebox":build_exports,"@sinclair/typebox/compile":compile_exports,"@sinclair/typebox/value":value_exports,"@earendil-works/pi-agent-core":dist_exports2,"@earendil-works/pi-tui":dist_exports,"@earendil-works/pi-ai":compat_exports,"@earendil-works/pi-ai/compat":compat_exports,"@earendil-works/pi-ai/oauth":oauth_exports,"@earendil-works/pi-ai/providers/all":all_exports,"@earendil-works/pi-coding-agent":dist_exports3,"@mariozechner/pi-agent-core":dist_exports2,"@mariozechner/pi-tui":dist_exports,"@mariozechner/pi-ai":compat_exports,"@mariozechner/pi-ai/compat":compat_exports,"@mariozechner/pi-ai/oauth":oauth_exports,"@mariozechner/pi-ai/providers/all":all_exports,"@mariozechner/pi-coding-agent":dist_exports3};export{VIRTUAL_MODULES};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
3
|
-
import{configureHttpDispatcher,main}from"./chunks/chunk-
|
|
3
|
+
import{configureHttpDispatcher,main}from"./chunks/chunk-GPQ34NUL.js";import"./chunks/chunk-USJZMAIR.js";import{APP_NAME}from"./chunks/chunk-OY7LPJPR.js";import"./chunks/chunk-S3GGRYIO.js";import"./chunks/chunk-VIV3CWXG.js";import"./chunks/chunk-DRQDKNXA.js";import"./chunks/chunk-TRDNDS6A.js";import"./chunks/chunk-KJUDFE6Y.js";import"./chunks/chunk-A3JYRWB6.js";import"./chunks/chunk-4L3WN2XY.js";function setupCli(){process.title=APP_NAME,process.env.PI_CODING_AGENT="true",process.env.AI_AGENT="pi",process.emitWarning=(()=>{}),configureHttpDispatcher()}setupCli();main(process.argv.slice(2));
|
package/dist/bundle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
-
import{ShowImagesSelectorComponent,ThemeSelectorComponent}from"./chunks/chunk-
|
|
2
|
+
import{ShowImagesSelectorComponent,ThemeSelectorComponent}from"./chunks/chunk-BKH3CKIQ.js";import{AgentSession,AgentSessionRuntime,AssistantMessageComponent,BashExecutionComponent,BorderedLoader,BranchSummaryMessageComponent,CURRENT_SESSION_VERSION,CompactionSummaryMessageComponent,CredentialSynchronizationError,CustomEditor,CustomMessageComponent,DEFAULT_COMPACTION_SETTINGS,DEFAULT_MAX_BYTES,DEFAULT_MAX_LINES,DefaultPackageManager,DefaultResourceLoader,DynamicBorder,ExtensionEditorComponent,ExtensionInputComponent,ExtensionRunner,ExtensionSelectorComponent,FooterComponent,InteractiveMode,LoginDialogComponent,ModelRegistry,ModelRuntime,ModelSelectorComponent,OAuthSelectorComponent,ProjectTrustStore,RpcClient,SessionManager,SessionSelectorComponent,SettingsManager,SettingsSelectorComponent,SkillInvocationMessageComponent,ThinkingSelectorComponent,ToolExecutionComponent,TreeSelectorComponent,UserMessageComponent,UserMessageSelectorComponent,VIRTUAL_MODEL_STATE_ENTRY,buildContextEntries,buildSessionContext,buildSessionProjection,calculateContextTokens,collectEntriesForBranchSummary,compact,convertToLlm,convertToPng,copyToClipboard,createAgentSession,createAgentSessionFromServices,createAgentSessionRuntime,createAgentSessionServices,createBashTool,createBashToolDefinition,createCodingTools,createEditTool,createEditToolDefinition,createEventBus,createExtensionRuntime,createFindTool,createFindToolDefinition,createGrepTool,createGrepToolDefinition,createLocalBashOperations,createLocalPowerShellOperations,createLsTool,createLsToolDefinition,createPowerShellTool,createPowerShellToolDefinition,createReadOnlyTools,createReadTool,createReadToolDefinition,createSyntheticSourceInfo,createWriteTool,createWriteToolDefinition,defineTool,detectSupportedImageMimeTypeFromFile,discoverAndLoadExtensions,estimateTokens,findCutPoint,findTurnStartIndex,formatDimensionNote,formatSize,formatSkillsForPrompt,generateBranchSummary,generateDiffString,generateSummary,generateSummaryWithUsage,generateUnifiedPatch,getLastAssistantUsage,getLatestCompactionEntry,getPowerShellConfig,getShellConfig,hasTrustRequiringProjectResources,isBashToolResult,isEditToolResult,isFindToolResult,isGrepToolResult,isLsToolResult,isPowerShellToolResult,isReadToolResult,isToolCallEventType,isWriteToolResult,loadProjectContextFiles,loadSkills,loadSkillsFromDir,main,migrateSessionEntries,parseArgs,parseFrontmatter,parseSessionEntries,parseSkillBlock,prepareBranchEntries,readStoredCredential,renderDiff,resizeImage,resolveCliModel,resolveModelScopeWithDiagnostics,runPrintMode,runRpcMode,serializeConversation,sessionEntryToContextMessages,shouldCompact,stripFrontmatter,truncateHead,truncateLine,truncateTail,truncateToVisualLines,withFileMutationQueue,wrapRegisteredTool,wrapRegisteredTools}from"./chunks/chunk-GPQ34NUL.js";import"./chunks/chunk-USJZMAIR.js";import{ArminComponent,CONFIG_DIR_NAME,Theme,VERSION,getAgentDir,getDocsPath,getExamplesPath,getLanguageFromPath,getMarkdownTheme,getPackageDir,getReadmePath,getSelectListTheme,getSettingsListTheme,highlightCode,initTheme,keyHint,keyText,rawKeyHint}from"./chunks/chunk-OY7LPJPR.js";import"./chunks/chunk-S3GGRYIO.js";import"./chunks/chunk-VIV3CWXG.js";import"./chunks/chunk-DRQDKNXA.js";import"./chunks/chunk-TRDNDS6A.js";import"./chunks/chunk-KJUDFE6Y.js";import"./chunks/chunk-A3JYRWB6.js";import"./chunks/chunk-4L3WN2XY.js";export{AgentSession,AgentSessionRuntime,ArminComponent,AssistantMessageComponent,BashExecutionComponent,BorderedLoader,BranchSummaryMessageComponent,CONFIG_DIR_NAME,CURRENT_SESSION_VERSION,CompactionSummaryMessageComponent,CredentialSynchronizationError,CustomEditor,CustomMessageComponent,DEFAULT_COMPACTION_SETTINGS,DEFAULT_MAX_BYTES,DEFAULT_MAX_LINES,DefaultPackageManager,DefaultResourceLoader,DynamicBorder,ExtensionEditorComponent,ExtensionInputComponent,ExtensionRunner,ExtensionSelectorComponent,FooterComponent,InteractiveMode,LoginDialogComponent,ModelRegistry,ModelRuntime,ModelSelectorComponent,OAuthSelectorComponent,ProjectTrustStore,RpcClient,SessionManager,SessionSelectorComponent,SettingsManager,SettingsSelectorComponent,ShowImagesSelectorComponent,SkillInvocationMessageComponent,Theme,ThemeSelectorComponent,ThinkingSelectorComponent,ToolExecutionComponent,TreeSelectorComponent,UserMessageComponent,UserMessageSelectorComponent,VERSION,VIRTUAL_MODEL_STATE_ENTRY,buildContextEntries,buildSessionContext,buildSessionProjection,calculateContextTokens,collectEntriesForBranchSummary,compact,convertToLlm,convertToPng,copyToClipboard,createAgentSession,createAgentSessionFromServices,createAgentSessionRuntime,createAgentSessionServices,createBashTool,createBashToolDefinition,createCodingTools,createEditTool,createEditToolDefinition,createEventBus,createExtensionRuntime,createFindTool,createFindToolDefinition,createGrepTool,createGrepToolDefinition,createLocalBashOperations,createLocalPowerShellOperations,createLsTool,createLsToolDefinition,createPowerShellTool,createPowerShellToolDefinition,createReadOnlyTools,createReadTool,createReadToolDefinition,createSyntheticSourceInfo,createWriteTool,createWriteToolDefinition,defineTool,detectSupportedImageMimeTypeFromFile,discoverAndLoadExtensions,estimateTokens,findCutPoint,findTurnStartIndex,formatDimensionNote,formatSize,formatSkillsForPrompt,generateBranchSummary,generateDiffString,generateSummary,generateSummaryWithUsage,generateUnifiedPatch,getAgentDir,getDocsPath,getExamplesPath,getLanguageFromPath,getLastAssistantUsage,getLatestCompactionEntry,getMarkdownTheme,getPackageDir,getPowerShellConfig,getReadmePath,getSelectListTheme,getSettingsListTheme,getShellConfig,hasTrustRequiringProjectResources,highlightCode,initTheme,isBashToolResult,isEditToolResult,isFindToolResult,isGrepToolResult,isLsToolResult,isPowerShellToolResult,isReadToolResult,isToolCallEventType,isWriteToolResult,keyHint,keyText,loadProjectContextFiles,loadSkills,loadSkillsFromDir,main,migrateSessionEntries,parseArgs,parseFrontmatter,parseSessionEntries,parseSkillBlock,prepareBranchEntries,rawKeyHint,readStoredCredential,renderDiff,resizeImage,resolveCliModel,resolveModelScopeWithDiagnostics,runPrintMode,runRpcMode,serializeConversation,sessionEntryToContextMessages,shouldCompact,stripFrontmatter,truncateHead,truncateLine,truncateTail,truncateToVisualLines,withFileMutationQueue,wrapRegisteredTool,wrapRegisteredTools};
|
package/dist/bundle/rpc-entry.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
3
|
-
import{configureHttpDispatcher,main}from"./chunks/chunk-
|
|
3
|
+
import{configureHttpDispatcher,main}from"./chunks/chunk-GPQ34NUL.js";import"./chunks/chunk-USJZMAIR.js";import{APP_NAME}from"./chunks/chunk-OY7LPJPR.js";import"./chunks/chunk-S3GGRYIO.js";import"./chunks/chunk-VIV3CWXG.js";import"./chunks/chunk-DRQDKNXA.js";import"./chunks/chunk-TRDNDS6A.js";import"./chunks/chunk-KJUDFE6Y.js";import"./chunks/chunk-A3JYRWB6.js";import"./chunks/chunk-4L3WN2XY.js";process.title=`${APP_NAME}-rpc`;process.env.PI_CODING_AGENT="true";process.env.AI_AGENT="pi";process.emitWarning=(()=>{});configureHttpDispatcher();main(["--mode","rpc",...process.argv.slice(2)]);
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
*
|
|
5
5
|
* . coral coral coral
|
|
6
6
|
* blue . . coral
|
|
7
|
-
* coral coral coral
|
|
7
|
+
* coral coral coral .
|
|
8
8
|
* blue . . blue
|
|
9
9
|
*
|
|
10
|
-
* The top stroke
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* The top stroke opens on the left, the middle bar is the e's eye, and the blue pixels are the
|
|
11
|
+
* terminals where the stroke enters and leaves the loop. Every cell carries a single fill color
|
|
12
|
+
* (a half block renders one color per cell, so no cell mixes coral and blue). Brand colors stay
|
|
13
|
+
* fixed across themes; they follow the terminal's color mode.
|
|
13
14
|
*/
|
|
14
15
|
export declare function eLogoLines(): [string, string];
|
|
15
16
|
//# sourceMappingURL=e-logo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-logo.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/e-logo.ts"],"names":[],"mappings":"AAOA
|
|
1
|
+
{"version":3,"file":"e-logo.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/e-logo.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,UAAU,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAU7C"}
|
|
@@ -9,22 +9,23 @@ const RESET = "\x1b[0m";
|
|
|
9
9
|
*
|
|
10
10
|
* . coral coral coral
|
|
11
11
|
* blue . . coral
|
|
12
|
-
* coral coral coral
|
|
12
|
+
* coral coral coral .
|
|
13
13
|
* blue . . blue
|
|
14
14
|
*
|
|
15
|
-
* The top stroke
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* The top stroke opens on the left, the middle bar is the e's eye, and the blue pixels are the
|
|
16
|
+
* terminals where the stroke enters and leaves the loop. Every cell carries a single fill color
|
|
17
|
+
* (a half block renders one color per cell, so no cell mixes coral and blue). Brand colors stay
|
|
18
|
+
* fixed across themes; they follow the terminal's color mode.
|
|
18
19
|
*/
|
|
19
20
|
export function eLogoLines() {
|
|
20
21
|
const mode = theme.getColorMode();
|
|
21
22
|
const fg = (color) => foregroundAnsi(color, mode);
|
|
22
23
|
// Line 1 (top two pixel rows): cells [▄ blue][▀ coral][▀ coral][█ coral]
|
|
23
|
-
// Line 2 (bottom two pixel rows): cells [
|
|
24
|
+
// Line 2 (bottom two pixel rows): cells [█ coral][▀ coral][▀ coral][▄ blue]
|
|
24
25
|
const c = fg(CORAL);
|
|
25
26
|
const b = fg(BLUE);
|
|
26
|
-
const top = `${b}▄${c}
|
|
27
|
-
const bottom = `${c}
|
|
27
|
+
const top = `${b}▄${c}▀▀${c}█${RESET} `;
|
|
28
|
+
const bottom = `${c}█${c}▀▀${b}▄${RESET}`;
|
|
28
29
|
return [top, bottom];
|
|
29
30
|
}
|
|
30
31
|
//# sourceMappingURL=e-logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-logo.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/e-logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QA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AC,CAAC;AACtB,CAAC","sourcesContent":["import { foregroundAnsi, rgbColor } from \"@earendil-works/pi-tui\";\nimport { theme } from \"../theme/theme.ts\";\n\nconst CORAL = rgbColor(228, 138, 122);\nconst BLUE = rgbColor(79, 142, 179);\nconst RESET = \"\\x1b[0m\";\n\n/**\n * The e logo (Euler's number): 4 cells wide and 2 lines tall, drawn as a lowercase e on a 4x4 pixel\n * grid (half blocks, one cell = two vertical pixels):\n *\n * . coral coral coral\n * blue . . coral\n * coral coral coral .\n * blue . . blue\n *\n * The top stroke opens on the left, the middle bar is the e's eye, and the blue pixels are the\n * terminals where the stroke enters and leaves the loop. Every cell carries a single fill color\n * (a half block renders one color per cell, so no cell mixes coral and blue). Brand colors stay\n * fixed across themes; they follow the terminal's color mode.\n */\nexport function eLogoLines(): [string, string] {\n\tconst mode = theme.getColorMode();\n\tconst fg = (color: typeof CORAL) => foregroundAnsi(color, mode);\n\t// Line 1 (top two pixel rows): cells [▄ blue][▀ coral][▀ coral][█ coral]\n\t// Line 2 (bottom two pixel rows): cells [█ coral][▀ coral][▀ coral][▄ blue]\n\tconst c = fg(CORAL);\n\tconst b = fg(BLUE);\n\tconst top = `${b}▄${c}▀▀${c}█${RESET} `;\n\tconst bottom = `${c}█${c}▀▀${b}▄${RESET}`;\n\treturn [top, bottom];\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@subimpact/e",
|
|
3
|
-
"version": "0.99.
|
|
3
|
+
"version": "0.99.9",
|
|
4
4
|
"description": "Minimal terminal coding harness. Fork of earendil-works/pi (MIT) with the MCP, codemode, and tool-search built-ins removed; compatibility with the classical pi extension/package ecosystem.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piConfig": {
|