@code-yeongyu/senpi 2026.7.10 → 2026.7.13
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 +79 -0
- package/README.md +4 -2
- package/dist/core/agent-session.d.ts +9 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +56 -15
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/extensions/builtin/bash-timeout/timeout.js +2 -2
- package/dist/core/extensions/builtin/bash-timeout/timeout.js.map +1 -1
- package/dist/core/extensions/builtin/compaction/index.d.ts.map +1 -1
- package/dist/core/extensions/builtin/compaction/index.js +10 -1
- package/dist/core/extensions/builtin/compaction/index.js.map +1 -1
- package/dist/core/extensions/builtin/goal/store.d.ts.map +1 -1
- package/dist/core/extensions/builtin/goal/store.js +88 -3
- package/dist/core/extensions/builtin/goal/store.js.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.d.ts +3 -0
- package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.d.ts.map +1 -0
- package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.js +134 -0
- package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.js.map +1 -0
- package/dist/core/extensions/builtin/prompt-preset/presets.d.ts.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/presets.js +6 -0
- package/dist/core/extensions/builtin/prompt-preset/presets.js.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/settings.d.ts +1 -1
- package/dist/core/extensions/builtin/prompt-preset/settings.d.ts.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/settings.js +1 -0
- package/dist/core/extensions/builtin/prompt-preset/settings.js.map +1 -1
- package/dist/core/extensions/builtin/terminal/notify.d.ts +3 -3
- package/dist/core/extensions/builtin/terminal/notify.d.ts.map +1 -1
- package/dist/core/extensions/builtin/terminal/notify.js +7 -4
- package/dist/core/extensions/builtin/terminal/notify.js.map +1 -1
- package/dist/core/extensions/builtin/terminal/runtime-session.d.ts +5 -3
- package/dist/core/extensions/builtin/terminal/runtime-session.d.ts.map +1 -1
- package/dist/core/extensions/builtin/terminal/runtime-session.js +32 -16
- package/dist/core/extensions/builtin/terminal/runtime-session.js.map +1 -1
- package/dist/core/extensions/builtin/terminal/tools/bash-output.d.ts +1 -1
- package/dist/core/extensions/builtin/terminal/tools/bash-output.d.ts.map +1 -1
- package/dist/core/extensions/builtin/terminal/tools/bash-output.js +10 -4
- package/dist/core/extensions/builtin/terminal/tools/bash-output.js.map +1 -1
- package/dist/core/extensions/builtin/todotools/tools/todowrite.d.ts.map +1 -1
- package/dist/core/extensions/builtin/todotools/tools/todowrite.js +5 -8
- package/dist/core/extensions/builtin/todotools/tools/todowrite.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +1 -0
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +5 -0
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +5 -8
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/extensions/wrapper.d.ts.map +1 -1
- package/dist/core/extensions/wrapper.js +22 -3
- package/dist/core/extensions/wrapper.js.map +1 -1
- package/dist/core/keybindings.d.ts +8 -3
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +7 -3
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/model-registry.d.ts +1 -6
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +19 -6
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/resource-loader.d.ts +1 -0
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +20 -2
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/settings-manager.d.ts +4 -3
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +2 -1
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/compaction-queue-transfer.d.ts +22 -0
- package/dist/modes/interactive/compaction-queue-transfer.d.ts.map +1 -0
- package/dist/modes/interactive/compaction-queue-transfer.js +82 -0
- package/dist/modes/interactive/compaction-queue-transfer.js.map +1 -0
- package/dist/modes/interactive/components/custom-editor.js +1 -1
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts +4 -0
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +9 -2
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +1 -1
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.js +1 -1
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution-fallback.d.ts +6 -0
- package/dist/modes/interactive/components/tool-execution-fallback.d.ts.map +1 -0
- package/dist/modes/interactive/components/tool-execution-fallback.js +40 -0
- package/dist/modes/interactive/components/tool-execution-fallback.js.map +1 -0
- package/dist/modes/interactive/components/tool-execution-images.d.ts +23 -0
- package/dist/modes/interactive/components/tool-execution-images.d.ts.map +1 -0
- package/dist/modes/interactive/components/tool-execution-images.js +104 -0
- package/dist/modes/interactive/components/tool-execution-images.js.map +1 -0
- package/dist/modes/interactive/components/tool-execution-renderer.d.ts +28 -0
- package/dist/modes/interactive/components/tool-execution-renderer.d.ts.map +1 -0
- package/dist/modes/interactive/components/tool-execution-renderer.js +135 -0
- package/dist/modes/interactive/components/tool-execution-renderer.js.map +1 -0
- package/dist/modes/interactive/components/tool-execution-types.d.ts +23 -0
- package/dist/modes/interactive/components/tool-execution-types.d.ts.map +1 -0
- package/dist/modes/interactive/components/tool-execution-types.js +2 -0
- package/dist/modes/interactive/components/tool-execution-types.js.map +1 -0
- package/dist/modes/interactive/components/tool-execution.d.ts +13 -39
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +51 -294
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/tool-renderer-boundary.d.ts +17 -0
- package/dist/modes/interactive/components/tool-renderer-boundary.d.ts.map +1 -0
- package/dist/modes/interactive/components/tool-renderer-boundary.js +75 -0
- package/dist/modes/interactive/components/tool-renderer-boundary.js.map +1 -0
- package/dist/modes/interactive/components/tree-selector.d.ts +5 -0
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector.js +50 -17
- package/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +5 -2
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +127 -109
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/theme/dark.json +1 -0
- package/dist/modes/interactive/theme/light.json +1 -0
- package/dist/modes/interactive/theme/theme-schema.json +6 -2
- package/dist/modes/interactive/theme/theme.d.ts +3 -2
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +11 -4
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/utils/clipboard-native.d.ts +1 -0
- package/dist/utils/clipboard-native.d.ts.map +1 -1
- package/dist/utils/clipboard-native.js.map +1 -1
- package/dist/utils/clipboard.d.ts +2 -0
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +13 -0
- package/dist/utils/clipboard.js.map +1 -1
- package/docs/custom-provider.md +4 -3
- package/docs/extensions.md +140 -1
- package/docs/keybindings.md +1 -0
- package/docs/models.md +45 -4
- package/docs/providers.md +3 -0
- package/docs/quickstart.md +1 -1
- package/docs/rpc.md +2 -2
- package/docs/sdk.md +1 -1
- package/docs/settings.md +3 -3
- package/docs/themes.md +5 -3
- package/docs/tui.md +1 -1
- package/docs/usage.md +2 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/node_modules/@babel/helper-string-parser/LICENSE +22 -0
- package/node_modules/@babel/helper-string-parser/README.md +19 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +295 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -0
- package/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- package/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/node_modules/@babel/parser/LICENSE +19 -0
- package/node_modules/@babel/parser/README.md +19 -0
- package/node_modules/@babel/parser/bin/babel-parser.js +15 -0
- package/node_modules/@babel/parser/lib/index.js +14599 -0
- package/node_modules/@babel/parser/lib/index.js.map +1 -0
- package/node_modules/@babel/parser/package.json +50 -0
- package/node_modules/@babel/parser/typings/babel-parser.d.ts +262 -0
- package/node_modules/@babel/types/LICENSE +22 -0
- package/node_modules/@babel/types/README.md +19 -0
- package/node_modules/@babel/types/lib/asserts/assertNode.js +16 -0
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -0
- package/node_modules/@babel/types/lib/asserts/generated/index.js +1251 -0
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +3 -0
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +18 -0
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +31 -0
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/generated/index.js +29 -0
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +2902 -0
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +272 -0
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/productions.js +12 -0
- package/node_modules/@babel/types/lib/builders/productions.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +24 -0
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +22 -0
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/validateNode.js +21 -0
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/clone.js +12 -0
- package/node_modules/@babel/types/lib/clone/clone.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +12 -0
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +12 -0
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneNode.js +107 -0
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +12 -0
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/addComment.js +15 -0
- package/node_modules/@babel/types/lib/comments/addComment.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/addComments.js +22 -0
- package/node_modules/@babel/types/lib/comments/addComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +12 -0
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +12 -0
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +12 -0
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +17 -0
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/removeComments.js +15 -0
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -0
- package/node_modules/@babel/types/lib/constants/generated/index.js +60 -0
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/constants/index.js +31 -0
- package/node_modules/@babel/types/lib/constants/index.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +14 -0
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +65 -0
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +14 -0
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toBlock.js +29 -0
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +14 -0
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toExpression.js +28 -0
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +25 -0
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +38 -0
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +19 -0
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toStatement.js +39 -0
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/valueToNode.js +89 -0
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/core.js +1725 -0
- package/node_modules/@babel/types/lib/definitions/core.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +11 -0
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/experimental.js +124 -0
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/flow.js +495 -0
- package/node_modules/@babel/types/lib/definitions/flow.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/index.js +106 -0
- package/node_modules/@babel/types/lib/definitions/index.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/jsx.js +157 -0
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/misc.js +31 -0
- package/node_modules/@babel/types/lib/definitions/misc.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/placeholders.js +27 -0
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/typescript.js +528 -0
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/utils.js +296 -0
- package/node_modules/@babel/types/lib/definitions/utils.js.map +1 -0
- package/node_modules/@babel/types/lib/index-legacy.d.ts +2797 -0
- package/node_modules/@babel/types/lib/index.d.ts +3617 -0
- package/node_modules/@babel/types/lib/index.js +582 -0
- package/node_modules/@babel/types/lib/index.js.flow +2650 -0
- package/node_modules/@babel/types/lib/index.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +15 -0
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +65 -0
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/inherits.js +28 -0
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +17 -0
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +24 -0
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +14 -0
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +66 -0
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +48 -0
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +102 -0
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +63 -0
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +13 -0
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -0
- package/node_modules/@babel/types/lib/traverse/traverse.js +50 -0
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -0
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +40 -0
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +44 -0
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/inherit.js +13 -0
- package/node_modules/@babel/types/lib/utils/inherit.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +40 -0
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +17 -0
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +13 -0
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/generated/index.js +2797 -0
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/is.js +27 -0
- package/node_modules/@babel/types/lib/validators/is.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isBinding.js +27 -0
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +13 -0
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isImmutable.js +21 -0
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isLet.js +13 -0
- package/node_modules/@babel/types/lib/validators/isLet.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isNode.js +12 -0
- package/node_modules/@babel/types/lib/validators/isNode.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +57 -0
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +15 -0
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isReferenced.js +96 -0
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isScope.js +18 -0
- package/node_modules/@babel/types/lib/validators/isScope.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +14 -0
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isType.js +17 -0
- package/node_modules/@babel/types/lib/validators/isType.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +13 -0
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +18 -0
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isVar.js +15 -0
- package/node_modules/@babel/types/lib/validators/isVar.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +44 -0
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +11 -0
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +11 -0
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/validate.js +42 -0
- package/node_modules/@babel/types/lib/validators/validate.js.map +1 -0
- package/node_modules/@babel/types/package.json +39 -0
- package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +13 -2
- package/node_modules/@code-yeongyu/senpi-codemode/README.md +128 -78
- package/node_modules/@code-yeongyu/senpi-codemode/package.json +4 -3
- package/node_modules/@code-yeongyu/senpi-codemode/src/bridge/protocol.ts +22 -9
- package/node_modules/@code-yeongyu/senpi-codemode/src/bridge/reserved.ts +9 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/bridges/agent-bridge.ts +197 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/bridges/output-bridge.ts +96 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/bridges/schema-injection.ts +3 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/completion/handler.ts +95 -26
- package/node_modules/@code-yeongyu/senpi-codemode/src/completion/tool-bridge.ts +14 -2
- package/node_modules/@code-yeongyu/senpi-codemode/src/config/settings.ts +96 -8
- package/node_modules/@code-yeongyu/senpi-codemode/src/extension/session-manager.ts +92 -10
- package/node_modules/@code-yeongyu/senpi-codemode/src/index.ts +187 -27
- package/node_modules/@code-yeongyu/senpi-codemode/src/interpreters/detect.ts +1 -1
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/jl/prelude.jl +252 -48
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/jl/runner.jl +263 -83
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/context-manager.ts +198 -149
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/inline-worker-entry.js +23 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/inline-worker.ts +4 -175
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/kernel-contract.ts +38 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/local-module-loader.ts +108 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/prelude.ts +8 -6
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/rewrite-imports.ts +164 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/run-queue.ts +82 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/worker-core.js +13 -4
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/worker-host.ts +117 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/worker-runtime.js +307 -41
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/py/kernel-contract.ts +32 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/py/kernel.ts +232 -199
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/py/prelude.py +792 -79
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/py/process.ts +119 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/py/transport.ts +237 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/rb/prelude.rb +234 -21
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/rb/runner.rb +154 -51
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/shared/subprocess-contract.ts +22 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/shared/subprocess-kernel.ts +214 -189
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/shared/subprocess-process.ts +174 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/shared/subprocess-queue.ts +101 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/shared/subprocess-run.ts +98 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/output/output-meta.ts +89 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/output/streaming-output.ts +296 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/prompt/eval-prompt.ts +107 -30
- package/node_modules/@code-yeongyu/senpi-codemode/src/timeouts/bridge-timeout.ts +2 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/timeouts/idle-timeout.ts +8 -19
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/cell-handler.ts +267 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/eval-tool.ts +226 -211
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/image.ts +274 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/json-tree.ts +247 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/render.ts +828 -35
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/status-events.ts +12 -0
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/types.ts +30 -1
- package/node_modules/@earendil-works/pi-agent-core/README.md +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +2 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +4 -3
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/README.md +4 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +89 -40
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +7 -7
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +10 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +5 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.d.ts +3 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +35 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +7 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +8 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/compat.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/compat.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/compat.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +483 -61
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.js +13 -4
- package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +5 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.d.ts +62 -5
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +32 -20
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.d.ts +11 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +6 -4
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.d.ts +7 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js +20 -21
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.d.ts +11 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js +6 -4
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js +9 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.d.ts +100 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js +64 -5
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.d.ts +56 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.js +20 -9
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.d.ts +77 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js +37 -24
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.d.ts +80 -4
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +64 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.d.ts +25 -22
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +68 -83
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.d.ts +45 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +49 -13
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +30 -7
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.d.ts +9 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.js +36 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +35 -14
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +2 -2
- package/node_modules/@earendil-works/pi-pty/package.json +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/image.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/image.js +2 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/image.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts +2 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.js +2 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/keys.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/keys.js +6 -5
- package/node_modules/@earendil-works/pi-tui/dist/keys.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts +0 -1
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +0 -9
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/terminal-text.d.ts +4 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-text.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-text.js +18 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-text.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/package.json +2 -2
- package/package.json +6 -6
|
@@ -25,6 +25,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
25
25
|
api: "openai-codex-responses",
|
|
26
26
|
provider: "openai-codex",
|
|
27
27
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
28
|
+
compat: { "supportsToolSearch": true },
|
|
28
29
|
reasoning: true,
|
|
29
30
|
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
30
31
|
input: ["text", "image"],
|
|
@@ -33,6 +34,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
33
34
|
output: 15,
|
|
34
35
|
cacheRead: 0.25,
|
|
35
36
|
cacheWrite: 0,
|
|
37
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 5, "output": 22.5, "cacheRead": 0.5, "cacheWrite": 0 }],
|
|
36
38
|
},
|
|
37
39
|
contextWindow: 272000,
|
|
38
40
|
maxTokens: 128000,
|
|
@@ -43,6 +45,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
43
45
|
api: "openai-codex-responses",
|
|
44
46
|
provider: "openai-codex",
|
|
45
47
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
48
|
+
compat: { "supportsToolSearch": true },
|
|
46
49
|
reasoning: true,
|
|
47
50
|
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
48
51
|
input: ["text", "image"],
|
|
@@ -61,6 +64,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
61
64
|
api: "openai-codex-responses",
|
|
62
65
|
provider: "openai-codex",
|
|
63
66
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
67
|
+
compat: { "supportsToolSearch": true },
|
|
64
68
|
reasoning: true,
|
|
65
69
|
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
66
70
|
input: ["text", "image"],
|
|
@@ -69,6 +73,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
69
73
|
output: 30,
|
|
70
74
|
cacheRead: 0.5,
|
|
71
75
|
cacheWrite: 0,
|
|
76
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 10, "output": 45, "cacheRead": 1, "cacheWrite": 0 }],
|
|
72
77
|
},
|
|
73
78
|
contextWindow: 272000,
|
|
74
79
|
maxTokens: 128000,
|
|
@@ -79,16 +84,18 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
79
84
|
api: "openai-codex-responses",
|
|
80
85
|
provider: "openai-codex",
|
|
81
86
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
87
|
+
compat: { "supportsToolSearch": true },
|
|
82
88
|
reasoning: true,
|
|
83
|
-
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
89
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max", "minimal": "low" },
|
|
84
90
|
input: ["text", "image"],
|
|
85
91
|
cost: {
|
|
86
92
|
input: 1,
|
|
87
93
|
output: 6,
|
|
88
94
|
cacheRead: 0.1,
|
|
89
|
-
cacheWrite:
|
|
95
|
+
cacheWrite: 1.25,
|
|
96
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 2, "output": 9, "cacheRead": 0.2, "cacheWrite": 2.5 }],
|
|
90
97
|
},
|
|
91
|
-
contextWindow:
|
|
98
|
+
contextWindow: 372000,
|
|
92
99
|
maxTokens: 128000,
|
|
93
100
|
},
|
|
94
101
|
"gpt-5.6-sol": {
|
|
@@ -97,16 +104,18 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
97
104
|
api: "openai-codex-responses",
|
|
98
105
|
provider: "openai-codex",
|
|
99
106
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
107
|
+
compat: { "supportsToolSearch": true },
|
|
100
108
|
reasoning: true,
|
|
101
|
-
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
109
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max", "minimal": "low" },
|
|
102
110
|
input: ["text", "image"],
|
|
103
111
|
cost: {
|
|
104
112
|
input: 5,
|
|
105
113
|
output: 30,
|
|
106
114
|
cacheRead: 0.5,
|
|
107
|
-
cacheWrite:
|
|
115
|
+
cacheWrite: 6.25,
|
|
116
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 10, "output": 45, "cacheRead": 1, "cacheWrite": 12.5 }],
|
|
108
117
|
},
|
|
109
|
-
contextWindow:
|
|
118
|
+
contextWindow: 372000,
|
|
110
119
|
maxTokens: 128000,
|
|
111
120
|
},
|
|
112
121
|
"gpt-5.6-terra": {
|
|
@@ -115,16 +124,18 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
115
124
|
api: "openai-codex-responses",
|
|
116
125
|
provider: "openai-codex",
|
|
117
126
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
127
|
+
compat: { "supportsToolSearch": true },
|
|
118
128
|
reasoning: true,
|
|
119
|
-
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
129
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max", "minimal": "low" },
|
|
120
130
|
input: ["text", "image"],
|
|
121
131
|
cost: {
|
|
122
132
|
input: 2.5,
|
|
123
133
|
output: 15,
|
|
124
134
|
cacheRead: 0.25,
|
|
125
|
-
cacheWrite:
|
|
135
|
+
cacheWrite: 3.125,
|
|
136
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 5, "output": 22.5, "cacheRead": 0.5, "cacheWrite": 6.25 }],
|
|
126
137
|
},
|
|
127
|
-
contextWindow:
|
|
138
|
+
contextWindow: 372000,
|
|
128
139
|
maxTokens: 128000,
|
|
129
140
|
},
|
|
130
141
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-codex.models.js","sourceRoot":"","sources":["../../src/providers/openai-codex.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAIjE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,qBAAqB,EAAE;QACtB,EAAE,EAAE,qBAAqB;QACzB,IAAI,EAAE,qBAAqB;QAC3B,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC;QACnD,KAAK,EAAE,CAAC,MAAM,CAAC;QACf,IAAI,EAAE;YACL,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,KAAK;YAChB,UAAU,EAAE,CAAC;SACb;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;IAC3C,SAAS,EAAE;QACV,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC;QACnD,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"openai-codex.models.js","sourceRoot":"","sources":["../../src/providers/openai-codex.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAIjE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,qBAAqB,EAAE;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E;QAChB,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,eAAe;QACrB,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,EAAC,oBAAoB,EAAC,IAAI,EAAC;QACnC,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC;QAC/D,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,KAAK;YACjB,KAAK,EAAE,CAAC,EAAC,kBAAkB,EAAC,MAAM,EAAC,OAAO,EAAC,CAAC,EAAC,QAAQ,EAAC,IAAI,EAAC,WAAW,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,CAAC;SAC9F;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;CAClC,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const OPENAI_CODEX_MODELS = {\n\t\"gpt-5.3-codex-spark\": {\n\t\tid: \"gpt-5.3-codex-spark\",\n\t\tname: \"GPT-5.3 Codex Spark\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.4\": {\n\t\tid: \"gpt-5.4\",\n\t\tname: \"GPT-5.4\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.4-mini\": {\n\t\tid: \"gpt-5.4-mini\",\n\t\tname: \"GPT-5.4 mini\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.75,\n\t\t\toutput: 4.5,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.5\": {\n\t\tid: \"gpt-5.5\",\n\t\tname: \"GPT-5.5\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-luna\": {\n\t\tid: \"gpt-5.6-luna\",\n\t\tname: \"GPT-5.6 Luna\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":2,\"output\":9,\"cacheRead\":0.2,\"cacheWrite\":2.5}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-sol\": {\n\t\tid: \"gpt-5.6-sol\",\n\t\tname: \"GPT-5.6 Sol\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":12.5}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-terra\": {\n\t\tid: \"gpt-5.6-terra\",\n\t\tname: \"GPT-5.6 Terra\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":6.25}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n} as const;\n"]}
|
|
@@ -542,6 +542,9 @@ export declare const OPENAI_MODELS: {
|
|
|
542
542
|
api: "openai-responses";
|
|
543
543
|
provider: string;
|
|
544
544
|
baseUrl: string;
|
|
545
|
+
compat: {
|
|
546
|
+
supportsToolSearch: true;
|
|
547
|
+
};
|
|
545
548
|
reasoning: true;
|
|
546
549
|
thinkingLevelMap: {
|
|
547
550
|
off: string;
|
|
@@ -553,6 +556,13 @@ export declare const OPENAI_MODELS: {
|
|
|
553
556
|
output: number;
|
|
554
557
|
cacheRead: number;
|
|
555
558
|
cacheWrite: number;
|
|
559
|
+
tiers: {
|
|
560
|
+
inputTokensAbove: number;
|
|
561
|
+
input: number;
|
|
562
|
+
output: number;
|
|
563
|
+
cacheRead: number;
|
|
564
|
+
cacheWrite: number;
|
|
565
|
+
}[];
|
|
556
566
|
};
|
|
557
567
|
contextWindow: number;
|
|
558
568
|
maxTokens: number;
|
|
@@ -563,6 +573,9 @@ export declare const OPENAI_MODELS: {
|
|
|
563
573
|
api: "openai-responses";
|
|
564
574
|
provider: string;
|
|
565
575
|
baseUrl: string;
|
|
576
|
+
compat: {
|
|
577
|
+
supportsToolSearch: true;
|
|
578
|
+
};
|
|
566
579
|
reasoning: true;
|
|
567
580
|
thinkingLevelMap: {
|
|
568
581
|
off: string;
|
|
@@ -605,6 +618,9 @@ export declare const OPENAI_MODELS: {
|
|
|
605
618
|
api: "openai-responses";
|
|
606
619
|
provider: string;
|
|
607
620
|
baseUrl: string;
|
|
621
|
+
compat: {
|
|
622
|
+
supportsToolSearch: true;
|
|
623
|
+
};
|
|
608
624
|
reasoning: true;
|
|
609
625
|
thinkingLevelMap: {
|
|
610
626
|
off: null;
|
|
@@ -616,6 +632,13 @@ export declare const OPENAI_MODELS: {
|
|
|
616
632
|
output: number;
|
|
617
633
|
cacheRead: number;
|
|
618
634
|
cacheWrite: number;
|
|
635
|
+
tiers: {
|
|
636
|
+
inputTokensAbove: number;
|
|
637
|
+
input: number;
|
|
638
|
+
output: number;
|
|
639
|
+
cacheRead: number;
|
|
640
|
+
cacheWrite: number;
|
|
641
|
+
}[];
|
|
619
642
|
};
|
|
620
643
|
contextWindow: number;
|
|
621
644
|
maxTokens: number;
|
|
@@ -626,6 +649,9 @@ export declare const OPENAI_MODELS: {
|
|
|
626
649
|
api: "openai-responses";
|
|
627
650
|
provider: string;
|
|
628
651
|
baseUrl: string;
|
|
652
|
+
compat: {
|
|
653
|
+
supportsToolSearch: true;
|
|
654
|
+
};
|
|
629
655
|
reasoning: true;
|
|
630
656
|
thinkingLevelMap: {
|
|
631
657
|
off: string;
|
|
@@ -638,6 +664,13 @@ export declare const OPENAI_MODELS: {
|
|
|
638
664
|
output: number;
|
|
639
665
|
cacheRead: number;
|
|
640
666
|
cacheWrite: number;
|
|
667
|
+
tiers: {
|
|
668
|
+
inputTokensAbove: number;
|
|
669
|
+
input: number;
|
|
670
|
+
output: number;
|
|
671
|
+
cacheRead: number;
|
|
672
|
+
cacheWrite: number;
|
|
673
|
+
}[];
|
|
641
674
|
};
|
|
642
675
|
contextWindow: number;
|
|
643
676
|
maxTokens: number;
|
|
@@ -661,20 +694,31 @@ export declare const OPENAI_MODELS: {
|
|
|
661
694
|
output: number;
|
|
662
695
|
cacheRead: number;
|
|
663
696
|
cacheWrite: number;
|
|
697
|
+
tiers: {
|
|
698
|
+
inputTokensAbove: number;
|
|
699
|
+
input: number;
|
|
700
|
+
output: number;
|
|
701
|
+
cacheRead: number;
|
|
702
|
+
cacheWrite: number;
|
|
703
|
+
}[];
|
|
664
704
|
};
|
|
665
705
|
contextWindow: number;
|
|
666
706
|
maxTokens: number;
|
|
667
707
|
};
|
|
668
|
-
readonly "gpt-5.6": {
|
|
708
|
+
readonly "gpt-5.6-luna": {
|
|
669
709
|
id: string;
|
|
670
710
|
name: string;
|
|
671
711
|
api: "openai-responses";
|
|
672
712
|
provider: string;
|
|
673
713
|
baseUrl: string;
|
|
714
|
+
compat: {
|
|
715
|
+
supportsToolSearch: true;
|
|
716
|
+
};
|
|
674
717
|
reasoning: true;
|
|
675
718
|
thinkingLevelMap: {
|
|
676
719
|
off: string;
|
|
677
720
|
xhigh: string;
|
|
721
|
+
max: string;
|
|
678
722
|
};
|
|
679
723
|
input: ("image" | "text")[];
|
|
680
724
|
cost: {
|
|
@@ -682,20 +726,31 @@ export declare const OPENAI_MODELS: {
|
|
|
682
726
|
output: number;
|
|
683
727
|
cacheRead: number;
|
|
684
728
|
cacheWrite: number;
|
|
729
|
+
tiers: {
|
|
730
|
+
inputTokensAbove: number;
|
|
731
|
+
input: number;
|
|
732
|
+
output: number;
|
|
733
|
+
cacheRead: number;
|
|
734
|
+
cacheWrite: number;
|
|
735
|
+
}[];
|
|
685
736
|
};
|
|
686
737
|
contextWindow: number;
|
|
687
738
|
maxTokens: number;
|
|
688
739
|
};
|
|
689
|
-
readonly "gpt-5.6-
|
|
740
|
+
readonly "gpt-5.6-sol": {
|
|
690
741
|
id: string;
|
|
691
742
|
name: string;
|
|
692
743
|
api: "openai-responses";
|
|
693
744
|
provider: string;
|
|
694
745
|
baseUrl: string;
|
|
746
|
+
compat: {
|
|
747
|
+
supportsToolSearch: true;
|
|
748
|
+
};
|
|
695
749
|
reasoning: true;
|
|
696
750
|
thinkingLevelMap: {
|
|
697
751
|
off: string;
|
|
698
752
|
xhigh: string;
|
|
753
|
+
max: string;
|
|
699
754
|
};
|
|
700
755
|
input: ("image" | "text")[];
|
|
701
756
|
cost: {
|
|
@@ -703,20 +758,31 @@ export declare const OPENAI_MODELS: {
|
|
|
703
758
|
output: number;
|
|
704
759
|
cacheRead: number;
|
|
705
760
|
cacheWrite: number;
|
|
761
|
+
tiers: {
|
|
762
|
+
inputTokensAbove: number;
|
|
763
|
+
input: number;
|
|
764
|
+
output: number;
|
|
765
|
+
cacheRead: number;
|
|
766
|
+
cacheWrite: number;
|
|
767
|
+
}[];
|
|
706
768
|
};
|
|
707
769
|
contextWindow: number;
|
|
708
770
|
maxTokens: number;
|
|
709
771
|
};
|
|
710
|
-
readonly "gpt-5.6-
|
|
772
|
+
readonly "gpt-5.6-terra": {
|
|
711
773
|
id: string;
|
|
712
774
|
name: string;
|
|
713
775
|
api: "openai-responses";
|
|
714
776
|
provider: string;
|
|
715
777
|
baseUrl: string;
|
|
778
|
+
compat: {
|
|
779
|
+
supportsToolSearch: true;
|
|
780
|
+
};
|
|
716
781
|
reasoning: true;
|
|
717
782
|
thinkingLevelMap: {
|
|
718
783
|
off: string;
|
|
719
784
|
xhigh: string;
|
|
785
|
+
max: string;
|
|
720
786
|
};
|
|
721
787
|
input: ("image" | "text")[];
|
|
722
788
|
cost: {
|
|
@@ -724,21 +790,24 @@ export declare const OPENAI_MODELS: {
|
|
|
724
790
|
output: number;
|
|
725
791
|
cacheRead: number;
|
|
726
792
|
cacheWrite: number;
|
|
793
|
+
tiers: {
|
|
794
|
+
inputTokensAbove: number;
|
|
795
|
+
input: number;
|
|
796
|
+
output: number;
|
|
797
|
+
cacheRead: number;
|
|
798
|
+
cacheWrite: number;
|
|
799
|
+
}[];
|
|
727
800
|
};
|
|
728
801
|
contextWindow: number;
|
|
729
802
|
maxTokens: number;
|
|
730
803
|
};
|
|
731
|
-
readonly "gpt-
|
|
804
|
+
readonly "gpt-realtime-2.1": {
|
|
732
805
|
id: string;
|
|
733
806
|
name: string;
|
|
734
807
|
api: "openai-responses";
|
|
735
808
|
provider: string;
|
|
736
809
|
baseUrl: string;
|
|
737
810
|
reasoning: true;
|
|
738
|
-
thinkingLevelMap: {
|
|
739
|
-
off: string;
|
|
740
|
-
xhigh: string;
|
|
741
|
-
};
|
|
742
811
|
input: ("image" | "text")[];
|
|
743
812
|
cost: {
|
|
744
813
|
input: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.models.d.ts","sourceRoot":"","sources":["../../src/providers/openai.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;YAUvB,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;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ACN,SAAS;YACT,UAAU;;;;;;;;;;;;;YAYQ,GAAK;YAAM,KAAO;;;;YAGpC,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;YAYQ,GAAK;YAAQ,KAAO;;;;YAGtC,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;YAYQ,GAAK;YAAM,KAAO;;;;YAGpC,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU
|
|
1
|
+
{"version":3,"file":"openai.models.d.ts","sourceRoot":"","sources":["../../src/providers/openai.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;YAUvB,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;YAcV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;YAYQ,GAAK;;;;YAGvB,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;YAYQ,GAAK;;;;YAGvB,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;YAYQ,GAAK;;;;YAGvB,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;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U;;;;;CAKH,CAAC"}
|
|
@@ -501,6 +501,7 @@ export const OPENAI_MODELS = {
|
|
|
501
501
|
api: "openai-responses",
|
|
502
502
|
provider: "openai",
|
|
503
503
|
baseUrl: "https://api.openai.com/v1",
|
|
504
|
+
compat: { "supportsToolSearch": true },
|
|
504
505
|
reasoning: true,
|
|
505
506
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
506
507
|
input: ["text", "image"],
|
|
@@ -509,6 +510,7 @@ export const OPENAI_MODELS = {
|
|
|
509
510
|
output: 15,
|
|
510
511
|
cacheRead: 0.25,
|
|
511
512
|
cacheWrite: 0,
|
|
513
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 5, "output": 22.5, "cacheRead": 0.5, "cacheWrite": 0 }],
|
|
512
514
|
},
|
|
513
515
|
contextWindow: 272000,
|
|
514
516
|
maxTokens: 128000,
|
|
@@ -519,6 +521,7 @@ export const OPENAI_MODELS = {
|
|
|
519
521
|
api: "openai-responses",
|
|
520
522
|
provider: "openai",
|
|
521
523
|
baseUrl: "https://api.openai.com/v1",
|
|
524
|
+
compat: { "supportsToolSearch": true },
|
|
522
525
|
reasoning: true,
|
|
523
526
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
524
527
|
input: ["text", "image"],
|
|
@@ -555,6 +558,7 @@ export const OPENAI_MODELS = {
|
|
|
555
558
|
api: "openai-responses",
|
|
556
559
|
provider: "openai",
|
|
557
560
|
baseUrl: "https://api.openai.com/v1",
|
|
561
|
+
compat: { "supportsToolSearch": true },
|
|
558
562
|
reasoning: true,
|
|
559
563
|
thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
|
|
560
564
|
input: ["text", "image"],
|
|
@@ -563,6 +567,7 @@ export const OPENAI_MODELS = {
|
|
|
563
567
|
output: 180,
|
|
564
568
|
cacheRead: 0,
|
|
565
569
|
cacheWrite: 0,
|
|
570
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 60, "output": 270, "cacheRead": 0, "cacheWrite": 0 }],
|
|
566
571
|
},
|
|
567
572
|
contextWindow: 1050000,
|
|
568
573
|
maxTokens: 128000,
|
|
@@ -573,6 +578,7 @@ export const OPENAI_MODELS = {
|
|
|
573
578
|
api: "openai-responses",
|
|
574
579
|
provider: "openai",
|
|
575
580
|
baseUrl: "https://api.openai.com/v1",
|
|
581
|
+
compat: { "supportsToolSearch": true },
|
|
576
582
|
reasoning: true,
|
|
577
583
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "minimal": null },
|
|
578
584
|
input: ["text", "image"],
|
|
@@ -581,6 +587,7 @@ export const OPENAI_MODELS = {
|
|
|
581
587
|
output: 30,
|
|
582
588
|
cacheRead: 0.5,
|
|
583
589
|
cacheWrite: 0,
|
|
590
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 10, "output": 45, "cacheRead": 1, "cacheWrite": 0 }],
|
|
584
591
|
},
|
|
585
592
|
contextWindow: 272000,
|
|
586
593
|
maxTokens: 128000,
|
|
@@ -599,24 +606,7 @@ export const OPENAI_MODELS = {
|
|
|
599
606
|
output: 180,
|
|
600
607
|
cacheRead: 0,
|
|
601
608
|
cacheWrite: 0,
|
|
602
|
-
|
|
603
|
-
contextWindow: 1050000,
|
|
604
|
-
maxTokens: 128000,
|
|
605
|
-
},
|
|
606
|
-
"gpt-5.6": {
|
|
607
|
-
id: "gpt-5.6",
|
|
608
|
-
name: "GPT-5.6",
|
|
609
|
-
api: "openai-responses",
|
|
610
|
-
provider: "openai",
|
|
611
|
-
baseUrl: "https://api.openai.com/v1",
|
|
612
|
-
reasoning: true,
|
|
613
|
-
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
614
|
-
input: ["text", "image"],
|
|
615
|
-
cost: {
|
|
616
|
-
input: 5,
|
|
617
|
-
output: 30,
|
|
618
|
-
cacheRead: 0.5,
|
|
619
|
-
cacheWrite: 6.25,
|
|
609
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 60, "output": 270, "cacheRead": 0, "cacheWrite": 0 }],
|
|
620
610
|
},
|
|
621
611
|
contextWindow: 1050000,
|
|
622
612
|
maxTokens: 128000,
|
|
@@ -627,16 +617,18 @@ export const OPENAI_MODELS = {
|
|
|
627
617
|
api: "openai-responses",
|
|
628
618
|
provider: "openai",
|
|
629
619
|
baseUrl: "https://api.openai.com/v1",
|
|
620
|
+
compat: { "supportsToolSearch": true },
|
|
630
621
|
reasoning: true,
|
|
631
|
-
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
622
|
+
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "max": "max" },
|
|
632
623
|
input: ["text", "image"],
|
|
633
624
|
cost: {
|
|
634
625
|
input: 1,
|
|
635
626
|
output: 6,
|
|
636
627
|
cacheRead: 0.1,
|
|
637
628
|
cacheWrite: 1.25,
|
|
629
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 2, "output": 9, "cacheRead": 0.2, "cacheWrite": 2.5 }],
|
|
638
630
|
},
|
|
639
|
-
contextWindow:
|
|
631
|
+
contextWindow: 272000,
|
|
640
632
|
maxTokens: 128000,
|
|
641
633
|
},
|
|
642
634
|
"gpt-5.6-sol": {
|
|
@@ -645,16 +637,18 @@ export const OPENAI_MODELS = {
|
|
|
645
637
|
api: "openai-responses",
|
|
646
638
|
provider: "openai",
|
|
647
639
|
baseUrl: "https://api.openai.com/v1",
|
|
640
|
+
compat: { "supportsToolSearch": true },
|
|
648
641
|
reasoning: true,
|
|
649
|
-
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
642
|
+
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "max": "max" },
|
|
650
643
|
input: ["text", "image"],
|
|
651
644
|
cost: {
|
|
652
645
|
input: 5,
|
|
653
646
|
output: 30,
|
|
654
647
|
cacheRead: 0.5,
|
|
655
648
|
cacheWrite: 6.25,
|
|
649
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 10, "output": 45, "cacheRead": 1, "cacheWrite": 12.5 }],
|
|
656
650
|
},
|
|
657
|
-
contextWindow:
|
|
651
|
+
contextWindow: 272000,
|
|
658
652
|
maxTokens: 128000,
|
|
659
653
|
},
|
|
660
654
|
"gpt-5.6-terra": {
|
|
@@ -663,18 +657,37 @@ export const OPENAI_MODELS = {
|
|
|
663
657
|
api: "openai-responses",
|
|
664
658
|
provider: "openai",
|
|
665
659
|
baseUrl: "https://api.openai.com/v1",
|
|
660
|
+
compat: { "supportsToolSearch": true },
|
|
666
661
|
reasoning: true,
|
|
667
|
-
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
662
|
+
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "max": "max" },
|
|
668
663
|
input: ["text", "image"],
|
|
669
664
|
cost: {
|
|
670
665
|
input: 2.5,
|
|
671
666
|
output: 15,
|
|
672
667
|
cacheRead: 0.25,
|
|
673
668
|
cacheWrite: 3.125,
|
|
669
|
+
tiers: [{ "inputTokensAbove": 272000, "input": 5, "output": 22.5, "cacheRead": 0.5, "cacheWrite": 6.25 }],
|
|
674
670
|
},
|
|
675
|
-
contextWindow:
|
|
671
|
+
contextWindow: 272000,
|
|
676
672
|
maxTokens: 128000,
|
|
677
673
|
},
|
|
674
|
+
"gpt-realtime-2.1": {
|
|
675
|
+
id: "gpt-realtime-2.1",
|
|
676
|
+
name: "GPT-Realtime-2.1",
|
|
677
|
+
api: "openai-responses",
|
|
678
|
+
provider: "openai",
|
|
679
|
+
baseUrl: "https://api.openai.com/v1",
|
|
680
|
+
reasoning: true,
|
|
681
|
+
input: ["text", "image"],
|
|
682
|
+
cost: {
|
|
683
|
+
input: 4,
|
|
684
|
+
output: 24,
|
|
685
|
+
cacheRead: 0.4,
|
|
686
|
+
cacheWrite: 0,
|
|
687
|
+
},
|
|
688
|
+
contextWindow: 128000,
|
|
689
|
+
maxTokens: 32000,
|
|
690
|
+
},
|
|
678
691
|
"o1": {
|
|
679
692
|
id: "o1",
|
|
680
693
|
name: "o1",
|