stk-codegen 1.0.9 → 1.1.0
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/README.md +0 -0
- package/dist/{984.index.js → 194.index.js} +13 -10
- package/dist/{96.index.js → 905.index.js} +6 -6
- package/dist/index.js +52 -32
- package/package.json +30 -7
- package/dist/App.d.ts +0 -4
- package/dist/cli.d.ts +0 -1
- package/dist/components/AgentStatus.d.ts +0 -7
- package/dist/components/BootstrapStatus.d.ts +0 -7
- package/dist/components/Conversation.d.ts +0 -20
- package/dist/components/DiffView.d.ts +0 -23
- package/dist/components/EscapeClearIndicator.d.ts +0 -3
- package/dist/components/ExitIndicator.d.ts +0 -3
- package/dist/components/Footer.d.ts +0 -5
- package/dist/components/Input.d.ts +0 -20
- package/dist/components/LimitedHeightBox.d.ts +0 -25
- package/dist/components/Message.d.ts +0 -12
- package/dist/components/ShellConfirmation.d.ts +0 -8
- package/dist/components/ShellExecution.d.ts +0 -19
- package/dist/components/SplashScreen.d.ts +0 -4
- package/dist/components/ToolExecution.d.ts +0 -9
- package/dist/config.d.ts +0 -9
- package/dist/core/agent/events.d.ts +0 -82
- package/dist/core/agent/reducer.d.ts +0 -4
- package/dist/core/agent/types.d.ts +0 -58
- package/dist/hooks/hooks.d.ts +0 -5
- package/dist/hooks/useAgent.core.d.ts +0 -16
- package/dist/hooks/useAgent.d.ts +0 -48
- package/dist/hooks/useMagicCommands.d.ts +0 -1
- package/dist/hooks/useTerminalLayout.d.ts +0 -16
- package/dist/services/clipboardImage.d.ts +0 -24
- package/dist/services/versionCheck.d.ts +0 -14
- package/dist/services/websocketClient.d.ts +0 -24
- package/dist/tools/Edit.d.ts +0 -14
- package/dist/tools/FindFiles.d.ts +0 -12
- package/dist/tools/GetWorkingDirectory.d.ts +0 -13
- package/dist/tools/GoogleSearch.d.ts +0 -9
- package/dist/tools/ReadFile.d.ts +0 -11
- package/dist/tools/ReadFolder.d.ts +0 -12
- package/dist/tools/ReadManyFiles.d.ts +0 -10
- package/dist/tools/SaveMemory.d.ts +0 -9
- package/dist/tools/SearchText.d.ts +0 -8
- package/dist/tools/Shell.d.ts +0 -11
- package/dist/tools/WebFetch.d.ts +0 -9
- package/dist/tools/WriteFile.d.ts +0 -10
- package/dist/tools/WriteTodos.d.ts +0 -9
- package/dist/tools/index.d.ts +0 -13
- package/dist/tools/runShellCommandAsync.d.ts +0 -3
- package/dist/tools/searchTextFallback.d.ts +0 -20
- package/dist/types/index.d.ts +0 -140
- package/dist/ui/agent/buildInkViewModel.d.ts +0 -57
- package/dist/ui/agent/mapMessages.d.ts +0 -7
- package/dist/ui/agent/textFormatting.d.ts +0 -8
- package/dist/utils/display.d.ts +0 -1
- package/dist/utils/keyMatchers.d.ts +0 -3
- package/dist/utils/paths.d.ts +0 -1
- package/dist/utils/projectSpecLoader.d.ts +0 -5
- package/dist/utils/text-buffer.d.ts +0 -25
package/README.md
CHANGED
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export const id =
|
|
2
|
-
export const ids = [
|
|
1
|
+
export const id = 194;
|
|
2
|
+
export const ids = [194];
|
|
3
3
|
export const modules = {
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 106:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
8
|
module.exports = eval("require")("react-devtools-core");
|
|
@@ -10,18 +10,19 @@ module.exports = eval("require")("react-devtools-core");
|
|
|
10
10
|
|
|
11
11
|
/***/ }),
|
|
12
12
|
|
|
13
|
-
/***/
|
|
13
|
+
/***/ 1194:
|
|
14
14
|
/***/ ((__unused_webpack___webpack_module__, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
// EXTERNAL MODULE: ./node_modules/ws/wrapper.mjs
|
|
18
|
-
var wrapper = __webpack_require__(
|
|
19
|
-
;// CONCATENATED MODULE: ./node_modules/ink/build/devtools-window-polyfill.js
|
|
17
|
+
// EXTERNAL MODULE: ./node_modules/.pnpm/ws@8.18.3/node_modules/ws/wrapper.mjs
|
|
18
|
+
var wrapper = __webpack_require__(1910);
|
|
19
|
+
;// CONCATENATED MODULE: ./node_modules/.pnpm/ink@6.6.0_@types+react@19.2.8_react@19.2.3/node_modules/ink/build/devtools-window-polyfill.js
|
|
20
20
|
// Ignoring missing types error to avoid adding another dependency for this hack to work
|
|
21
21
|
|
|
22
22
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
23
23
|
const customGlobal = global;
|
|
24
24
|
// These things must exist before importing `react-devtools-core`
|
|
25
|
+
// eslint-disable-next-line n/no-unsupported-features/node-builtins
|
|
25
26
|
customGlobal.WebSocket ||= wrapper/* default */.Ay;
|
|
26
27
|
customGlobal.window ||= global;
|
|
27
28
|
customGlobal.self ||= global;
|
|
@@ -81,15 +82,17 @@ customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
|
|
|
81
82
|
},
|
|
82
83
|
];
|
|
83
84
|
//# sourceMappingURL=devtools-window-polyfill.js.map
|
|
84
|
-
// EXTERNAL MODULE: ./node_modules/@vercel/ncc/dist/ncc/@@notfound.js?react-devtools-core
|
|
85
|
-
var _notfoundreact_devtools_core = __webpack_require__(
|
|
86
|
-
;// CONCATENATED MODULE: ./node_modules/ink/build/devtools.js
|
|
85
|
+
// EXTERNAL MODULE: ./node_modules/.pnpm/@vercel+ncc@0.38.4/node_modules/@vercel/ncc/dist/ncc/@@notfound.js?react-devtools-core
|
|
86
|
+
var _notfoundreact_devtools_core = __webpack_require__(106);
|
|
87
|
+
;// CONCATENATED MODULE: ./node_modules/.pnpm/ink@6.6.0_@types+react@19.2.8_react@19.2.3/node_modules/ink/build/devtools.js
|
|
87
88
|
/* eslint-disable import/order */
|
|
88
89
|
// eslint-disable-next-line import/no-unassigned-import
|
|
89
90
|
|
|
90
91
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
91
92
|
// @ts-expect-error
|
|
92
93
|
|
|
94
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
95
|
+
_notfoundreact_devtools_core.initialize();
|
|
93
96
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
94
97
|
_notfoundreact_devtools_core.connectToDevTools();
|
|
95
98
|
//# sourceMappingURL=devtools.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export const id =
|
|
2
|
-
export const ids = [
|
|
1
|
+
export const id = 905;
|
|
2
|
+
export const ids = [905];
|
|
3
3
|
export const modules = {
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 8905:
|
|
6
6
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7
7
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -146,7 +146,7 @@ async function processImports(content, basePath, projectRoot, state) {
|
|
|
146
146
|
const { content: processed, filePaths: nestedPaths } = await processImports(importedContent, node_path__WEBPACK_IMPORTED_MODULE_1__.dirname(normalized), projectRoot, {
|
|
147
147
|
processedFiles: state.processedFiles,
|
|
148
148
|
maxDepth: state.maxDepth,
|
|
149
|
-
currentDepth: state.currentDepth + 1
|
|
149
|
+
currentDepth: state.currentDepth + 1
|
|
150
150
|
});
|
|
151
151
|
filePaths.push(...nestedPaths);
|
|
152
152
|
result += `<!-- Imported from: ${importPath} -->\n${processed}\n<!-- End of import from: ${importPath} -->`;
|
|
@@ -174,12 +174,12 @@ async function loadProjectSpec(cwd) {
|
|
|
174
174
|
const initialState = {
|
|
175
175
|
processedFiles: new Set([node_path__WEBPACK_IMPORTED_MODULE_1__.normalize(codegenPath)]),
|
|
176
176
|
maxDepth: 5,
|
|
177
|
-
currentDepth: 0
|
|
177
|
+
currentDepth: 0
|
|
178
178
|
};
|
|
179
179
|
const { content, filePaths } = await processImports(rawContent, node_path__WEBPACK_IMPORTED_MODULE_1__.dirname(codegenPath), projectRoot, initialState);
|
|
180
180
|
return {
|
|
181
181
|
content,
|
|
182
|
-
filePaths: [node_path__WEBPACK_IMPORTED_MODULE_1__.normalize(codegenPath), ...filePaths]
|
|
182
|
+
filePaths: [node_path__WEBPACK_IMPORTED_MODULE_1__.normalize(codegenPath), ...filePaths]
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
|