@code-yeongyu/senpi 2026.9.29-4 → 2026.9.29-5

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +28 -7
  2. package/dist/bundle/chunks/{anthropic-messages-DZAH73IA.js → anthropic-messages-HEVKB3PL.js} +1 -1
  3. package/dist/bundle/chunks/{app-server-command-BUIGVCL4.js → app-server-command-32AFWZEH.js} +1 -1
  4. package/dist/bundle/chunks/{azure-openai-responses-ZJGVMXRJ.js → azure-openai-responses-QVPPCPVL.js} +1 -1
  5. package/dist/bundle/chunks/{chunk-U5LXY7UD.js → chunk-2IHY6ZLW.js} +1 -1
  6. package/dist/bundle/chunks/{chunk-ESPYV6XG.js → chunk-2N3BZ5DV.js} +1 -1
  7. package/dist/bundle/chunks/{chunk-XNR637JQ.js → chunk-2WAKOPNA.js} +1 -1
  8. package/dist/bundle/chunks/{chunk-SHIPI3FN.js → chunk-63QHOG5A.js} +44 -44
  9. package/dist/bundle/chunks/{chunk-H2U7247O.js → chunk-77AUUH3Z.js} +2 -2
  10. package/dist/bundle/chunks/{chunk-T4F7KOR2.js → chunk-7CQX3QFV.js} +1 -1
  11. package/dist/bundle/chunks/{chunk-WW3YFGEP.js → chunk-7MUTNWPO.js} +1 -1
  12. package/dist/bundle/chunks/{chunk-6NXC765G.js → chunk-AWEAVBCR.js} +1 -1
  13. package/dist/bundle/chunks/{chunk-3DISE3EE.js → chunk-BBNWT72C.js} +1 -1
  14. package/dist/bundle/chunks/{chunk-HKUHLCH7.js → chunk-U7BNOE23.js} +1 -1
  15. package/dist/bundle/chunks/{chunk-VAKMXHSM.js → chunk-VLW22GHJ.js} +1 -1
  16. package/dist/bundle/chunks/{chunk-DFRI62DO.js → chunk-W4IEEYWL.js} +1 -1
  17. package/dist/bundle/chunks/{chunk-Q6X7ES7N.js → chunk-XO7VCMY6.js} +1 -1
  18. package/dist/bundle/chunks/chunk-YLQTKWEC.js +6 -0
  19. package/dist/bundle/chunks/{chunk-NUS5JXND.js → chunk-Z2N5372Y.js} +1 -1
  20. package/dist/bundle/chunks/{chunk-JQNR6OYN.js → chunk-ZDNR3YVJ.js} +1 -1
  21. package/dist/bundle/chunks/{chunk-DAKIX3RD.js → chunk-ZPMJIPQC.js} +1 -1
  22. package/dist/bundle/chunks/{cli-main-XCRRH3OR.js → cli-main-ZPMYM3A3.js} +1 -1
  23. package/dist/bundle/chunks/engine-RCHMSSBT.js +2 -0
  24. package/dist/bundle/chunks/github-copilot.js +1 -1
  25. package/dist/bundle/chunks/{google-generative-ai-RYFW7GSR.js → google-generative-ai-E3I6MS7E.js} +1 -1
  26. package/dist/bundle/chunks/{google-vertex-J64D4U2O.js → google-vertex-KFFI24FU.js} +1 -1
  27. package/dist/bundle/chunks/{help-fast-path-JJVINW3Y.js → help-fast-path-ZUNFOE53.js} +1 -1
  28. package/dist/bundle/chunks/{host-command-IZJU2H7Z.js → host-command-V2LDNNXB.js} +1 -1
  29. package/dist/bundle/chunks/{interactive-mode-KXRPZ2U6.js → interactive-mode-J6KGDRR7.js} +1 -1
  30. package/dist/bundle/chunks/{mistral-conversations-C7ZTJYKE.js → mistral-conversations-EZ4XNJXU.js} +1 -1
  31. package/dist/bundle/chunks/{multi-session-host-3XTEXGP4.js → multi-session-host-IBVJ3WN7.js} +1 -1
  32. package/dist/bundle/chunks/{openai-codex-responses-N5SCEWCY.js → openai-codex-responses-TMUCQW5E.js} +1 -1
  33. package/dist/bundle/chunks/{openai-completions-T4B2KZ4B.js → openai-completions-SA2UJW7Q.js} +1 -1
  34. package/dist/bundle/chunks/{openai-responses-N4OK2RIV.js → openai-responses-EHSD4L2M.js} +1 -1
  35. package/dist/bundle/chunks/{package-manager-cli-ZHWO6FT5.js → package-manager-cli-JJ5R7UWV.js} +1 -1
  36. package/dist/bundle/chunks/{rotation-stream-5GE3KAHL.js → rotation-stream-EX7PWQ4S.js} +1 -1
  37. package/dist/bundle/chunks/{rpc-mode-DEVPDAT4.js → rpc-mode-ITND2BVC.js} +1 -1
  38. package/dist/bundle/chunks/{session-control-endpoint-72A2NRVH.js → session-control-endpoint-UJJGG4WI.js} +1 -1
  39. package/dist/bundle/chunks/{session-picker-XYMNQ6AZ.js → session-picker-K5FIKV6C.js} +1 -1
  40. package/dist/bundle/chunks/session-worker.js +42 -42
  41. package/dist/bundle/cli.js +1 -1
  42. package/dist/bundle/index.js +1 -1
  43. package/dist/bundle/rpc-entry.js +1 -1
  44. package/dist/bundle/runtime-manifest.json +1 -1
  45. package/dist/core/auth-providers.d.ts +9 -0
  46. package/dist/core/auth-providers.js +17 -0
  47. package/dist/core/dynamic-prompt/build.js +1 -1
  48. package/dist/core/dynamic-prompt/intent-gate.js +1 -1
  49. package/dist/core/dynamic-prompt/verification.d.ts +9 -1
  50. package/dist/core/dynamic-prompt/verification.js +11 -2
  51. package/dist/core/extensions/builtin/prompt-preset/claude-fable-5-1.js +3 -3
  52. package/dist/core/extensions/builtin/prompt-preset/claude-fable-5.js +3 -3
  53. package/dist/core/extensions/builtin/prompt-preset/claude-opus-5-5.js +3 -3
  54. package/dist/core/extensions/builtin/prompt-preset/claude-opus-5.js +3 -3
  55. package/dist/core/extensions/builtin/prompt-preset/claude-sonnet-5-5.js +3 -3
  56. package/dist/core/extensions/builtin/prompt-preset/gpt-5.5.js +3 -3
  57. package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.js +4 -4
  58. package/dist/core/extensions/builtin/prompt-preset/gpt-6-astra.d.ts +6 -2
  59. package/dist/core/extensions/builtin/prompt-preset/gpt-6-astra.js +24 -7
  60. package/dist/core/extensions/builtin/prompt-preset/gpt-surface.d.ts +4 -1
  61. package/dist/core/extensions/builtin/prompt-preset/gpt-surface.js +4 -1
  62. package/dist/core/extensions/builtin/prompt-preset/grok-4.5.js +4 -4
  63. package/dist/core/extensions/builtin/prompt-preset/grok-4.6.js +3 -3
  64. package/dist/core/extensions/builtin/prompt-preset/grok-4.7.js +3 -3
  65. package/dist/core/extensions/builtin/prompt-preset/kimi-k3.js +3 -3
  66. package/dist/core/extensions/builtin/prompt-preset/presets.js +12 -9
  67. package/dist/core/high-reasoning-warning.js +4 -3
  68. package/dist/core/model-resolver.js +2 -2
  69. package/dist/modes/rpc/connection-handler.js +7 -4
  70. package/package.json +6 -6
  71. package/dist/bundle/chunks/chunk-TODLHR4S.js +0 -6
  72. package/dist/bundle/chunks/engine-35QNGFQZ.js +0 -2
