repoburg 1.3.87 → 1.3.88
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/backend/.env +20 -0
- package/backend/.repoburg/hooks/README.md +53 -0
- package/backend/.repoburg/hooks/eslint-hook.ts +46 -0
- package/backend/.repoburg/hooks/example-hook.ts +62 -0
- package/backend/dist/src/ai-actions/ai-actions.controller.js +67 -0
- package/backend/dist/src/ai-actions/ai-actions.controller.js.map +1 -1
- package/backend/dist/src/application-state/application-state.controller.js +123 -0
- package/backend/dist/src/application-state/application-state.controller.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-alibaba-config.dto.js +2 -0
- package/backend/dist/src/application-state/dto/set-alibaba-config.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-auto-context-fetch-enabled.dto.js +4 -0
- package/backend/dist/src/application-state/dto/set-auto-context-fetch-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-auto-send-to-ai-studio-enabled.dto.js +2 -0
- package/backend/dist/src/application-state/dto/set-auto-send-to-ai-studio-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-context-token-limit.dto.js +6 -0
- package/backend/dist/src/application-state/dto/set-context-token-limit.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-execution-strategy.dto.js +6 -0
- package/backend/dist/src/application-state/dto/set-execution-strategy.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-followup-token-limit.dto.js +5 -0
- package/backend/dist/src/application-state/dto/set-followup-token-limit.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-history-compression-enabled.dto.js +4 -0
- package/backend/dist/src/application-state/dto/set-history-compression-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-llm-retry-enabled.dto.js +4 -0
- package/backend/dist/src/application-state/dto/set-llm-retry-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-llm-retry-max-attempts.dto.js +6 -0
- package/backend/dist/src/application-state/dto/set-llm-retry-max-attempts.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-manual-llm-enabled.dto.js +4 -0
- package/backend/dist/src/application-state/dto/set-manual-llm-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-openrouter-config.dto.js +2 -0
- package/backend/dist/src/application-state/dto/set-openrouter-config.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-streaming-enabled.dto.js +2 -0
- package/backend/dist/src/application-state/dto/set-streaming-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-syntax-validation-enabled.dto.js +4 -0
- package/backend/dist/src/application-state/dto/set-syntax-validation-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-theme.dto.js +6 -0
- package/backend/dist/src/application-state/dto/set-theme.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-tools-enabled.dto.js +4 -0
- package/backend/dist/src/application-state/dto/set-tools-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-websocket-enabled.dto.js +2 -0
- package/backend/dist/src/application-state/dto/set-websocket-enabled.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-yolo-mode-message.dto.js +5 -0
- package/backend/dist/src/application-state/dto/set-yolo-mode-message.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-yolo-mode.dto.js +4 -0
- package/backend/dist/src/application-state/dto/set-yolo-mode.dto.js.map +1 -1
- package/backend/dist/src/application-state/dto/set-zai-config.dto.js +2 -0
- package/backend/dist/src/application-state/dto/set-zai-config.dto.js.map +1 -1
- package/backend/dist/src/context-snippets/context-snippets.controller.js +38 -0
- package/backend/dist/src/context-snippets/context-snippets.controller.js.map +1 -1
- package/backend/dist/src/context-templates/context-templates.controller.js +104 -0
- package/backend/dist/src/context-templates/context-templates.controller.js.map +1 -1
- package/backend/dist/src/context-templates/dto/context-template.dto.d.ts +1 -1
- package/backend/dist/src/context-templates/dto/context-template.dto.js +44 -1
- package/backend/dist/src/context-templates/dto/context-template.dto.js.map +1 -1
- package/backend/dist/src/core-entities/ai-action.entity.js +73 -0
- package/backend/dist/src/core-entities/ai-action.entity.js.map +1 -1
- package/backend/dist/src/core-entities/base.entity.js +18 -0
- package/backend/dist/src/core-entities/base.entity.js.map +1 -1
- package/backend/dist/src/core-entities/context-snippet.entity.js +12 -0
- package/backend/dist/src/core-entities/context-snippet.entity.js.map +1 -1
- package/backend/dist/src/core-entities/context-template.entity.d.ts +2 -4
- package/backend/dist/src/core-entities/context-template.entity.js +50 -7
- package/backend/dist/src/core-entities/context-template.entity.js.map +1 -1
- package/backend/dist/src/core-entities/custom-snippet.entity.js +16 -0
- package/backend/dist/src/core-entities/custom-snippet.entity.js.map +1 -1
- package/backend/dist/src/core-entities/custom-variable.entity.js +24 -0
- package/backend/dist/src/core-entities/custom-variable.entity.js.map +1 -1
- package/backend/dist/src/core-entities/enums.d.ts +64 -0
- package/backend/dist/src/core-entities/enums.js +77 -0
- package/backend/dist/src/core-entities/enums.js.map +1 -0
- package/backend/dist/src/core-entities/execution-log.entity.js +15 -0
- package/backend/dist/src/core-entities/execution-log.entity.js.map +1 -1
- package/backend/dist/src/core-entities/index.d.ts +1 -2
- package/backend/dist/src/core-entities/index.js +1 -2
- package/backend/dist/src/core-entities/index.js.map +1 -1
- package/backend/dist/src/core-entities/llm-call-log.entity.js +43 -0
- package/backend/dist/src/core-entities/llm-call-log.entity.js.map +1 -1
- package/backend/dist/src/core-entities/mcp-config.entity.js +27 -0
- package/backend/dist/src/core-entities/mcp-config.entity.js.map +1 -1
- package/backend/dist/src/core-entities/mcp-tool.entity.js +26 -0
- package/backend/dist/src/core-entities/mcp-tool.entity.js.map +1 -1
- package/backend/dist/src/core-entities/project.entity.js +13 -0
- package/backend/dist/src/core-entities/project.entity.js.map +1 -1
- package/backend/dist/src/core-entities/session-input.entity.js +94 -0
- package/backend/dist/src/core-entities/session-input.entity.js.map +1 -1
- package/backend/dist/src/core-entities/session.entity.d.ts +1 -1
- package/backend/dist/src/core-entities/session.entity.js +96 -1
- package/backend/dist/src/core-entities/session.entity.js.map +1 -1
- package/backend/dist/src/core-entities/system-prompt.entity.js +29 -0
- package/backend/dist/src/core-entities/system-prompt.entity.js.map +1 -1
- package/backend/dist/src/core-entities/tool-hook.entity.js +21 -0
- package/backend/dist/src/core-entities/tool-hook.entity.js.map +1 -1
- package/backend/dist/src/custom-snippets/custom-snippets.controller.js +48 -0
- package/backend/dist/src/custom-snippets/custom-snippets.controller.js.map +1 -1
- package/backend/dist/src/custom-variables/custom-variables.controller.js +46 -0
- package/backend/dist/src/custom-variables/custom-variables.controller.js.map +1 -1
- package/backend/dist/src/global-config/global-config.controller.js +12 -0
- package/backend/dist/src/global-config/global-config.controller.js.map +1 -1
- package/backend/dist/src/interactive-chat/streaming.controller.js +38 -0
- package/backend/dist/src/interactive-chat/streaming.controller.js.map +1 -1
- package/backend/dist/src/llm-call-logs/llm-call-logs.controller.js +96 -0
- package/backend/dist/src/llm-call-logs/llm-call-logs.controller.js.map +1 -1
- package/backend/dist/src/llm-provider/llm-provider.controller.js +18 -0
- package/backend/dist/src/llm-provider/llm-provider.controller.js.map +1 -1
- package/backend/dist/src/llm-provider/zai-llm.provider.js +0 -1
- package/backend/dist/src/llm-provider/zai-llm.provider.js.map +1 -1
- package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.js +45 -0
- package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.js.map +1 -1
- package/backend/dist/src/llm-responses/dto/sync-conversation.dto.js +24 -0
- package/backend/dist/src/llm-responses/dto/sync-conversation.dto.js.map +1 -1
- package/backend/dist/src/llm-responses/llm-responses.controller.js +32 -0
- package/backend/dist/src/llm-responses/llm-responses.controller.js.map +1 -1
- package/backend/dist/src/main.js +9 -0
- package/backend/dist/src/main.js.map +1 -1
- package/backend/dist/src/mcp/dto/batch-update-mcp-tools.dto.js +8 -0
- package/backend/dist/src/mcp/dto/batch-update-mcp-tools.dto.js.map +1 -1
- package/backend/dist/src/mcp/dto/create-mcp-config.dto.js +5 -0
- package/backend/dist/src/mcp/dto/create-mcp-config.dto.js.map +1 -1
- package/backend/dist/src/mcp/dto/update-mcp-config.dto.js +2 -0
- package/backend/dist/src/mcp/dto/update-mcp-config.dto.js.map +1 -1
- package/backend/dist/src/mcp/mcp.controller.js +21 -0
- package/backend/dist/src/mcp/mcp.controller.js.map +1 -1
- package/backend/dist/src/projects/dto/project.dto.js +14 -0
- package/backend/dist/src/projects/dto/project.dto.js.map +1 -1
- package/backend/dist/src/projects/projects.controller.js +31 -0
- package/backend/dist/src/projects/projects.controller.js.map +1 -1
- package/backend/dist/src/session-inputs/dto/session-input.dto.d.ts +12 -1
- package/backend/dist/src/session-inputs/dto/session-input.dto.js +103 -1
- package/backend/dist/src/session-inputs/dto/session-input.dto.js.map +1 -1
- package/backend/dist/src/session-inputs/session-input.subscriber.js.map +1 -1
- package/backend/dist/src/session-inputs/session-inputs.controller.d.ts +2 -1
- package/backend/dist/src/session-inputs/session-inputs.controller.js +84 -0
- package/backend/dist/src/session-inputs/session-inputs.controller.js.map +1 -1
- package/backend/dist/src/session-inputs/session-inputs.module.js +1 -0
- package/backend/dist/src/session-inputs/session-inputs.module.js.map +1 -1
- package/backend/dist/src/session-inputs/session-inputs.service.d.ts +7 -3
- package/backend/dist/src/session-inputs/session-inputs.service.js +51 -4
- package/backend/dist/src/session-inputs/session-inputs.service.js.map +1 -1
- package/backend/dist/src/sessions/dto/session.dto.js +91 -0
- package/backend/dist/src/sessions/dto/session.dto.js.map +1 -1
- package/backend/dist/src/sessions/sessions.controller.js +112 -0
- package/backend/dist/src/sessions/sessions.controller.js.map +1 -1
- package/backend/dist/src/sub-agents/dto/create-sub-agent.dto.js +26 -0
- package/backend/dist/src/sub-agents/dto/create-sub-agent.dto.js.map +1 -1
- package/backend/dist/src/sub-agents/dto/update-sub-agent.dto.js +22 -0
- package/backend/dist/src/sub-agents/dto/update-sub-agent.dto.js.map +1 -1
- package/backend/dist/src/sub-agents/sub-agent-run.entity.d.ts +2 -7
- package/backend/dist/src/sub-agents/sub-agent-run.entity.js +63 -9
- package/backend/dist/src/sub-agents/sub-agent-run.entity.js.map +1 -1
- package/backend/dist/src/sub-agents/sub-agent-runs.controller.js +63 -0
- package/backend/dist/src/sub-agents/sub-agent-runs.controller.js.map +1 -1
- package/backend/dist/src/sub-agents/sub-agent.entity.js +47 -0
- package/backend/dist/src/sub-agents/sub-agent.entity.js.map +1 -1
- package/backend/dist/src/sub-agents/sub-agents.controller.js +25 -0
- package/backend/dist/src/sub-agents/sub-agents.controller.js.map +1 -1
- package/backend/dist/src/system-prompts/dto/set-enabled-tools.dto.js +9 -0
- package/backend/dist/src/system-prompts/dto/set-enabled-tools.dto.js.map +1 -1
- package/backend/dist/src/system-prompts/dto/system-prompt.dto.js +43 -0
- package/backend/dist/src/system-prompts/dto/system-prompt.dto.js.map +1 -1
- package/backend/dist/src/system-prompts/dto/toggle-tool.dto.js +5 -0
- package/backend/dist/src/system-prompts/dto/toggle-tool.dto.js.map +1 -1
- package/backend/dist/src/system-prompts/system-prompts.controller.js +80 -0
- package/backend/dist/src/system-prompts/system-prompts.controller.js.map +1 -1
- package/backend/dist/src/tool-hooks/dto/create-tool-hook.dto.js +14 -0
- package/backend/dist/src/tool-hooks/dto/create-tool-hook.dto.js.map +1 -1
- package/backend/dist/src/tool-hooks/dto/update-tool-hook.dto.js +11 -0
- package/backend/dist/src/tool-hooks/dto/update-tool-hook.dto.js.map +1 -1
- package/backend/dist/src/tool-hooks/tool-hooks.controller.js +52 -0
- package/backend/dist/src/tool-hooks/tool-hooks.controller.js.map +1 -1
- package/backend/dist/src/visual-editor/visual-editor.controller.js +15 -0
- package/backend/dist/src/visual-editor/visual-editor.controller.js.map +1 -1
- package/backend/dist/src/workspace/workspace.controller.js +41 -0
- package/backend/dist/src/workspace/workspace.controller.js.map +1 -1
- package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
- package/{daemon/node_modules/undici-types → backend/node_modules/@eslint/eslintrc}/LICENSE +5 -7
- package/backend/node_modules/@eslint/eslintrc/README.md +115 -0
- package/backend/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- package/backend/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1104 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4344 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
- package/backend/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +532 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +124 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1151 -0
- package/backend/node_modules/@eslint/eslintrc/lib/flat-compat.js +318 -0
- package/backend/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- package/backend/node_modules/@eslint/eslintrc/lib/index.js +56 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- package/backend/node_modules/@eslint/eslintrc/package.json +82 -0
- package/backend/node_modules/@eslint/eslintrc/universal.js +9 -0
- package/backend/package.json +1 -3
- package/daemon/dist/api/system.js +25 -0
- package/daemon/dist/daemon.blob +0 -0
- package/daemon/dist/index.js +0 -0
- package/package.json +3 -1
- package/visual-editor-proxy/.repoburg/data.sqlite +0 -0
- package/visual-editor-proxy/dist/tsconfig.tsbuildinfo +1 -1
- package/backend/node_modules/@types/node/LICENSE +0 -21
- package/backend/node_modules/@types/node/README.md +0 -15
- package/backend/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/backend/node_modules/@types/node/assert.d.ts +0 -1044
- package/backend/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/backend/node_modules/@types/node/buffer.buffer.d.ts +0 -462
- package/backend/node_modules/@types/node/buffer.d.ts +0 -1932
- package/backend/node_modules/@types/node/child_process.d.ts +0 -1452
- package/backend/node_modules/@types/node/cluster.d.ts +0 -578
- package/backend/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/backend/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/backend/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/backend/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/backend/node_modules/@types/node/console.d.ts +0 -452
- package/backend/node_modules/@types/node/constants.d.ts +0 -21
- package/backend/node_modules/@types/node/crypto.d.ts +0 -4570
- package/backend/node_modules/@types/node/dgram.d.ts +0 -596
- package/backend/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/backend/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/backend/node_modules/@types/node/dns.d.ts +0 -871
- package/backend/node_modules/@types/node/domain.d.ts +0 -170
- package/backend/node_modules/@types/node/events.d.ts +0 -931
- package/backend/node_modules/@types/node/fs/promises.d.ts +0 -1248
- package/backend/node_modules/@types/node/fs.d.ts +0 -4362
- package/backend/node_modules/@types/node/globals.d.ts +0 -170
- package/backend/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/backend/node_modules/@types/node/http.d.ts +0 -2031
- package/backend/node_modules/@types/node/http2.d.ts +0 -2623
- package/backend/node_modules/@types/node/https.d.ts +0 -549
- package/backend/node_modules/@types/node/index.d.ts +0 -93
- package/backend/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/backend/node_modules/@types/node/module.d.ts +0 -539
- package/backend/node_modules/@types/node/net.d.ts +0 -1011
- package/backend/node_modules/@types/node/os.d.ts +0 -495
- package/backend/node_modules/@types/node/package.json +0 -140
- package/backend/node_modules/@types/node/path.d.ts +0 -200
- package/backend/node_modules/@types/node/perf_hooks.d.ts +0 -963
- package/backend/node_modules/@types/node/process.d.ts +0 -1956
- package/backend/node_modules/@types/node/punycode.d.ts +0 -117
- package/backend/node_modules/@types/node/querystring.d.ts +0 -152
- package/backend/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/backend/node_modules/@types/node/readline.d.ts +0 -589
- package/backend/node_modules/@types/node/repl.d.ts +0 -430
- package/backend/node_modules/@types/node/sea.d.ts +0 -153
- package/backend/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/backend/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/backend/node_modules/@types/node/stream/web.d.ts +0 -533
- package/backend/node_modules/@types/node/stream.d.ts +0 -1668
- package/backend/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/backend/node_modules/@types/node/test.d.ts +0 -1807
- package/backend/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/backend/node_modules/@types/node/timers.d.ts +0 -286
- package/backend/node_modules/@types/node/tls.d.ts +0 -1231
- package/backend/node_modules/@types/node/trace_events.d.ts +0 -197
- package/backend/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/backend/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/backend/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/backend/node_modules/@types/node/tty.d.ts +0 -208
- package/backend/node_modules/@types/node/url.d.ts +0 -964
- package/backend/node_modules/@types/node/util.d.ts +0 -2331
- package/backend/node_modules/@types/node/v8.d.ts +0 -808
- package/backend/node_modules/@types/node/vm.d.ts +0 -1030
- package/backend/node_modules/@types/node/wasi.d.ts +0 -181
- package/backend/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/backend/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/backend/node_modules/@types/node/web-globals/events.d.ts +0 -94
- package/backend/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
- package/backend/node_modules/@types/node/worker_threads.d.ts +0 -743
- package/backend/node_modules/@types/node/zlib.d.ts +0 -539
- package/backend/node_modules/debug/LICENSE +0 -20
- package/backend/node_modules/debug/README.md +0 -481
- package/backend/node_modules/debug/package.json +0 -64
- package/backend/node_modules/debug/src/browser.js +0 -272
- package/backend/node_modules/debug/src/common.js +0 -292
- package/backend/node_modules/debug/src/index.js +0 -10
- package/backend/node_modules/debug/src/node.js +0 -263
- package/backend/node_modules/undici-types/LICENSE +0 -21
- package/backend/node_modules/undici-types/README.md +0 -6
- package/backend/node_modules/undici-types/agent.d.ts +0 -31
- package/backend/node_modules/undici-types/api.d.ts +0 -43
- package/backend/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/backend/node_modules/undici-types/cache.d.ts +0 -36
- package/backend/node_modules/undici-types/client.d.ts +0 -108
- package/backend/node_modules/undici-types/connector.d.ts +0 -34
- package/backend/node_modules/undici-types/content-type.d.ts +0 -21
- package/backend/node_modules/undici-types/cookies.d.ts +0 -28
- package/backend/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/backend/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/backend/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/backend/node_modules/undici-types/errors.d.ts +0 -149
- package/backend/node_modules/undici-types/eventsource.d.ts +0 -61
- package/backend/node_modules/undici-types/fetch.d.ts +0 -209
- package/backend/node_modules/undici-types/file.d.ts +0 -39
- package/backend/node_modules/undici-types/filereader.d.ts +0 -54
- package/backend/node_modules/undici-types/formdata.d.ts +0 -108
- package/backend/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/backend/node_modules/undici-types/global-origin.d.ts +0 -7
- package/backend/node_modules/undici-types/handlers.d.ts +0 -15
- package/backend/node_modules/undici-types/header.d.ts +0 -4
- package/backend/node_modules/undici-types/index.d.ts +0 -71
- package/backend/node_modules/undici-types/interceptors.d.ts +0 -17
- package/backend/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/backend/node_modules/undici-types/mock-client.d.ts +0 -25
- package/backend/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/backend/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/backend/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/backend/node_modules/undici-types/package.json +0 -55
- package/backend/node_modules/undici-types/patch.d.ts +0 -33
- package/backend/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/backend/node_modules/undici-types/pool.d.ts +0 -39
- package/backend/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/backend/node_modules/undici-types/readable.d.ts +0 -65
- package/backend/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/backend/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/backend/node_modules/undici-types/util.d.ts +0 -18
- package/backend/node_modules/undici-types/webidl.d.ts +0 -228
- package/backend/node_modules/undici-types/websocket.d.ts +0 -150
- package/daemon/node_modules/@types/node/LICENSE +0 -21
- package/daemon/node_modules/@types/node/README.md +0 -15
- package/daemon/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/daemon/node_modules/@types/node/assert.d.ts +0 -1044
- package/daemon/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/daemon/node_modules/@types/node/buffer.buffer.d.ts +0 -462
- package/daemon/node_modules/@types/node/buffer.d.ts +0 -1932
- package/daemon/node_modules/@types/node/child_process.d.ts +0 -1452
- package/daemon/node_modules/@types/node/cluster.d.ts +0 -578
- package/daemon/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/daemon/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/daemon/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/daemon/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/daemon/node_modules/@types/node/console.d.ts +0 -452
- package/daemon/node_modules/@types/node/constants.d.ts +0 -21
- package/daemon/node_modules/@types/node/crypto.d.ts +0 -4570
- package/daemon/node_modules/@types/node/dgram.d.ts +0 -596
- package/daemon/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/daemon/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/daemon/node_modules/@types/node/dns.d.ts +0 -871
- package/daemon/node_modules/@types/node/domain.d.ts +0 -170
- package/daemon/node_modules/@types/node/events.d.ts +0 -931
- package/daemon/node_modules/@types/node/fs/promises.d.ts +0 -1248
- package/daemon/node_modules/@types/node/fs.d.ts +0 -4362
- package/daemon/node_modules/@types/node/globals.d.ts +0 -170
- package/daemon/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/daemon/node_modules/@types/node/http.d.ts +0 -2031
- package/daemon/node_modules/@types/node/http2.d.ts +0 -2623
- package/daemon/node_modules/@types/node/https.d.ts +0 -549
- package/daemon/node_modules/@types/node/index.d.ts +0 -93
- package/daemon/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/daemon/node_modules/@types/node/module.d.ts +0 -539
- package/daemon/node_modules/@types/node/net.d.ts +0 -1011
- package/daemon/node_modules/@types/node/os.d.ts +0 -495
- package/daemon/node_modules/@types/node/package.json +0 -140
- package/daemon/node_modules/@types/node/path.d.ts +0 -200
- package/daemon/node_modules/@types/node/perf_hooks.d.ts +0 -963
- package/daemon/node_modules/@types/node/process.d.ts +0 -1956
- package/daemon/node_modules/@types/node/punycode.d.ts +0 -117
- package/daemon/node_modules/@types/node/querystring.d.ts +0 -152
- package/daemon/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/daemon/node_modules/@types/node/readline.d.ts +0 -589
- package/daemon/node_modules/@types/node/repl.d.ts +0 -430
- package/daemon/node_modules/@types/node/sea.d.ts +0 -153
- package/daemon/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/daemon/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/daemon/node_modules/@types/node/stream/web.d.ts +0 -533
- package/daemon/node_modules/@types/node/stream.d.ts +0 -1668
- package/daemon/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/daemon/node_modules/@types/node/test.d.ts +0 -1807
- package/daemon/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/daemon/node_modules/@types/node/timers.d.ts +0 -286
- package/daemon/node_modules/@types/node/tls.d.ts +0 -1231
- package/daemon/node_modules/@types/node/trace_events.d.ts +0 -197
- package/daemon/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/daemon/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/daemon/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/daemon/node_modules/@types/node/tty.d.ts +0 -208
- package/daemon/node_modules/@types/node/url.d.ts +0 -964
- package/daemon/node_modules/@types/node/util.d.ts +0 -2331
- package/daemon/node_modules/@types/node/v8.d.ts +0 -808
- package/daemon/node_modules/@types/node/vm.d.ts +0 -1030
- package/daemon/node_modules/@types/node/wasi.d.ts +0 -181
- package/daemon/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/daemon/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/daemon/node_modules/@types/node/web-globals/events.d.ts +0 -94
- package/daemon/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
- package/daemon/node_modules/@types/node/worker_threads.d.ts +0 -743
- package/daemon/node_modules/@types/node/zlib.d.ts +0 -539
- package/daemon/node_modules/undici-types/README.md +0 -6
- package/daemon/node_modules/undici-types/agent.d.ts +0 -31
- package/daemon/node_modules/undici-types/api.d.ts +0 -43
- package/daemon/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/daemon/node_modules/undici-types/cache.d.ts +0 -36
- package/daemon/node_modules/undici-types/client.d.ts +0 -108
- package/daemon/node_modules/undici-types/connector.d.ts +0 -34
- package/daemon/node_modules/undici-types/content-type.d.ts +0 -21
- package/daemon/node_modules/undici-types/cookies.d.ts +0 -28
- package/daemon/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/daemon/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/daemon/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/daemon/node_modules/undici-types/errors.d.ts +0 -149
- package/daemon/node_modules/undici-types/eventsource.d.ts +0 -61
- package/daemon/node_modules/undici-types/fetch.d.ts +0 -209
- package/daemon/node_modules/undici-types/file.d.ts +0 -39
- package/daemon/node_modules/undici-types/filereader.d.ts +0 -54
- package/daemon/node_modules/undici-types/formdata.d.ts +0 -108
- package/daemon/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/daemon/node_modules/undici-types/global-origin.d.ts +0 -7
- package/daemon/node_modules/undici-types/handlers.d.ts +0 -15
- package/daemon/node_modules/undici-types/header.d.ts +0 -4
- package/daemon/node_modules/undici-types/index.d.ts +0 -71
- package/daemon/node_modules/undici-types/interceptors.d.ts +0 -17
- package/daemon/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/daemon/node_modules/undici-types/mock-client.d.ts +0 -25
- package/daemon/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/daemon/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/daemon/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/daemon/node_modules/undici-types/package.json +0 -55
- package/daemon/node_modules/undici-types/patch.d.ts +0 -33
- package/daemon/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/daemon/node_modules/undici-types/pool.d.ts +0 -39
- package/daemon/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/daemon/node_modules/undici-types/readable.d.ts +0 -65
- package/daemon/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/daemon/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/daemon/node_modules/undici-types/util.d.ts +0 -18
- package/daemon/node_modules/undici-types/webidl.d.ts +0 -228
- package/daemon/node_modules/undici-types/websocket.d.ts +0 -150
- package/visual-editor-proxy/node_modules/@types/node/LICENSE +0 -21
- package/visual-editor-proxy/node_modules/@types/node/README.md +0 -15
- package/visual-editor-proxy/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/visual-editor-proxy/node_modules/@types/node/assert.d.ts +0 -1062
- package/visual-editor-proxy/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/visual-editor-proxy/node_modules/@types/node/buffer.buffer.d.ts +0 -462
- package/visual-editor-proxy/node_modules/@types/node/buffer.d.ts +0 -1932
- package/visual-editor-proxy/node_modules/@types/node/child_process.d.ts +0 -1458
- package/visual-editor-proxy/node_modules/@types/node/cluster.d.ts +0 -577
- package/visual-editor-proxy/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/visual-editor-proxy/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/visual-editor-proxy/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/visual-editor-proxy/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/visual-editor-proxy/node_modules/@types/node/console.d.ts +0 -452
- package/visual-editor-proxy/node_modules/@types/node/constants.d.ts +0 -21
- package/visual-editor-proxy/node_modules/@types/node/crypto.d.ts +0 -4570
- package/visual-editor-proxy/node_modules/@types/node/dgram.d.ts +0 -596
- package/visual-editor-proxy/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/visual-editor-proxy/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/visual-editor-proxy/node_modules/@types/node/dns.d.ts +0 -871
- package/visual-editor-proxy/node_modules/@types/node/domain.d.ts +0 -170
- package/visual-editor-proxy/node_modules/@types/node/events.d.ts +0 -977
- package/visual-editor-proxy/node_modules/@types/node/fs/promises.d.ts +0 -1248
- package/visual-editor-proxy/node_modules/@types/node/fs.d.ts +0 -4362
- package/visual-editor-proxy/node_modules/@types/node/globals.d.ts +0 -172
- package/visual-editor-proxy/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/visual-editor-proxy/node_modules/@types/node/http.d.ts +0 -2030
- package/visual-editor-proxy/node_modules/@types/node/http2.d.ts +0 -2624
- package/visual-editor-proxy/node_modules/@types/node/https.d.ts +0 -546
- package/visual-editor-proxy/node_modules/@types/node/index.d.ts +0 -93
- package/visual-editor-proxy/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/visual-editor-proxy/node_modules/@types/node/module.d.ts +0 -539
- package/visual-editor-proxy/node_modules/@types/node/net.d.ts +0 -1011
- package/visual-editor-proxy/node_modules/@types/node/os.d.ts +0 -505
- package/visual-editor-proxy/node_modules/@types/node/package.json +0 -140
- package/visual-editor-proxy/node_modules/@types/node/path.d.ts +0 -200
- package/visual-editor-proxy/node_modules/@types/node/perf_hooks.d.ts +0 -961
- package/visual-editor-proxy/node_modules/@types/node/process.d.ts +0 -1944
- package/visual-editor-proxy/node_modules/@types/node/punycode.d.ts +0 -117
- package/visual-editor-proxy/node_modules/@types/node/querystring.d.ts +0 -152
- package/visual-editor-proxy/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/visual-editor-proxy/node_modules/@types/node/readline.d.ts +0 -589
- package/visual-editor-proxy/node_modules/@types/node/repl.d.ts +0 -430
- package/visual-editor-proxy/node_modules/@types/node/sea.d.ts +0 -153
- package/visual-editor-proxy/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/visual-editor-proxy/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/visual-editor-proxy/node_modules/@types/node/stream/web.d.ts +0 -533
- package/visual-editor-proxy/node_modules/@types/node/stream.d.ts +0 -1675
- package/visual-editor-proxy/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/visual-editor-proxy/node_modules/@types/node/test.d.ts +0 -1787
- package/visual-editor-proxy/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/visual-editor-proxy/node_modules/@types/node/timers.d.ts +0 -286
- package/visual-editor-proxy/node_modules/@types/node/tls.d.ts +0 -1231
- package/visual-editor-proxy/node_modules/@types/node/trace_events.d.ts +0 -197
- package/visual-editor-proxy/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/visual-editor-proxy/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/visual-editor-proxy/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/visual-editor-proxy/node_modules/@types/node/tty.d.ts +0 -208
- package/visual-editor-proxy/node_modules/@types/node/url.d.ts +0 -964
- package/visual-editor-proxy/node_modules/@types/node/util.d.ts +0 -2331
- package/visual-editor-proxy/node_modules/@types/node/v8.d.ts +0 -808
- package/visual-editor-proxy/node_modules/@types/node/vm.d.ts +0 -1000
- package/visual-editor-proxy/node_modules/@types/node/wasi.d.ts +0 -181
- package/visual-editor-proxy/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/visual-editor-proxy/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/visual-editor-proxy/node_modules/@types/node/web-globals/events.d.ts +0 -97
- package/visual-editor-proxy/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
- package/visual-editor-proxy/node_modules/@types/node/worker_threads.d.ts +0 -715
- package/visual-editor-proxy/node_modules/@types/node/zlib.d.ts +0 -539
- package/visual-editor-proxy/node_modules/undici-types/LICENSE +0 -21
- package/visual-editor-proxy/node_modules/undici-types/README.md +0 -6
- package/visual-editor-proxy/node_modules/undici-types/agent.d.ts +0 -31
- package/visual-editor-proxy/node_modules/undici-types/api.d.ts +0 -43
- package/visual-editor-proxy/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/visual-editor-proxy/node_modules/undici-types/cache.d.ts +0 -36
- package/visual-editor-proxy/node_modules/undici-types/client.d.ts +0 -108
- package/visual-editor-proxy/node_modules/undici-types/connector.d.ts +0 -34
- package/visual-editor-proxy/node_modules/undici-types/content-type.d.ts +0 -21
- package/visual-editor-proxy/node_modules/undici-types/cookies.d.ts +0 -28
- package/visual-editor-proxy/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/visual-editor-proxy/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/visual-editor-proxy/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/visual-editor-proxy/node_modules/undici-types/errors.d.ts +0 -149
- package/visual-editor-proxy/node_modules/undici-types/eventsource.d.ts +0 -61
- package/visual-editor-proxy/node_modules/undici-types/fetch.d.ts +0 -209
- package/visual-editor-proxy/node_modules/undici-types/file.d.ts +0 -39
- package/visual-editor-proxy/node_modules/undici-types/filereader.d.ts +0 -54
- package/visual-editor-proxy/node_modules/undici-types/formdata.d.ts +0 -108
- package/visual-editor-proxy/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/visual-editor-proxy/node_modules/undici-types/global-origin.d.ts +0 -7
- package/visual-editor-proxy/node_modules/undici-types/handlers.d.ts +0 -15
- package/visual-editor-proxy/node_modules/undici-types/header.d.ts +0 -4
- package/visual-editor-proxy/node_modules/undici-types/index.d.ts +0 -71
- package/visual-editor-proxy/node_modules/undici-types/interceptors.d.ts +0 -17
- package/visual-editor-proxy/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/visual-editor-proxy/node_modules/undici-types/mock-client.d.ts +0 -25
- package/visual-editor-proxy/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/visual-editor-proxy/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/visual-editor-proxy/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/visual-editor-proxy/node_modules/undici-types/package.json +0 -55
- package/visual-editor-proxy/node_modules/undici-types/patch.d.ts +0 -33
- package/visual-editor-proxy/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/visual-editor-proxy/node_modules/undici-types/pool.d.ts +0 -39
- package/visual-editor-proxy/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/visual-editor-proxy/node_modules/undici-types/readable.d.ts +0 -65
- package/visual-editor-proxy/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/visual-editor-proxy/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/visual-editor-proxy/node_modules/undici-types/util.d.ts +0 -18
- package/visual-editor-proxy/node_modules/undici-types/webidl.d.ts +0 -228
- package/visual-editor-proxy/node_modules/undici-types/websocket.d.ts +0 -150
package/backend/.env
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#react project
|
|
2
|
+
#REPOBURG_PROJECT_PATH='/Users/celalertug/WebstormProjects/ttt1234'
|
|
3
|
+
#REPOBURG_PROJECT_PATH=/Users/celalertug/Desktop/tmp/repoburg-preview-boilerplate-main
|
|
4
|
+
|
|
5
|
+
#modern football
|
|
6
|
+
#REPOBURG_PROJECT_PATH=/Users/celalertug/WebstormProjects/fm1
|
|
7
|
+
|
|
8
|
+
# handbag
|
|
9
|
+
# REPOBURG_PROJECT_PATH=/Users/celalertug/tmp/handbag-main
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# webcoder
|
|
13
|
+
# REPOBURG_PROJECT_PATH=/Users/celalertug/github/webcoder
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# appdev
|
|
18
|
+
REPOBURG_PROJECT_PATH=/Users/celalertug/everest/tmpappdev2
|
|
19
|
+
|
|
20
|
+
QUICK_EDIT_LOG_DIR=/Users/celalertug/.repoburg/quick-edit-logs
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Repoburg Tool Hooks
|
|
2
|
+
|
|
3
|
+
This directory contains TypeScript scripts that can be attached to AI tool execution events.
|
|
4
|
+
You can configure these hooks in the "Tool Hooks" section of the Repoburg UI.
|
|
5
|
+
|
|
6
|
+
## How it works
|
|
7
|
+
|
|
8
|
+
1. **Create a script** in this folder (e.g., `audit-patch.ts`).
|
|
9
|
+
2. **Go to UI**: Open Repoburg -> Tool Hooks -> Add Hook.
|
|
10
|
+
3. **Configure**: Select the tool (e.g., `patch`), timing (`before` or `after`), and your script.
|
|
11
|
+
|
|
12
|
+
## Script Interface
|
|
13
|
+
|
|
14
|
+
Your script must **export a default function** that receives the context.
|
|
15
|
+
|
|
16
|
+
### Input Context
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
interface HookContext {
|
|
20
|
+
hook_type: 'before' | 'after';
|
|
21
|
+
|
|
22
|
+
action: {
|
|
23
|
+
tool_name: string; // e.g. "patch"
|
|
24
|
+
args: any; // e.g. { file_path: "src/app.ts", patch_code: "..." }
|
|
25
|
+
|
|
26
|
+
// Only present for 'after' hooks
|
|
27
|
+
result?: {
|
|
28
|
+
status: 'SUCCESS' | 'FAILURE';
|
|
29
|
+
output?: string;
|
|
30
|
+
error?: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
plan_context: any; // Shared state of the current AI plan
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Output Format
|
|
39
|
+
|
|
40
|
+
Your function should return an object (or void if passive):
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
interface HookOutput {
|
|
44
|
+
// If true, the AI plan stops immediately.
|
|
45
|
+
should_halt_plan?: boolean;
|
|
46
|
+
|
|
47
|
+
// Optional message to log in the UI
|
|
48
|
+
message?: string;
|
|
49
|
+
|
|
50
|
+
// Optional data to merge back into the plan context
|
|
51
|
+
update_context?: Record<string, any>;
|
|
52
|
+
}
|
|
53
|
+
```
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ESLint Validation Hook
|
|
3
|
+
*
|
|
4
|
+
* Usage: Attach as 'after' hook to 'create_file', 'edit_file', 'patch'.
|
|
5
|
+
*/
|
|
6
|
+
import { exec } from 'child_process';
|
|
7
|
+
import { promisify } from 'util';
|
|
8
|
+
|
|
9
|
+
const execAsync = promisify(exec);
|
|
10
|
+
|
|
11
|
+
// Redefining types locally since this runs in a standalone VM context
|
|
12
|
+
export interface HookContext {
|
|
13
|
+
action: {
|
|
14
|
+
tool_name: string;
|
|
15
|
+
args: { file_path?: string; [key: string]: any };
|
|
16
|
+
};
|
|
17
|
+
plan_context: {
|
|
18
|
+
feedback: {
|
|
19
|
+
validationErrors: Array<{ tool_name: string; error: string }>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default async function(context: HookContext) {
|
|
25
|
+
const filePath = context.action.args.file_path;
|
|
26
|
+
if (!filePath) return;
|
|
27
|
+
|
|
28
|
+
console.log(`[Hook] Running ESLint on ${filePath}`);
|
|
29
|
+
|
|
30
|
+
try {
|
|
31
|
+
// Adjust command as needed for your project structure
|
|
32
|
+
// We use --no-color to keep the error message clean for the AI
|
|
33
|
+
await execAsync(`npx eslint "${filePath}" --no-color`);
|
|
34
|
+
} catch (e: any) {
|
|
35
|
+
const errorOutput = e.stdout || e.stderr || e.message;
|
|
36
|
+
|
|
37
|
+
console.log(`[Hook] ESLint failed for ${filePath}`);
|
|
38
|
+
|
|
39
|
+
// Inject error into the shared plan context
|
|
40
|
+
// The orchestration engine will pick this up and present it to the AI in the next turn (or immediate feedback)
|
|
41
|
+
context.plan_context.feedback.validationErrors.push({
|
|
42
|
+
tool_name: context.action.tool_name,
|
|
43
|
+
error: `ESLint check failed:\n${errorOutput}`
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Example Hook Script
|
|
3
|
+
*
|
|
4
|
+
* Usage:
|
|
5
|
+
* 1. Attach to 'patch' or 'edit_file' tool as a 'before' hook.
|
|
6
|
+
* 2. It will block edits to any file with 'lock' in the name.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// --- Type Definitions ---
|
|
10
|
+
|
|
11
|
+
export interface HookAction {
|
|
12
|
+
tool_name: string;
|
|
13
|
+
args: Record<string, any>;
|
|
14
|
+
// Only present for 'after' hooks
|
|
15
|
+
result?: {
|
|
16
|
+
status: 'SUCCESS' | 'FAILURE';
|
|
17
|
+
output?: string;
|
|
18
|
+
error?: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface HookContext {
|
|
23
|
+
hook_type: 'before' | 'after';
|
|
24
|
+
action: HookAction;
|
|
25
|
+
plan_context: any; // Shared state of the current AI plan
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface HookOutput {
|
|
29
|
+
// If true, the AI plan stops immediately.
|
|
30
|
+
should_halt_plan?: boolean;
|
|
31
|
+
|
|
32
|
+
// Optional message to log in the UI
|
|
33
|
+
message?: string;
|
|
34
|
+
|
|
35
|
+
// Optional data to merge back into the plan context
|
|
36
|
+
update_context?: Record<string, any>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// --- Hook Logic ---
|
|
40
|
+
|
|
41
|
+
export default async function(context: HookContext): Promise<HookOutput | void> {
|
|
42
|
+
// 1. Extract Data
|
|
43
|
+
const filePath = context.action?.args?.file_path || '';
|
|
44
|
+
|
|
45
|
+
// Log to console (appears in backend logs)
|
|
46
|
+
console.log(`[Hook] analyzing action on: ${filePath}`);
|
|
47
|
+
|
|
48
|
+
// 2. Logic
|
|
49
|
+
if (filePath.includes('lock')) {
|
|
50
|
+
// Return Halt Signal
|
|
51
|
+
return {
|
|
52
|
+
should_halt_plan: true,
|
|
53
|
+
message: `BLOCKED: Editing files with "lock" in the name is forbidden by policy. File: ${filePath}`
|
|
54
|
+
};
|
|
55
|
+
} else {
|
|
56
|
+
// Return Pass Signal
|
|
57
|
+
return {
|
|
58
|
+
should_halt_plan: false,
|
|
59
|
+
message: `Hook allowed action on ${filePath}`
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -14,7 +14,9 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.AIActionsController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
18
|
const ai_actions_service_1 = require("./ai-actions.service");
|
|
19
|
+
const core_entities_1 = require("../core-entities");
|
|
18
20
|
const ai_action_batch_service_1 = require("./ai-action-batch.service");
|
|
19
21
|
let AIActionsController = class AIActionsController {
|
|
20
22
|
constructor(aiActionsService, aiActionBatchService) {
|
|
@@ -116,6 +118,12 @@ exports.AIActionsController = AIActionsController;
|
|
|
116
118
|
__decorate([
|
|
117
119
|
(0, common_1.Post)('ai-actions/:inputId/revert'),
|
|
118
120
|
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
121
|
+
(0, swagger_1.ApiOperation)({
|
|
122
|
+
summary: 'Revert all actions for an input to AI Studio state',
|
|
123
|
+
}),
|
|
124
|
+
(0, swagger_1.ApiParam)({ name: 'inputId', description: 'Input UUID', format: 'uuid' }),
|
|
125
|
+
(0, swagger_1.ApiResponse)({ status: 204, description: 'Actions reverted successfully' }),
|
|
126
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Input not found' }),
|
|
119
127
|
__param(0, (0, common_1.Param)('inputId', common_1.ParseUUIDPipe)),
|
|
120
128
|
__metadata("design:type", Function),
|
|
121
129
|
__metadata("design:paramtypes", [String]),
|
|
@@ -123,6 +131,13 @@ __decorate([
|
|
|
123
131
|
], AIActionsController.prototype, "revertToStudioState", null);
|
|
124
132
|
__decorate([
|
|
125
133
|
(0, common_1.Get)('inputs/:inputId/actions'),
|
|
134
|
+
(0, swagger_1.ApiOperation)({ summary: 'List all AI actions for an input' }),
|
|
135
|
+
(0, swagger_1.ApiParam)({ name: 'inputId', description: 'Input UUID', format: 'uuid' }),
|
|
136
|
+
(0, swagger_1.ApiResponse)({
|
|
137
|
+
status: 200,
|
|
138
|
+
description: 'List of AI actions',
|
|
139
|
+
type: [core_entities_1.AIAction],
|
|
140
|
+
}),
|
|
126
141
|
__param(0, (0, common_1.Param)('inputId', common_1.ParseUUIDPipe)),
|
|
127
142
|
__metadata("design:type", Function),
|
|
128
143
|
__metadata("design:paramtypes", [String]),
|
|
@@ -130,6 +145,10 @@ __decorate([
|
|
|
130
145
|
], AIActionsController.prototype, "findAllByInputId", null);
|
|
131
146
|
__decorate([
|
|
132
147
|
(0, common_1.Get)('actions/:actionId'),
|
|
148
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get a single AI action by ID' }),
|
|
149
|
+
(0, swagger_1.ApiParam)({ name: 'actionId', description: 'Action UUID', format: 'uuid' }),
|
|
150
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'Action found', type: core_entities_1.AIAction }),
|
|
151
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Action not found' }),
|
|
133
152
|
__param(0, (0, common_1.Param)('actionId', common_1.ParseUUIDPipe)),
|
|
134
153
|
__metadata("design:type", Function),
|
|
135
154
|
__metadata("design:paramtypes", [String]),
|
|
@@ -138,6 +157,10 @@ __decorate([
|
|
|
138
157
|
__decorate([
|
|
139
158
|
(0, common_1.Post)('actions/:actionId/approve'),
|
|
140
159
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
160
|
+
(0, swagger_1.ApiOperation)({ summary: 'Mark action as approved for execution' }),
|
|
161
|
+
(0, swagger_1.ApiParam)({ name: 'actionId', description: 'Action UUID', format: 'uuid' }),
|
|
162
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'Action approved', type: core_entities_1.AIAction }),
|
|
163
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Action not found' }),
|
|
141
164
|
__param(0, (0, common_1.Param)('actionId', common_1.ParseUUIDPipe)),
|
|
142
165
|
__metadata("design:type", Function),
|
|
143
166
|
__metadata("design:paramtypes", [String]),
|
|
@@ -146,6 +169,10 @@ __decorate([
|
|
|
146
169
|
__decorate([
|
|
147
170
|
(0, common_1.Post)('actions/:actionId/discard'),
|
|
148
171
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
172
|
+
(0, swagger_1.ApiOperation)({ summary: 'Discard a proposed action' }),
|
|
173
|
+
(0, swagger_1.ApiParam)({ name: 'actionId', description: 'Action UUID', format: 'uuid' }),
|
|
174
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'Action discarded', type: core_entities_1.AIAction }),
|
|
175
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Action not found' }),
|
|
149
176
|
__param(0, (0, common_1.Param)('actionId', common_1.ParseUUIDPipe)),
|
|
150
177
|
__metadata("design:type", Function),
|
|
151
178
|
__metadata("design:paramtypes", [String]),
|
|
@@ -154,6 +181,14 @@ __decorate([
|
|
|
154
181
|
__decorate([
|
|
155
182
|
(0, common_1.Post)('actions/:actionId/confirm-keep'),
|
|
156
183
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
184
|
+
(0, swagger_1.ApiOperation)({ summary: 'Confirm to keep an applied action (permanent)' }),
|
|
185
|
+
(0, swagger_1.ApiParam)({ name: 'actionId', description: 'Action UUID', format: 'uuid' }),
|
|
186
|
+
(0, swagger_1.ApiResponse)({
|
|
187
|
+
status: 200,
|
|
188
|
+
description: 'Action confirmed as kept',
|
|
189
|
+
type: core_entities_1.AIAction,
|
|
190
|
+
}),
|
|
191
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Action not found' }),
|
|
157
192
|
__param(0, (0, common_1.Param)('actionId', common_1.ParseUUIDPipe)),
|
|
158
193
|
__metadata("design:type", Function),
|
|
159
194
|
__metadata("design:paramtypes", [String]),
|
|
@@ -162,6 +197,10 @@ __decorate([
|
|
|
162
197
|
__decorate([
|
|
163
198
|
(0, common_1.Post)('actions/:actionId/revert'),
|
|
164
199
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
200
|
+
(0, swagger_1.ApiOperation)({ summary: 'Revert an applied action to original state' }),
|
|
201
|
+
(0, swagger_1.ApiParam)({ name: 'actionId', description: 'Action UUID', format: 'uuid' }),
|
|
202
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'Action reverted', type: core_entities_1.AIAction }),
|
|
203
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Action not found' }),
|
|
165
204
|
__param(0, (0, common_1.Param)('actionId', common_1.ParseUUIDPipe)),
|
|
166
205
|
__metadata("design:type", Function),
|
|
167
206
|
__metadata("design:paramtypes", [String]),
|
|
@@ -170,6 +209,10 @@ __decorate([
|
|
|
170
209
|
__decorate([
|
|
171
210
|
(0, common_1.Post)('actions/:actionId/execute'),
|
|
172
211
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
212
|
+
(0, swagger_1.ApiOperation)({ summary: 'Execute/re-execute an action' }),
|
|
213
|
+
(0, swagger_1.ApiParam)({ name: 'actionId', description: 'Action UUID', format: 'uuid' }),
|
|
214
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'Action executed', type: core_entities_1.AIAction }),
|
|
215
|
+
(0, swagger_1.ApiResponse)({ status: 404, description: 'Action not found' }),
|
|
173
216
|
__param(0, (0, common_1.Param)('actionId', common_1.ParseUUIDPipe)),
|
|
174
217
|
__metadata("design:type", Function),
|
|
175
218
|
__metadata("design:paramtypes", [String]),
|
|
@@ -177,6 +220,13 @@ __decorate([
|
|
|
177
220
|
], AIActionsController.prototype, "executeAction", null);
|
|
178
221
|
__decorate([
|
|
179
222
|
(0, common_1.Post)('inputs/:inputId/apply-approved-actions'),
|
|
223
|
+
(0, swagger_1.ApiOperation)({ summary: 'Execute all approved actions for input' }),
|
|
224
|
+
(0, swagger_1.ApiParam)({ name: 'inputId', description: 'Input UUID', format: 'uuid' }),
|
|
225
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'All actions applied successfully' }),
|
|
226
|
+
(0, swagger_1.ApiResponse)({
|
|
227
|
+
status: 207,
|
|
228
|
+
description: 'Multi-Status: some actions failed',
|
|
229
|
+
}),
|
|
180
230
|
__param(0, (0, common_1.Param)('inputId', common_1.ParseUUIDPipe)),
|
|
181
231
|
__param(1, (0, common_1.Res)()),
|
|
182
232
|
__metadata("design:type", Function),
|
|
@@ -185,6 +235,9 @@ __decorate([
|
|
|
185
235
|
], AIActionsController.prototype, "applyApprovedActions", null);
|
|
186
236
|
__decorate([
|
|
187
237
|
(0, common_1.Post)('inputs/:inputId/discard-actions'),
|
|
238
|
+
(0, swagger_1.ApiOperation)({ summary: 'Discard all pending actions for input' }),
|
|
239
|
+
(0, swagger_1.ApiParam)({ name: 'inputId', description: 'Input UUID', format: 'uuid' }),
|
|
240
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'Actions discarded' }),
|
|
188
241
|
__param(0, (0, common_1.Param)('inputId', common_1.ParseUUIDPipe)),
|
|
189
242
|
__param(1, (0, common_1.Res)()),
|
|
190
243
|
__metadata("design:type", Function),
|
|
@@ -193,6 +246,9 @@ __decorate([
|
|
|
193
246
|
], AIActionsController.prototype, "discardAllActions", null);
|
|
194
247
|
__decorate([
|
|
195
248
|
(0, common_1.Post)('inputs/:inputId/confirm-all-actions'),
|
|
249
|
+
(0, swagger_1.ApiOperation)({ summary: 'Confirm all applied actions as permanent' }),
|
|
250
|
+
(0, swagger_1.ApiParam)({ name: 'inputId', description: 'Input UUID', format: 'uuid' }),
|
|
251
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'Actions confirmed' }),
|
|
196
252
|
__param(0, (0, common_1.Param)('inputId', common_1.ParseUUIDPipe)),
|
|
197
253
|
__param(1, (0, common_1.Res)()),
|
|
198
254
|
__metadata("design:type", Function),
|
|
@@ -201,6 +257,16 @@ __decorate([
|
|
|
201
257
|
], AIActionsController.prototype, "confirmAllActions", null);
|
|
202
258
|
__decorate([
|
|
203
259
|
(0, common_1.Post)('inputs/:inputId/revert-all-actions'),
|
|
260
|
+
(0, swagger_1.ApiOperation)({ summary: 'Revert all applied actions for input' }),
|
|
261
|
+
(0, swagger_1.ApiParam)({ name: 'inputId', description: 'Input UUID', format: 'uuid' }),
|
|
262
|
+
(0, swagger_1.ApiResponse)({
|
|
263
|
+
status: 200,
|
|
264
|
+
description: 'All actions reverted successfully',
|
|
265
|
+
}),
|
|
266
|
+
(0, swagger_1.ApiResponse)({
|
|
267
|
+
status: 207,
|
|
268
|
+
description: 'Multi-Status: some reverts failed',
|
|
269
|
+
}),
|
|
204
270
|
__param(0, (0, common_1.Param)('inputId', common_1.ParseUUIDPipe)),
|
|
205
271
|
__param(1, (0, common_1.Res)()),
|
|
206
272
|
__metadata("design:type", Function),
|
|
@@ -208,6 +274,7 @@ __decorate([
|
|
|
208
274
|
__metadata("design:returntype", Promise)
|
|
209
275
|
], AIActionsController.prototype, "revertAllActions", null);
|
|
210
276
|
exports.AIActionsController = AIActionsController = __decorate([
|
|
277
|
+
(0, swagger_1.ApiTags)('ai-actions'),
|
|
211
278
|
(0, common_1.Controller)(),
|
|
212
279
|
__metadata("design:paramtypes", [ai_actions_service_1.AIActionsService,
|
|
213
280
|
ai_action_batch_service_1.AIActionBatchService])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-actions.controller.js","sourceRoot":"","sources":["../../../src/ai-actions/ai-actions.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CASwB;AAExB,6DAI8B;
|
|
1
|
+
{"version":3,"file":"ai-actions.controller.js","sourceRoot":"","sources":["../../../src/ai-actions/ai-actions.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CASwB;AAExB,6CAA+E;AAC/E,6DAI8B;AAC9B,oDAA0D;AAC1D,uEAAiE;AAoB1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YACmB,gBAAkC,EAClC,oBAA0C;QAD1C,qBAAgB,GAAhB,gBAAgB,CAAkB;QAClC,yBAAoB,GAApB,oBAAoB,CAAsB;IAC1D,CAAC;IAUE,AAAN,KAAK,CAAC,mBAAmB,CACU,OAAe;QAEhD,OAAO,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;IAUK,AAAN,KAAK,CAAC,gBAAgB,CACa,OAAe;QAEhD,OAAO,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACzD,CAAC;IAOK,AAAN,KAAK,CAAC,OAAO,CACuB,QA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