repoburg 1.3.87 → 1.3.91
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/app.module.d.ts +3 -1
- package/backend/dist/src/app.module.js +17 -1
- package/backend/dist/src/app.module.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/application-state.service.d.ts +3 -0
- package/backend/dist/src/application-state/application-state.service.js +18 -1
- package/backend/dist/src/application-state/application-state.service.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/common/cache/etag-cache.service.d.ts +18 -0
- package/backend/dist/src/common/cache/etag-cache.service.js +98 -0
- package/backend/dist/src/common/cache/etag-cache.service.js.map +1 -0
- package/backend/dist/src/common/common.module.d.ts +2 -0
- package/backend/dist/src/common/common.module.js +22 -0
- package/backend/dist/src/common/common.module.js.map +1 -0
- package/backend/dist/src/common/interceptors/etag-cache.interceptor.d.ts +14 -0
- package/backend/dist/src/common/interceptors/etag-cache.interceptor.js +69 -0
- package/backend/dist/src/common/interceptors/etag-cache.interceptor.js.map +1 -0
- package/backend/dist/src/common/middleware/cache.middleware.d.ts +8 -0
- package/backend/dist/src/common/middleware/cache.middleware.js +44 -0
- package/backend/dist/src/common/middleware/cache.middleware.js.map +1 -0
- 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 +95 -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/global-config/global-config.service.d.ts +1 -0
- package/backend/dist/src/global-config/global-config.service.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 +1 -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.d.ts +1 -1
- package/backend/dist/src/sessions/sessions.controller.js +123 -3
- package/backend/dist/src/sessions/sessions.controller.js.map +1 -1
- package/backend/dist/src/sessions/sessions.service.d.ts +2 -1
- package/backend/dist/src/sessions/sessions.service.js +47 -18
- package/backend/dist/src/sessions/sessions.service.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 +2 -4
- 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
|
@@ -11,17 +11,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AIAction = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
15
|
const base_entity_1 = require("./base.entity");
|
|
15
16
|
const session_input_entity_1 = require("./session-input.entity");
|
|
16
17
|
const execution_log_entity_1 = require("./execution-log.entity");
|
|
18
|
+
const enums_1 = require("./enums");
|
|
17
19
|
let AIAction = class AIAction extends base_entity_1.BaseEntity {
|
|
18
20
|
};
|
|
19
21
|
exports.AIAction = AIAction;
|
|
20
22
|
__decorate([
|
|
23
|
+
(0, swagger_1.ApiProperty)({
|
|
24
|
+
description: 'UUID of the SessionInput this action belongs to',
|
|
25
|
+
format: 'uuid',
|
|
26
|
+
}),
|
|
21
27
|
(0, typeorm_1.Column)({ type: 'uuid' }),
|
|
22
28
|
__metadata("design:type", String)
|
|
23
29
|
], AIAction.prototype, "input_id", void 0);
|
|
24
30
|
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({
|
|
32
|
+
description: 'The SessionInput entity this action belongs to',
|
|
33
|
+
type: () => session_input_entity_1.SessionInput,
|
|
34
|
+
}),
|
|
25
35
|
(0, typeorm_1.ManyToOne)(() => session_input_entity_1.SessionInput, (si) => si.aiActions, {
|
|
26
36
|
nullable: false,
|
|
27
37
|
onDelete: 'CASCADE',
|
|
@@ -30,70 +40,133 @@ __decorate([
|
|
|
30
40
|
__metadata("design:type", session_input_entity_1.SessionInput)
|
|
31
41
|
], AIAction.prototype, "sessionInput", void 0);
|
|
32
42
|
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({
|
|
44
|
+
description: 'Type of action (determines execution behavior)',
|
|
45
|
+
enum: enums_1.AIActionType,
|
|
46
|
+
enumName: 'AIActionType',
|
|
47
|
+
example: enums_1.AIActionType.CREATE_FILE,
|
|
48
|
+
}),
|
|
33
49
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
34
50
|
__metadata("design:type", String)
|
|
35
51
|
], AIAction.prototype, "action_type", void 0);
|
|
36
52
|
__decorate([
|
|
53
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
54
|
+
description: 'Target file path (relative to project root)',
|
|
55
|
+
example: 'src/utils/auth.ts',
|
|
56
|
+
}),
|
|
37
57
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
38
58
|
__metadata("design:type", String)
|
|
39
59
|
], AIAction.prototype, "file_path", void 0);
|
|
40
60
|
__decorate([
|
|
61
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
62
|
+
description: 'Content to write/create (for create_file, overwrite_file, patch, etc.)',
|
|
63
|
+
}),
|
|
41
64
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
42
65
|
__metadata("design:type", String)
|
|
43
66
|
], AIAction.prototype, "content", void 0);
|
|
44
67
|
__decorate([
|
|
68
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
69
|
+
description: 'Original file content before modification (used for revert)',
|
|
70
|
+
}),
|
|
45
71
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
46
72
|
__metadata("design:type", String)
|
|
47
73
|
], AIAction.prototype, "original_content_for_revert", void 0);
|
|
48
74
|
__decorate([
|
|
75
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
76
|
+
description: 'Shell command to execute (for run_command action type)',
|
|
77
|
+
example: 'npm install lodash',
|
|
78
|
+
}),
|
|
49
79
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
50
80
|
__metadata("design:type", String)
|
|
51
81
|
], AIAction.prototype, "command_string", void 0);
|
|
52
82
|
__decorate([
|
|
83
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
84
|
+
description: 'JSON array of files to include in context (for request_context)',
|
|
85
|
+
}),
|
|
53
86
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
54
87
|
__metadata("design:type", String)
|
|
55
88
|
], AIAction.prototype, "files", void 0);
|
|
56
89
|
__decorate([
|
|
90
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
91
|
+
description: 'JSON array of folders to include in context (for request_context)',
|
|
92
|
+
}),
|
|
57
93
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
58
94
|
__metadata("design:type", String)
|
|
59
95
|
], AIAction.prototype, "folders", void 0);
|
|
60
96
|
__decorate([
|
|
97
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
98
|
+
description: 'Reason/explanation for this action (from LLM)',
|
|
99
|
+
}),
|
|
61
100
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
62
101
|
__metadata("design:type", String)
|
|
63
102
|
], AIAction.prototype, "reason", void 0);
|
|
64
103
|
__decorate([
|
|
104
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
105
|
+
description: 'Handover prompt for spawning new session (for new_session action type)',
|
|
106
|
+
}),
|
|
65
107
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
66
108
|
__metadata("design:type", String)
|
|
67
109
|
], AIAction.prototype, "handover_string", void 0);
|
|
68
110
|
__decorate([
|
|
111
|
+
(0, swagger_1.ApiProperty)({
|
|
112
|
+
description: 'Current lifecycle state of this action',
|
|
113
|
+
enum: enums_1.AIActionStatus,
|
|
114
|
+
enumName: 'AIActionStatus',
|
|
115
|
+
example: enums_1.AIActionStatus.PROPOSED,
|
|
116
|
+
}),
|
|
69
117
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
70
118
|
__metadata("design:type", String)
|
|
71
119
|
], AIAction.prototype, "status", void 0);
|
|
72
120
|
__decorate([
|
|
121
|
+
(0, swagger_1.ApiProperty)({
|
|
122
|
+
description: 'Execution order within batch (actions sorted by this number)',
|
|
123
|
+
example: 1,
|
|
124
|
+
}),
|
|
73
125
|
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
74
126
|
__metadata("design:type", Number)
|
|
75
127
|
], AIAction.prototype, "order_of_execution", void 0);
|
|
76
128
|
__decorate([
|
|
129
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
130
|
+
description: 'Execution logs showing output and errors from execution attempts',
|
|
131
|
+
type: () => [execution_log_entity_1.ExecutionLog],
|
|
132
|
+
}),
|
|
77
133
|
(0, typeorm_1.OneToMany)(() => execution_log_entity_1.ExecutionLog, (executionLog) => executionLog.aiAction),
|
|
78
134
|
__metadata("design:type", Array)
|
|
79
135
|
], AIAction.prototype, "executionLogs", void 0);
|
|
80
136
|
__decorate([
|
|
137
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
138
|
+
description: 'MCP server name (for use_mcp_tool action type)',
|
|
139
|
+
example: 'filesystem',
|
|
140
|
+
}),
|
|
81
141
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
82
142
|
__metadata("design:type", String)
|
|
83
143
|
], AIAction.prototype, "server_name", void 0);
|
|
84
144
|
__decorate([
|
|
145
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
146
|
+
description: 'MCP tool name (for use_mcp_tool action type)',
|
|
147
|
+
example: 'read_file',
|
|
148
|
+
}),
|
|
85
149
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
86
150
|
__metadata("design:type", String)
|
|
87
151
|
], AIAction.prototype, "tool_name", void 0);
|
|
88
152
|
__decorate([
|
|
153
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
154
|
+
description: 'Arguments for MCP tool call (JSON string)',
|
|
155
|
+
}),
|
|
89
156
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
90
157
|
__metadata("design:type", String)
|
|
91
158
|
], AIAction.prototype, "arguments", void 0);
|
|
92
159
|
__decorate([
|
|
160
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
161
|
+
description: 'Plain text explanation (for final action type)',
|
|
162
|
+
}),
|
|
93
163
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
94
164
|
__metadata("design:type", String)
|
|
95
165
|
], AIAction.prototype, "plain", void 0);
|
|
96
166
|
__decorate([
|
|
167
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
168
|
+
description: 'Native tool call ID from LLM response (for function calling mode)',
|
|
169
|
+
}),
|
|
97
170
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
98
171
|
__metadata("design:type", String)
|
|
99
172
|
], AIAction.prototype, "tool_call_id", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-action.entity.js","sourceRoot":"","sources":["../../../src/core-entities/ai-action.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2E;AAC3E,+CAA2C;AAC3C,iEAAsD;AACtD,iEAAsD;
|
|
1
|
+
{"version":3,"file":"ai-action.entity.js","sourceRoot":"","sources":["../../../src/core-entities/ai-action.entity.ts"],"names":[],"mappings":"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"}
|
|
@@ -11,18 +11,36 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.BaseEntity = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
15
|
class BaseEntity {
|
|
15
16
|
}
|
|
16
17
|
exports.BaseEntity = BaseEntity;
|
|
17
18
|
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)({
|
|
20
|
+
description: 'Unique identifier (UUID)',
|
|
21
|
+
example: '550e8400-e29b-41d4-a716-446655440000',
|
|
22
|
+
format: 'uuid',
|
|
23
|
+
}),
|
|
18
24
|
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
19
25
|
__metadata("design:type", String)
|
|
20
26
|
], BaseEntity.prototype, "id", void 0);
|
|
21
27
|
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({
|
|
29
|
+
description: 'Timestamp when the entity was created',
|
|
30
|
+
example: '2024-01-15T10:30:00.000Z',
|
|
31
|
+
type: 'string',
|
|
32
|
+
format: 'date-time',
|
|
33
|
+
}),
|
|
22
34
|
(0, typeorm_1.CreateDateColumn)({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP' }),
|
|
23
35
|
__metadata("design:type", Date)
|
|
24
36
|
], BaseEntity.prototype, "created_at", void 0);
|
|
25
37
|
__decorate([
|
|
38
|
+
(0, swagger_1.ApiProperty)({
|
|
39
|
+
description: 'Timestamp when the entity was last updated',
|
|
40
|
+
example: '2024-01-15T12:45:00.000Z',
|
|
41
|
+
type: 'string',
|
|
42
|
+
format: 'date-time',
|
|
43
|
+
}),
|
|
26
44
|
(0, typeorm_1.UpdateDateColumn)({
|
|
27
45
|
type: 'datetime',
|
|
28
46
|
default: () => 'CURRENT_TIMESTAMP',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.entity.js","sourceRoot":"","sources":["../../../src/core-entities/base.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAIiB;
|
|
1
|
+
{"version":3,"file":"base.entity.js","sourceRoot":"","sources":["../../../src/core-entities/base.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAIiB;AACjB,6CAA8C;AAM9C,MAAsB,UAAU;CA8B/B;AA9BD,gCA8BC;AAvBC;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,0BAA0B;QACvC,OAAO,EAAE,sCAAsC;QAC/C,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sCACpB;AASX;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,uCAAuC;QACpD,OAAO,EAAE,0BAA0B;QACnC,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,WAAW;KACpB,CAAC;IACD,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,EAAE,CAAC;8BAC/D,IAAI;8CAAC;AAajB;IAXC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,0BAA0B;QACnC,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,WAAW;KACpB,CAAC;IACD,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;QAClC,QAAQ,EAAE,mBAAmB;KAC9B,CAAC;8BACU,IAAI;8CAAC"}
|
|
@@ -11,20 +11,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ContextSnippet = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
15
|
const base_entity_1 = require("./base.entity");
|
|
15
16
|
let ContextSnippet = class ContextSnippet extends base_entity_1.BaseEntity {
|
|
16
17
|
};
|
|
17
18
|
exports.ContextSnippet = ContextSnippet;
|
|
18
19
|
__decorate([
|
|
20
|
+
(0, swagger_1.ApiProperty)({
|
|
21
|
+
description: 'Unique handle/identifier for this snippet (used in templates)',
|
|
22
|
+
example: 'git-status',
|
|
23
|
+
}),
|
|
19
24
|
(0, typeorm_1.Index)({ unique: true }),
|
|
20
25
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
21
26
|
__metadata("design:type", String)
|
|
22
27
|
], ContextSnippet.prototype, "handle", void 0);
|
|
23
28
|
__decorate([
|
|
29
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
30
|
+
description: 'Description of what context this snippet provides',
|
|
31
|
+
example: 'Includes current git branch and recent commits',
|
|
32
|
+
}),
|
|
24
33
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
25
34
|
__metadata("design:type", String)
|
|
26
35
|
], ContextSnippet.prototype, "description", void 0);
|
|
27
36
|
__decorate([
|
|
37
|
+
(0, swagger_1.ApiProperty)({
|
|
38
|
+
description: 'Eta template content for this snippet',
|
|
39
|
+
}),
|
|
28
40
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
29
41
|
__metadata("design:type", String)
|
|
30
42
|
], ContextSnippet.prototype, "template_content", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-snippet.entity.js","sourceRoot":"","sources":["../../../src/core-entities/context-snippet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,+CAA2C;
|
|
1
|
+
{"version":3,"file":"context-snippet.entity.js","sourceRoot":"","sources":["../../../src/core-entities/context-snippet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,6CAAmE;AACnE,+CAA2C;AAUpC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,wBAAU;CAsB7C,CAAA;AAtBY,wCAAc;AAQzB;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EACT,+DAA+D;QACjE,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8CACV;AAOf;IALC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,mDAAmD;QAChE,OAAO,EAAE,gDAAgD;KAC1D,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAMpB;IAJC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,uCAAuC;KACrD,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACA;yBArBd,cAAc;IAD1B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,cAAc,CAsB1B"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { BaseEntity } from './base.entity';
|
|
2
2
|
import { Session } from './session.entity';
|
|
3
3
|
import { SessionInput } from './session-input.entity';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
PARTIAL = "partial"
|
|
7
|
-
}
|
|
4
|
+
import { TemplateType } from './enums';
|
|
5
|
+
export { TemplateType } from './enums';
|
|
8
6
|
export declare class ContextTemplate extends BaseEntity {
|
|
9
7
|
template_name: string;
|
|
10
8
|
template_content: string;
|
|
@@ -11,58 +11,101 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ContextTemplate = exports.TemplateType = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
15
|
const base_entity_1 = require("./base.entity");
|
|
15
16
|
const session_entity_1 = require("./session.entity");
|
|
16
17
|
const session_input_entity_1 = require("./session-input.entity");
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
TemplateType["PARTIAL"] = "partial";
|
|
21
|
-
})(TemplateType || (exports.TemplateType = TemplateType = {}));
|
|
18
|
+
const enums_1 = require("./enums");
|
|
19
|
+
var enums_2 = require("./enums");
|
|
20
|
+
Object.defineProperty(exports, "TemplateType", { enumerable: true, get: function () { return enums_2.TemplateType; } });
|
|
22
21
|
let ContextTemplate = class ContextTemplate extends base_entity_1.BaseEntity {
|
|
23
22
|
};
|
|
24
23
|
exports.ContextTemplate = ContextTemplate;
|
|
25
24
|
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({
|
|
26
|
+
description: 'Human-readable name for this template',
|
|
27
|
+
example: 'Full Project Context',
|
|
28
|
+
}),
|
|
26
29
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
27
30
|
__metadata("design:type", String)
|
|
28
31
|
], ContextTemplate.prototype, "template_name", void 0);
|
|
29
32
|
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({
|
|
34
|
+
description: 'Eta template content. Supports it.files, it.folders, it.tools variables.',
|
|
35
|
+
}),
|
|
30
36
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
31
37
|
__metadata("design:type", String)
|
|
32
38
|
], ContextTemplate.prototype, "template_content", void 0);
|
|
33
39
|
__decorate([
|
|
40
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
41
|
+
description: 'JSON string defining files/folders to include',
|
|
42
|
+
example: '{"files": ["src/index.ts"], "folders": ["src/components"]}',
|
|
43
|
+
}),
|
|
34
44
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
35
45
|
__metadata("design:type", String)
|
|
36
46
|
], ContextTemplate.prototype, "context_definition", void 0);
|
|
37
47
|
__decorate([
|
|
48
|
+
(0, swagger_1.ApiProperty)({
|
|
49
|
+
description: 'Whether this is the default for initial prompts',
|
|
50
|
+
example: false,
|
|
51
|
+
default: false,
|
|
52
|
+
}),
|
|
38
53
|
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
39
54
|
__metadata("design:type", Boolean)
|
|
40
55
|
], ContextTemplate.prototype, "is_default_initial", void 0);
|
|
41
56
|
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({
|
|
58
|
+
description: 'Whether this is the default for follow-up prompts',
|
|
59
|
+
example: false,
|
|
60
|
+
default: false,
|
|
61
|
+
}),
|
|
42
62
|
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
43
63
|
__metadata("design:type", Boolean)
|
|
44
64
|
], ContextTemplate.prototype, "is_default_followup", void 0);
|
|
45
65
|
__decorate([
|
|
66
|
+
(0, swagger_1.ApiProperty)({
|
|
67
|
+
description: 'Whether this is the default for condensed history',
|
|
68
|
+
example: false,
|
|
69
|
+
default: false,
|
|
70
|
+
}),
|
|
46
71
|
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
47
72
|
__metadata("design:type", Boolean)
|
|
48
73
|
], ContextTemplate.prototype, "is_default_condensed", void 0);
|
|
49
74
|
__decorate([
|
|
75
|
+
(0, swagger_1.ApiProperty)({
|
|
76
|
+
description: 'Template type: main (full template) or partial (reusable block)',
|
|
77
|
+
enum: enums_1.TemplateType,
|
|
78
|
+
enumName: 'TemplateType',
|
|
79
|
+
example: enums_1.TemplateType.MAIN,
|
|
80
|
+
}),
|
|
50
81
|
(0, typeorm_1.Column)({
|
|
51
82
|
type: 'text',
|
|
52
|
-
enum: TemplateType,
|
|
53
|
-
default: TemplateType.MAIN,
|
|
83
|
+
enum: enums_1.TemplateType,
|
|
84
|
+
default: enums_1.TemplateType.MAIN,
|
|
54
85
|
}),
|
|
55
86
|
__metadata("design:type", String)
|
|
56
87
|
], ContextTemplate.prototype, "template_type", void 0);
|
|
57
88
|
__decorate([
|
|
89
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
90
|
+
description: 'Sessions that use this as initial default',
|
|
91
|
+
type: () => [session_entity_1.Session],
|
|
92
|
+
}),
|
|
58
93
|
(0, typeorm_1.OneToMany)(() => session_entity_1.Session, (session) => session.defaultInitialContextTemplate),
|
|
59
94
|
__metadata("design:type", Array)
|
|
60
95
|
], ContextTemplate.prototype, "sessionsAsInitialDefault", void 0);
|
|
61
96
|
__decorate([
|
|
97
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
98
|
+
description: 'Sessions that use this as followup default',
|
|
99
|
+
type: () => [session_entity_1.Session],
|
|
100
|
+
}),
|
|
62
101
|
(0, typeorm_1.OneToMany)(() => session_entity_1.Session, (session) => session.defaultFollowupContextTemplate),
|
|
63
102
|
__metadata("design:type", Array)
|
|
64
103
|
], ContextTemplate.prototype, "sessionsAsFollowupDefault", void 0);
|
|
65
104
|
__decorate([
|
|
105
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
106
|
+
description: 'SessionInputs that used this template',
|
|
107
|
+
type: () => [session_input_entity_1.SessionInput],
|
|
108
|
+
}),
|
|
66
109
|
(0, typeorm_1.OneToMany)(() => session_input_entity_1.SessionInput, (sessionInput) => sessionInput.contextTemplate),
|
|
67
110
|
__metadata("design:type", Array)
|
|
68
111
|
], ContextTemplate.prototype, "sessionInputs", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-template.entity.js","sourceRoot":"","sources":["../../../src/core-entities/context-template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,+CAA2C;AAC3C,qDAA2C;AAC3C,iEAAsD;
|
|
1
|
+
{"version":3,"file":"context-template.entity.js","sourceRoot":"","sources":["../../../src/core-entities/context-template.entity.ts"],"names":[],"mappings":"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"}
|
|
@@ -11,23 +11,39 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CustomSnippet = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
15
|
const base_entity_1 = require("./base.entity");
|
|
15
16
|
let CustomSnippet = class CustomSnippet extends base_entity_1.BaseEntity {
|
|
16
17
|
};
|
|
17
18
|
exports.CustomSnippet = CustomSnippet;
|
|
18
19
|
__decorate([
|
|
20
|
+
(0, swagger_1.ApiProperty)({
|
|
21
|
+
description: 'Trigger prefix for this snippet',
|
|
22
|
+
example: 'auth-module',
|
|
23
|
+
}),
|
|
19
24
|
(0, typeorm_1.Column)({ type: 'text', unique: true }),
|
|
20
25
|
__metadata("design:type", String)
|
|
21
26
|
], CustomSnippet.prototype, "prefix", void 0);
|
|
22
27
|
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({
|
|
29
|
+
description: 'Description of what this snippet does',
|
|
30
|
+
example: 'Creates a basic authentication module template',
|
|
31
|
+
}),
|
|
23
32
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
24
33
|
__metadata("design:type", String)
|
|
25
34
|
], CustomSnippet.prototype, "description", void 0);
|
|
26
35
|
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({
|
|
37
|
+
description: 'Content/body of the snippet (expanded when triggered)',
|
|
38
|
+
}),
|
|
27
39
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
28
40
|
__metadata("design:type", String)
|
|
29
41
|
], CustomSnippet.prototype, "body", void 0);
|
|
30
42
|
__decorate([
|
|
43
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
44
|
+
description: 'Scope where this snippet is available',
|
|
45
|
+
example: 'prompt',
|
|
46
|
+
}),
|
|
31
47
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
32
48
|
__metadata("design:type", String)
|
|
33
49
|
], CustomSnippet.prototype, "scope", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-snippet.entity.js","sourceRoot":"","sources":["../../../src/core-entities/custom-snippet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA2C;
|
|
1
|
+
{"version":3,"file":"custom-snippet.entity.js","sourceRoot":"","sources":["../../../src/core-entities/custom-snippet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,6CAAmE;AACnE,+CAA2C;AAUpC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,wBAAU;CA2B5C,CAAA;AA3BY,sCAAa;AAMxB;IALC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE,aAAa;KACvB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;6CACxB;AAOf;IALC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,uCAAuC;QACpD,OAAO,EAAE,gDAAgD;KAC1D,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kDACL;AAMpB;IAJC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,uDAAuD;KACrE,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2CACZ;AAOb;IALC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,uCAAuC;QACpD,OAAO,EAAE,QAAQ;KAClB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC1B;wBA1BJ,aAAa;IADzB,IAAA,gBAAM,EAAC,iBAAiB,CAAC;GACb,aAAa,CA2BzB"}
|
|
@@ -11,27 +11,51 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CustomVariable = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
15
|
const base_entity_1 = require("./base.entity");
|
|
15
16
|
let CustomVariable = class CustomVariable extends base_entity_1.BaseEntity {
|
|
16
17
|
};
|
|
17
18
|
exports.CustomVariable = CustomVariable;
|
|
18
19
|
__decorate([
|
|
20
|
+
(0, swagger_1.ApiProperty)({
|
|
21
|
+
description: 'Unique key for this variable (used in templates as it.variables.KEY)',
|
|
22
|
+
example: 'author_name',
|
|
23
|
+
}),
|
|
19
24
|
(0, typeorm_1.Column)({ type: 'text', unique: true }),
|
|
20
25
|
__metadata("design:type", String)
|
|
21
26
|
], CustomVariable.prototype, "key", void 0);
|
|
22
27
|
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({
|
|
29
|
+
description: 'Value of this variable',
|
|
30
|
+
example: 'John Developer',
|
|
31
|
+
}),
|
|
23
32
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
24
33
|
__metadata("design:type", String)
|
|
25
34
|
], CustomVariable.prototype, "value", void 0);
|
|
26
35
|
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({
|
|
37
|
+
description: 'Whether this variable is enabled',
|
|
38
|
+
example: true,
|
|
39
|
+
default: true,
|
|
40
|
+
}),
|
|
27
41
|
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
28
42
|
__metadata("design:type", Boolean)
|
|
29
43
|
], CustomVariable.prototype, "enabled", void 0);
|
|
30
44
|
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({
|
|
46
|
+
description: 'Whether this variable is frequently used (for sorting)',
|
|
47
|
+
example: false,
|
|
48
|
+
default: false,
|
|
49
|
+
}),
|
|
31
50
|
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
32
51
|
__metadata("design:type", Boolean)
|
|
33
52
|
], CustomVariable.prototype, "is_freq_used", void 0);
|
|
34
53
|
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({
|
|
55
|
+
description: 'Display order (lower numbers appear first)',
|
|
56
|
+
example: 0,
|
|
57
|
+
default: 0,
|
|
58
|
+
}),
|
|
35
59
|
(0, typeorm_1.Column)({ type: 'int', default: 0 }),
|
|
36
60
|
__metadata("design:type", Number)
|
|
37
61
|
], CustomVariable.prototype, "order_number", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-variable.entity.js","sourceRoot":"","sources":["../../../src/core-entities/custom-variable.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA2C;
|
|
1
|
+
{"version":3,"file":"custom-variable.entity.js","sourceRoot":"","sources":["../../../src/core-entities/custom-variable.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,6CAA8C;AAC9C,+CAA2C;AAUpC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,wBAAU;CAuC7C,CAAA;AAvCY,wCAAc;AAOzB;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EACT,sEAAsE;QACxE,OAAO,EAAE,aAAa;KACvB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;2CAC3B;AAOZ;IALC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,wBAAwB;QACrC,OAAO,EAAE,gBAAgB;KAC1B,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACX;AAQd;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,kCAAkC;QAC/C,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KACd,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;+CAC1B;AAQjB;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,wDAAwD;QACrE,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;oDACtB;AAQtB;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;oDACf;yBAtCV,cAAc;IAD1B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,cAAc,CAuC1B"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare enum AIActionStatus {
|
|
2
|
+
PROPOSED = "proposed",
|
|
3
|
+
AWAITING_CONTEXT = "awaiting_context",
|
|
4
|
+
AWAITING_HANDOVER = "awaiting_handover",
|
|
5
|
+
APPROVED_FOR_APPLY = "approved_for_apply",
|
|
6
|
+
REJECTED_BEFORE_APPLY = "rejected_before_apply",
|
|
7
|
+
APPLIED_PENDING_REVIEW = "applied_pending_review",
|
|
8
|
+
CONFIRMED_KEPT = "confirmed_kept",
|
|
9
|
+
CONFIRMED_REVERTED = "confirmed_reverted",
|
|
10
|
+
EXECUTION_FAILED = "execution_failed",
|
|
11
|
+
REVERT_FAILED = "revert_failed"
|
|
12
|
+
}
|
|
13
|
+
export declare enum AIActionType {
|
|
14
|
+
CREATE_FILE = "create_file",
|
|
15
|
+
OVERWRITE_FILE = "overwrite_file",
|
|
16
|
+
DELETE_FILE = "delete_file",
|
|
17
|
+
RUN_COMMAND = "run_command",
|
|
18
|
+
REQUEST_CONTEXT = "request_context",
|
|
19
|
+
FINAL = "final",
|
|
20
|
+
USE_MCP_TOOL = "use_mcp_tool",
|
|
21
|
+
QUICK_EDIT = "quick_edit",
|
|
22
|
+
APPLY_DIFF = "apply_diff",
|
|
23
|
+
PATCH = "patch",
|
|
24
|
+
NEW_SESSION = "new_session",
|
|
25
|
+
WRITE_TODO = "write_todo",
|
|
26
|
+
EXECUTE_CODE = "execute_code"
|
|
27
|
+
}
|
|
28
|
+
export declare enum SessionStatus {
|
|
29
|
+
ACTIVE = "active",
|
|
30
|
+
COMPLETED = "completed",
|
|
31
|
+
ABORTED = "aborted",
|
|
32
|
+
FAILED = "failed"
|
|
33
|
+
}
|
|
34
|
+
export declare enum ExecutionStrategy {
|
|
35
|
+
REVIEW_FIRST = "review_first",
|
|
36
|
+
APPLY_REVERT = "apply_revert"
|
|
37
|
+
}
|
|
38
|
+
export declare enum SubAgentRunStatus {
|
|
39
|
+
RUNNING = "running",
|
|
40
|
+
COMPLETED = "completed",
|
|
41
|
+
FAILED = "failed",
|
|
42
|
+
TIMEOUT = "timeout",
|
|
43
|
+
CANCELLED = "cancelled"
|
|
44
|
+
}
|
|
45
|
+
export declare enum TemplateType {
|
|
46
|
+
MAIN = "main",
|
|
47
|
+
PARTIAL = "partial"
|
|
48
|
+
}
|
|
49
|
+
export declare enum ReasoningEffort {
|
|
50
|
+
XHIGH = "xhigh",
|
|
51
|
+
HIGH = "high",
|
|
52
|
+
MEDIUM = "medium",
|
|
53
|
+
LOW = "low",
|
|
54
|
+
MINIMAL = "minimal",
|
|
55
|
+
NONE = "none"
|
|
56
|
+
}
|
|
57
|
+
export declare enum ToolHookTiming {
|
|
58
|
+
BEFORE = "before",
|
|
59
|
+
AFTER = "after"
|
|
60
|
+
}
|
|
61
|
+
export declare enum MessageRole {
|
|
62
|
+
USER = "user",
|
|
63
|
+
MODEL = "model"
|
|
64
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageRole = exports.ToolHookTiming = exports.ReasoningEffort = exports.TemplateType = exports.SubAgentRunStatus = exports.ExecutionStrategy = exports.SessionStatus = exports.AIActionType = exports.AIActionStatus = void 0;
|
|
4
|
+
var AIActionStatus;
|
|
5
|
+
(function (AIActionStatus) {
|
|
6
|
+
AIActionStatus["PROPOSED"] = "proposed";
|
|
7
|
+
AIActionStatus["AWAITING_CONTEXT"] = "awaiting_context";
|
|
8
|
+
AIActionStatus["AWAITING_HANDOVER"] = "awaiting_handover";
|
|
9
|
+
AIActionStatus["APPROVED_FOR_APPLY"] = "approved_for_apply";
|
|
10
|
+
AIActionStatus["REJECTED_BEFORE_APPLY"] = "rejected_before_apply";
|
|
11
|
+
AIActionStatus["APPLIED_PENDING_REVIEW"] = "applied_pending_review";
|
|
12
|
+
AIActionStatus["CONFIRMED_KEPT"] = "confirmed_kept";
|
|
13
|
+
AIActionStatus["CONFIRMED_REVERTED"] = "confirmed_reverted";
|
|
14
|
+
AIActionStatus["EXECUTION_FAILED"] = "execution_failed";
|
|
15
|
+
AIActionStatus["REVERT_FAILED"] = "revert_failed";
|
|
16
|
+
})(AIActionStatus || (exports.AIActionStatus = AIActionStatus = {}));
|
|
17
|
+
var AIActionType;
|
|
18
|
+
(function (AIActionType) {
|
|
19
|
+
AIActionType["CREATE_FILE"] = "create_file";
|
|
20
|
+
AIActionType["OVERWRITE_FILE"] = "overwrite_file";
|
|
21
|
+
AIActionType["DELETE_FILE"] = "delete_file";
|
|
22
|
+
AIActionType["RUN_COMMAND"] = "run_command";
|
|
23
|
+
AIActionType["REQUEST_CONTEXT"] = "request_context";
|
|
24
|
+
AIActionType["FINAL"] = "final";
|
|
25
|
+
AIActionType["USE_MCP_TOOL"] = "use_mcp_tool";
|
|
26
|
+
AIActionType["QUICK_EDIT"] = "quick_edit";
|
|
27
|
+
AIActionType["APPLY_DIFF"] = "apply_diff";
|
|
28
|
+
AIActionType["PATCH"] = "patch";
|
|
29
|
+
AIActionType["NEW_SESSION"] = "new_session";
|
|
30
|
+
AIActionType["WRITE_TODO"] = "write_todo";
|
|
31
|
+
AIActionType["EXECUTE_CODE"] = "execute_code";
|
|
32
|
+
})(AIActionType || (exports.AIActionType = AIActionType = {}));
|
|
33
|
+
var SessionStatus;
|
|
34
|
+
(function (SessionStatus) {
|
|
35
|
+
SessionStatus["ACTIVE"] = "active";
|
|
36
|
+
SessionStatus["COMPLETED"] = "completed";
|
|
37
|
+
SessionStatus["ABORTED"] = "aborted";
|
|
38
|
+
SessionStatus["FAILED"] = "failed";
|
|
39
|
+
})(SessionStatus || (exports.SessionStatus = SessionStatus = {}));
|
|
40
|
+
var ExecutionStrategy;
|
|
41
|
+
(function (ExecutionStrategy) {
|
|
42
|
+
ExecutionStrategy["REVIEW_FIRST"] = "review_first";
|
|
43
|
+
ExecutionStrategy["APPLY_REVERT"] = "apply_revert";
|
|
44
|
+
})(ExecutionStrategy || (exports.ExecutionStrategy = ExecutionStrategy = {}));
|
|
45
|
+
var SubAgentRunStatus;
|
|
46
|
+
(function (SubAgentRunStatus) {
|
|
47
|
+
SubAgentRunStatus["RUNNING"] = "running";
|
|
48
|
+
SubAgentRunStatus["COMPLETED"] = "completed";
|
|
49
|
+
SubAgentRunStatus["FAILED"] = "failed";
|
|
50
|
+
SubAgentRunStatus["TIMEOUT"] = "timeout";
|
|
51
|
+
SubAgentRunStatus["CANCELLED"] = "cancelled";
|
|
52
|
+
})(SubAgentRunStatus || (exports.SubAgentRunStatus = SubAgentRunStatus = {}));
|
|
53
|
+
var TemplateType;
|
|
54
|
+
(function (TemplateType) {
|
|
55
|
+
TemplateType["MAIN"] = "main";
|
|
56
|
+
TemplateType["PARTIAL"] = "partial";
|
|
57
|
+
})(TemplateType || (exports.TemplateType = TemplateType = {}));
|
|
58
|
+
var ReasoningEffort;
|
|
59
|
+
(function (ReasoningEffort) {
|
|
60
|
+
ReasoningEffort["XHIGH"] = "xhigh";
|
|
61
|
+
ReasoningEffort["HIGH"] = "high";
|
|
62
|
+
ReasoningEffort["MEDIUM"] = "medium";
|
|
63
|
+
ReasoningEffort["LOW"] = "low";
|
|
64
|
+
ReasoningEffort["MINIMAL"] = "minimal";
|
|
65
|
+
ReasoningEffort["NONE"] = "none";
|
|
66
|
+
})(ReasoningEffort || (exports.ReasoningEffort = ReasoningEffort = {}));
|
|
67
|
+
var ToolHookTiming;
|
|
68
|
+
(function (ToolHookTiming) {
|
|
69
|
+
ToolHookTiming["BEFORE"] = "before";
|
|
70
|
+
ToolHookTiming["AFTER"] = "after";
|
|
71
|
+
})(ToolHookTiming || (exports.ToolHookTiming = ToolHookTiming = {}));
|
|
72
|
+
var MessageRole;
|
|
73
|
+
(function (MessageRole) {
|
|
74
|
+
MessageRole["USER"] = "user";
|
|
75
|
+
MessageRole["MODEL"] = "model";
|
|
76
|
+
})(MessageRole || (exports.MessageRole = MessageRole = {}));
|
|
77
|
+
//# sourceMappingURL=enums.js.map
|