@@ -1,2 +0,0 @@
1
- import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url); { const __piWorkerThreads = require("node:worker_threads"); if (typeof __piWorkerThreads.markAsUncloneable !== "function") { __piWorkerThreads.markAsUncloneable = () => {}; } }
2
- import{composeFoldResult}from"./chunk-BMX2U22F.js";import"./chunk-IKOFCODM.js";import{existsSync}from"node:fs";import{createRequire}from"node:module";import{join}from"node:path";import{fileURLToPath}from"node:url";var GRAMMAR_FILES=Object.freeze({ts:"typescript.wasm",tsx:"tsx.wasm",js:"javascript.wasm"}),UPSTREAM_FILES=Object.freeze({ts:"tree-sitter-typescript.wasm",tsx:"tree-sitter-tsx.wasm",js:"tree-sitter-javascript.wasm"}),TREE_SITTER_RUNTIME_FILE="web-tree-sitter.wasm",packagedAssetDirectory=fileURLToPath(new URL("../../../../../assets/tree-sitter/",import.meta.url)),embeddedGrammars={js:()=>import("./javascript-ER3DQ367.js")},embeddedRuntime=()=>import("./web-tree-sitter-6VXGLXZD.js");async function embeddedPath(load){if(!(!load||!process.versions.bun))try{let module=await load();return existsSync(module.default)?module.default:void 0}catch{return}}function installedPath(specifier){try{let path=createRequire(import.meta.url).resolve(specifier);return existsSync(path)?path:void 0}catch{return}}async function resolveGrammarPath(language){let packaged=join(packagedAssetDirectory,GRAMMAR_FILES[language]);return existsSync(packaged)?packaged:await embeddedPath(embeddedGrammars[language])??installedPath(`@vscode/tree-sitter-wasm/wasm/${UPSTREAM_FILES[language]}`)}async function resolveRuntimePath(){let packaged=join(packagedAssetDirectory,TREE_SITTER_RUNTIME_FILE);return existsSync(packaged)?packaged:await embeddedPath(embeddedRuntime)??installedPath("web-tree-sitter/web-tree-sitter.wasm")}var bodyKinds=new Set(["statement_block","object","array","switch_body"]),functionKinds=new Set(["function_declaration","function_expression","function","generator_function","generator_function_declaration","arrow_function","method_definition","function_signature","method_signature","abstract_method_signature"]),classKinds=new Set(["class","class_declaration","abstract_class_declaration"]),opaqueKinds=new Set(["type_annotation","type_arguments","type_parameters","type_alias_declaration","interface_declaration","type_predicate_annotation","omitting_type_annotation","opting_type_annotation","asserts_annotation","type_identifier","predefined_type","nested_type_identifier","formal_parameters","class_heritage","extends_clause","extends_type_clause","implements_clause","decorator","import_statement","object_pattern","array_pattern","computed_property_name","ambient_declaration"]);function isOpaque(node){return opaqueKinds.has(node.type)||node.type.endsWith("_type")||node.type.endsWith("_type_annotation")}function childNodes(node){let children=[];for(let child of node.children)child&&children.push(child);return children}function openBrace(node){for(let child of childNodes(node))if(child.type==="{"||child.type==="[")return child}function closeBrace(node){let children=childNodes(node);for(let index=children.length-1;index>=0;index--){let child=children[index];if(child.type==="}"||child.type==="]")return child}}function exportsOnlyBindings(node){for(let child of childNodes(node))if(child.type==="export_clause"||child.type==="*"||child.type==="namespace_export")return!0;return!1}function typeOperator(node){if(!(node.type!=="as_expression"&&node.type!=="satisfies_expression"))return childNodes(node).find(child=>child.type==="as"||child.type==="satisfies")}function assignmentTarget(node){if(node.type!=="assignment_expression"&&node.type!=="for_in_statement")return;let left=node.childForFieldName("left");if(!left)return;let target=left;for(;target.type==="parenthesized_expression";){let inner=childNodes(target).find(child=>child.type!=="("&&child.type!==")");if(!inner)break;target=inner}return target.type==="object"||target.type==="array"?left:void 0}function foldRangesFromSyntax(root,settings){if(root.hasError||root.isMissing)return{status:"parse_failure",reason:"tree_sitter_parse_error"};let candidates=[],guarded=[],protect=(startLine,endLine)=>{endLine>=startLine&&guarded.push({startLine,endLine})},line=row=>row+1,visit=node=>{if(isOpaque(node)||node.type==="export_statement"&&exportsOnlyBindings(node)){protect(line(node.startPosition.row),line(node.endPosition.row));return}if(node.type==="comment"){let lines=node.endPosition.row-node.startPosition.row+1;node.text.startsWith("/**")||node.text.startsWith("/*!")?protect(line(node.startPosition.row),line(node.endPosition.row)):lines>=settings.minCommentLines&&candidates.push({startLine:line(node.startPosition.row)+1,endLine:line(node.endPosition.row)-1});return}let operator=typeOperator(node);if(operator){protect(line(operator.startPosition.row),line(node.endPosition.row));for(let child of childNodes(node)){if(child.id===operator.id)break;visit(child)}return}let target=assignmentTarget(node);if(target){protect(line(target.startPosition.row),line(target.endPosition.row));for(let child of childNodes(node))child.id!==target.id&&visit(child);return}if(functionKinds.has(node.type)){let body=node.childForFieldName("body");if(!body){protect(line(node.startPosition.row),line(node.endPosition.row));return}protect(line(node.startPosition.row),line(body.startPosition.row)),visit(body);return}if(classKinds.has(node.type)){let body=node.childForFieldName("body"),open=body?openBrace(body):void 0;if(!body||!open){protect(line(node.startPosition.row),line(node.endPosition.row));return}protect(line(node.startPosition.row),line(open.startPosition.row));for(let member of childNodes(body))visit(member);return}if(bodyKinds.has(node.type)){let open=openBrace(node),close=closeBrace(node);if(open&&close){let startLine=line(open.startPosition.row)+1,endLine=line(close.startPosition.row)-1;endLine-startLine+1>=settings.minBodyLines&&candidates.push({startLine,endLine})}}for(let child of childNodes(node))visit(child)};return visit(root),{status:"parsed",ranges:candidates.filter(range=>!guarded.some(header=>range.startLine<=header.endLine&&range.endLine>=header.startLine)&&range.endLine>=range.startLine)}}var TREE_SITTER_PARSE_BUDGET_MS=250,TREE_SITTER_FOLDER_ID="tree-sitter-wasm",TREE_SITTER_FOLDER_VERSION="1",runtime,grammars=new Map;async function loadRuntime(resolveRuntime){try{let module=await import("./web-tree-sitter-BA4O6VLR.js"),wasm=await resolveRuntime();return await module.Parser.init(wasm?{locateFile:()=>wasm}:void 0),module}catch{return}}async function loadParser(language,options){let resolveGrammar=options.resolveGrammar??resolveGrammarPath,resolveRuntime=options.resolveRuntime??resolveRuntimePath,grammar=await resolveGrammar(language);if(!grammar)return;if(options.cache===!1){let module2=await loadRuntime(resolveRuntime);return module2&&instantiate(module2,grammar,language)}runtime??=loadRuntime(resolveRuntime);let module=await runtime;return module&&instantiate(module,grammar,language)}async function instantiate(module,grammar,language){try{let loaded=await module.Language.load(grammar),parser=new module.Parser;return parser.setLanguage(loaded),{parser,language}}catch{return}}function foldWith(loaded,budgetMs,input,fallback){let deadline=performance.now()+budgetMs,tree=null;try{if(tree=loaded.parser.parse(input.text,null,{progressCallback:()=>performance.now()>deadline}),!tree)return fallback.fold(input);let scan=foldRangesFromSyntax(tree.rootNode,input.settings);return scan.status==="parse_failure"?fallback.fold(input):composeFoldResult(input.text,scan)}catch{return fallback.fold(input)}finally{tree?.delete(),loaded.parser.reset()}}async function loadTreeSitterFolder(language,options){let load=()=>loadParser(language,options),loaded=await(options.cache===!1?load():grammars.get(language)??(()=>{let pending=load();return grammars.set(language,pending),pending})());if(!loaded)return;let budgetMs=options.parseBudgetMs??TREE_SITTER_PARSE_BUDGET_MS;return Object.freeze({id:TREE_SITTER_FOLDER_ID,version:TREE_SITTER_FOLDER_VERSION,fold:input=>foldWith(loaded,budgetMs,input,options.fallback)})}function resetTreeSitterGrammars(){runtime=void 0,grammars.clear()}export{TREE_SITTER_FOLDER_ID,TREE_SITTER_FOLDER_VERSION,TREE_SITTER_PARSE_BUDGET_MS,loadTreeSitterFolder,resetTreeSitterGrammars};