@subimpact/e 0.99.9 → 0.99.10
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/dist/bundle/chunks/{chunk-BKH3CKIQ.js → chunk-4W4DDI22.js} +1 -1
- package/dist/bundle/chunks/{chunk-GPQ34NUL.js → chunk-UU7I6PLO.js} +3 -3
- package/dist/bundle/chunks/{virtual-modules-WTOYSRCM.js → virtual-modules-W33JFGIG.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 +8 -8
- package/dist/modes/interactive/components/e-logo.d.ts.map +1 -1
- package/dist/modes/interactive/components/e-logo.js +12 -14
- 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-4W4DDI22.js";import{all_exports,build_exports,compat_exports,compile_exports,dist_exports as dist_exports2,value_exports}from"./chunk-UU7I6PLO.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-UU7I6PLO.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-4W4DDI22.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-UU7I6PLO.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-UU7I6PLO.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)]);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The e logo (Euler's number):
|
|
3
|
-
* grid (half blocks, one cell = two vertical pixels):
|
|
2
|
+
* The e logo (Euler's number): traced from the tom-thumb 3x5 lowercase e, the most legible tiny
|
|
3
|
+
* bitmap e in common use, scaled to a 4x4 pixel grid (half blocks, one cell = two vertical pixels):
|
|
4
4
|
*
|
|
5
5
|
* . coral coral coral
|
|
6
|
-
*
|
|
6
|
+
* coral . . coral
|
|
7
7
|
* coral coral coral .
|
|
8
|
-
*
|
|
8
|
+
* . coral coral .
|
|
9
9
|
*
|
|
10
|
-
* The
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* fixed across themes; they follow the terminal's color mode.
|
|
10
|
+
* The stroke enters at the left spine (the lower half of the first cell), the top stroke closes
|
|
11
|
+
* over the eye, the crossbar juts into the mouth, and the bottom curve curls under the bar and
|
|
12
|
+
* exits bottom-right. Coral only: two-tone cells read as noise at 4x4, and half blocks carry one
|
|
13
|
+
* color per cell. Brand colors stay fixed across themes; they follow the terminal's color mode.
|
|
14
14
|
*/
|
|
15
15
|
export declare function eLogoLines(): [string, string];
|
|
16
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":"
|
|
1
|
+
{"version":3,"file":"e-logo.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/e-logo.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,UAAU,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAS7C"}
|
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
import { foregroundAnsi, rgbColor } from "@earendil-works/pi-tui";
|
|
2
2
|
import { theme } from "../theme/theme.js";
|
|
3
3
|
const CORAL = rgbColor(228, 138, 122);
|
|
4
|
-
const BLUE = rgbColor(79, 142, 179);
|
|
5
4
|
const RESET = "\x1b[0m";
|
|
6
5
|
/**
|
|
7
|
-
* The e logo (Euler's number):
|
|
8
|
-
* grid (half blocks, one cell = two vertical pixels):
|
|
6
|
+
* The e logo (Euler's number): traced from the tom-thumb 3x5 lowercase e, the most legible tiny
|
|
7
|
+
* bitmap e in common use, scaled to a 4x4 pixel grid (half blocks, one cell = two vertical pixels):
|
|
9
8
|
*
|
|
10
9
|
* . coral coral coral
|
|
11
|
-
*
|
|
10
|
+
* coral . . coral
|
|
12
11
|
* coral coral coral .
|
|
13
|
-
*
|
|
12
|
+
* . coral coral .
|
|
14
13
|
*
|
|
15
|
-
* The
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* fixed across themes; they follow the terminal's color mode.
|
|
14
|
+
* The stroke enters at the left spine (the lower half of the first cell), the top stroke closes
|
|
15
|
+
* over the eye, the crossbar juts into the mouth, and the bottom curve curls under the bar and
|
|
16
|
+
* exits bottom-right. Coral only: two-tone cells read as noise at 4x4, and half blocks carry one
|
|
17
|
+
* color per cell. Brand colors stay fixed across themes; they follow the terminal's color mode.
|
|
19
18
|
*/
|
|
20
19
|
export function eLogoLines() {
|
|
21
20
|
const mode = theme.getColorMode();
|
|
22
21
|
const fg = (color) => foregroundAnsi(color, mode);
|
|
23
|
-
// Line 1 (top two pixel rows): cells [▄
|
|
24
|
-
// Line 2 (bottom two pixel rows): cells [
|
|
22
|
+
// Line 1 (top two pixel rows): cells [▄ coral][▀ coral][▀ coral][█ coral]
|
|
23
|
+
// Line 2 (bottom two pixel rows): cells [▀ coral][█ coral][█ coral][ ]
|
|
25
24
|
const c = fg(CORAL);
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const bottom = `${c}█${c}▀▀${b}▄${RESET}`;
|
|
25
|
+
const top = `${c}▄▀▀█${RESET} `;
|
|
26
|
+
const bottom = `${c}▀██ ${RESET}`;
|
|
29
27
|
return [top, bottom];
|
|
30
28
|
}
|
|
31
29
|
//# 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,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACtC,MAAM,
|
|
1
|
+
{"version":3,"file":"e-logo.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/e-logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACtC,MAAM,KAAK,GAAG,SAAS,CAAC;AAExB;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,UAAU;IACzB,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,EAAE,GAAG,CAAC,KAAmB,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChE,0EAA0E;IAC1E,uEAAuE;IACvE,MAAM,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,KAAK,GAAG,CAAC;IAChC,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,KAAK,EAAE,CAAC;IAClC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,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 RESET = \"\\x1b[0m\";\n\n/**\n * The e logo (Euler's number): traced from the tom-thumb 3x5 lowercase e, the most legible tiny\n * bitmap e in common use, scaled to a 4x4 pixel grid (half blocks, one cell = two vertical pixels):\n *\n * . coral coral coral\n * coral . . coral\n * coral coral coral .\n * . coral coral .\n *\n * The stroke enters at the left spine (the lower half of the first cell), the top stroke closes\n * over the eye, the crossbar juts into the mouth, and the bottom curve curls under the bar and\n * exits bottom-right. Coral only: two-tone cells read as noise at 4x4, and half blocks carry one\n * color per cell. Brand colors stay 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 [▄ coral][▀ coral][▀ coral][█ coral]\n\t// Line 2 (bottom two pixel rows): cells [▀ coral][█ coral][█ coral][ ]\n\tconst c = fg(CORAL);\n\tconst top = `${c}▄▀▀█${RESET} `;\n\tconst bottom = `${c}▀██ ${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.10",
|
|
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": {
|