@superblocksteam/vite-plugin-file-sync 2.0.170-next.1 → 2.0.171-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-service/agent/prompts/api-prompts.d.ts.map +1 -1
- package/dist/ai-service/agent/prompts/api-prompts.js +4 -6
- package/dist/ai-service/agent/prompts/api-prompts.js.map +1 -1
- package/dist/ai-service/agent/prompts/build-base-system-prompt.d.ts +3 -12
- package/dist/ai-service/agent/prompts/build-base-system-prompt.d.ts.map +1 -1
- package/dist/ai-service/agent/prompts/build-base-system-prompt.js +144 -71
- package/dist/ai-service/agent/prompts/build-base-system-prompt.js.map +1 -1
- package/dist/ai-service/agent/subagents/testing/types.d.ts +2 -1
- package/dist/ai-service/agent/subagents/testing/types.d.ts.map +1 -1
- package/dist/ai-service/agent/tool-message-utils.d.ts.map +1 -1
- package/dist/ai-service/agent/tool-message-utils.js +47 -36
- package/dist/ai-service/agent/tool-message-utils.js.map +1 -1
- package/dist/ai-service/agent/tool-result-metrics.d.ts +15 -0
- package/dist/ai-service/agent/tool-result-metrics.d.ts.map +1 -1
- package/dist/ai-service/agent/tool-result-metrics.js +28 -0
- package/dist/ai-service/agent/tool-result-metrics.js.map +1 -1
- package/dist/ai-service/agent/tools/apis/analysis.d.ts +24 -2
- package/dist/ai-service/agent/tools/apis/analysis.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/apis/analysis.js +164 -11
- package/dist/ai-service/agent/tools/apis/analysis.js.map +1 -1
- package/dist/ai-service/agent/tools/apis/api-comparator.d.ts +2 -1
- package/dist/ai-service/agent/tools/apis/api-comparator.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/apis/contained-source-reader.d.ts +11 -0
- package/dist/ai-service/agent/tools/apis/contained-source-reader.d.ts.map +1 -0
- package/dist/ai-service/agent/tools/apis/contained-source-reader.js +48 -0
- package/dist/ai-service/agent/tools/apis/contained-source-reader.js.map +1 -0
- package/dist/ai-service/agent/tools/apis/get-sdk-api-docs.d.ts +37 -10
- package/dist/ai-service/agent/tools/apis/get-sdk-api-docs.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/apis/get-sdk-api-docs.js +140 -70
- package/dist/ai-service/agent/tools/apis/get-sdk-api-docs.js.map +1 -1
- package/dist/ai-service/agent/tools/apis/spreadsheet-csv.d.ts +6 -20
- package/dist/ai-service/agent/tools/apis/spreadsheet-csv.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/apis/spreadsheet-csv.js +3 -3
- package/dist/ai-service/agent/tools/apis/spreadsheet-csv.js.map +1 -1
- package/dist/ai-service/agent/tools/apis/test-api-metrics.d.ts +8 -0
- package/dist/ai-service/agent/tools/apis/test-api-metrics.d.ts.map +1 -0
- package/dist/ai-service/agent/tools/apis/test-api-metrics.js +41 -0
- package/dist/ai-service/agent/tools/apis/test-api-metrics.js.map +1 -0
- package/dist/ai-service/agent/tools/apis/test-api-timing.d.ts +27 -0
- package/dist/ai-service/agent/tools/apis/test-api-timing.d.ts.map +1 -0
- package/dist/ai-service/agent/tools/apis/test-api-timing.js +25 -0
- package/dist/ai-service/agent/tools/apis/test-api-timing.js.map +1 -0
- package/dist/ai-service/agent/tools/apis/test-api.d.ts +4 -0
- package/dist/ai-service/agent/tools/apis/test-api.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/apis/test-api.js +119 -20
- package/dist/ai-service/agent/tools/apis/test-api.js.map +1 -1
- package/dist/ai-service/agent/tools/build-capture-screenshot.d.ts +0 -18
- package/dist/ai-service/agent/tools/build-capture-screenshot.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/build-capture-screenshot.js +2 -2
- package/dist/ai-service/agent/tools/build-capture-screenshot.js.map +1 -1
- package/dist/ai-service/agent/tools/build-install-packages.d.ts +32 -5
- package/dist/ai-service/agent/tools/build-install-packages.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/build-install-packages.js +20 -19
- package/dist/ai-service/agent/tools/build-install-packages.js.map +1 -1
- package/dist/ai-service/agent/tools/build-manage-checklist.d.ts +1 -1
- package/dist/ai-service/agent/tools/build-manage-packages.d.ts +19 -0
- package/dist/ai-service/agent/tools/build-manage-packages.d.ts.map +1 -0
- package/dist/ai-service/agent/tools/build-manage-packages.js +220 -0
- package/dist/ai-service/agent/tools/build-manage-packages.js.map +1 -0
- package/dist/ai-service/agent/tools/build-read-file.d.ts +5 -14
- package/dist/ai-service/agent/tools/build-read-file.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/build-read-file.js +5 -8
- package/dist/ai-service/agent/tools/build-read-file.js.map +1 -1
- package/dist/ai-service/agent/tools/databases/dev-database-tasks.d.ts +2 -90
- package/dist/ai-service/agent/tools/databases/dev-database-tasks.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/databases/dev-database-tasks.js +1 -2
- package/dist/ai-service/agent/tools/databases/dev-database-tasks.js.map +1 -1
- package/dist/ai-service/agent/tools/debug-cache.d.ts +0 -12
- package/dist/ai-service/agent/tools/debug-cache.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/debug-cache.js +1 -1
- package/dist/ai-service/agent/tools/debug-cache.js.map +1 -1
- package/dist/ai-service/agent/tools/index.d.ts +3 -3
- package/dist/ai-service/agent/tools/index.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/index.js +2 -2
- package/dist/ai-service/agent/tools/index.js.map +1 -1
- package/dist/ai-service/agent/tools/integrations/errors.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/integrations/errors.js +3 -0
- package/dist/ai-service/agent/tools/integrations/errors.js.map +1 -1
- package/dist/ai-service/agent/tools/integrations/execute-request.d.ts +27 -0
- package/dist/ai-service/agent/tools/integrations/execute-request.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/integrations/execute-request.js +85 -11
- package/dist/ai-service/agent/tools/integrations/execute-request.js.map +1 -1
- package/dist/ai-service/agent/tools/integrations/managed-app-database.d.ts +0 -2
- package/dist/ai-service/agent/tools/integrations/managed-app-database.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/integrations/managed-app-database.js +1 -1
- package/dist/ai-service/agent/tools/integrations/managed-app-database.js.map +1 -1
- package/dist/ai-service/agent/tools/integrations/metadata.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/integrations/metadata.js +1 -0
- package/dist/ai-service/agent/tools/integrations/metadata.js.map +1 -1
- package/dist/ai-service/agent/tools/read-state-trackers.d.ts +16 -2
- package/dist/ai-service/agent/tools/read-state-trackers.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/read-state-trackers.js +11 -2
- package/dist/ai-service/agent/tools/read-state-trackers.js.map +1 -1
- package/dist/ai-service/agent/tools.d.ts.map +1 -1
- package/dist/ai-service/agent/tools.js +13 -6
- package/dist/ai-service/agent/tools.js.map +1 -1
- package/dist/ai-service/agent/tools2/registry.d.ts +20 -1
- package/dist/ai-service/agent/tools2/registry.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/registry.js +55 -9
- package/dist/ai-service/agent/tools2/registry.js.map +1 -1
- package/dist/ai-service/agent/tools2/tools/grep-metadata-ripgrep.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/tools/grep-metadata-ripgrep.js +25 -0
- package/dist/ai-service/agent/tools2/tools/grep-metadata-ripgrep.js.map +1 -1
- package/dist/ai-service/agent/tools2/tools/grep-metadata.d.ts +8 -2
- package/dist/ai-service/agent/tools2/tools/grep-metadata.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/tools/grep-metadata.js +17 -0
- package/dist/ai-service/agent/tools2/tools/grep-metadata.js.map +1 -1
- package/dist/ai-service/agent/tools2/tools/grep.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/tools/grep.js +50 -25
- package/dist/ai-service/agent/tools2/tools/grep.js.map +1 -1
- package/dist/ai-service/agent/utils.d.ts.map +1 -1
- package/dist/ai-service/agent/utils.js +3 -3
- package/dist/ai-service/agent/utils.js.map +1 -1
- package/dist/ai-service/app-interface/file-system-interface.d.ts +0 -6
- package/dist/ai-service/app-interface/file-system-interface.d.ts.map +1 -1
- package/dist/ai-service/app-interface/file-system-interface.js +39 -97
- package/dist/ai-service/app-interface/file-system-interface.js.map +1 -1
- package/dist/ai-service/app-interface/filesystem/handlers/skill-handler.d.ts.map +1 -1
- package/dist/ai-service/app-interface/filesystem/handlers/skill-handler.js +2 -2
- package/dist/ai-service/app-interface/filesystem/handlers/skill-handler.js.map +1 -1
- package/dist/ai-service/app-interface/filesystem/validation.js +1 -1
- package/dist/ai-service/app-interface/filesystem/validation.js.map +1 -1
- package/dist/ai-service/app-interface/npm-package-lookup.d.ts +1 -3
- package/dist/ai-service/app-interface/npm-package-lookup.d.ts.map +1 -1
- package/dist/ai-service/app-interface/npm-package-lookup.js +1 -1
- package/dist/ai-service/app-interface/npm-package-lookup.js.map +1 -1
- package/dist/ai-service/app-interface/pnpm-lockfile.d.ts.map +1 -1
- package/dist/ai-service/app-interface/pnpm-lockfile.js +2 -4
- package/dist/ai-service/app-interface/pnpm-lockfile.js.map +1 -1
- package/dist/ai-service/app-interface/shell.d.ts +38 -15
- package/dist/ai-service/app-interface/shell.d.ts.map +1 -1
- package/dist/ai-service/app-interface/shell.js +646 -48
- package/dist/ai-service/app-interface/shell.js.map +1 -1
- package/dist/ai-service/app-interface/vulnerability-gate.d.ts +7 -0
- package/dist/ai-service/app-interface/vulnerability-gate.d.ts.map +1 -1
- package/dist/ai-service/app-interface/vulnerability-gate.js +16 -6
- package/dist/ai-service/app-interface/vulnerability-gate.js.map +1 -1
- package/dist/ai-service/app-layout.d.ts +3 -0
- package/dist/ai-service/app-layout.d.ts.map +1 -1
- package/dist/ai-service/app-layout.js +14 -0
- package/dist/ai-service/app-layout.js.map +1 -1
- package/dist/ai-service/app-skills/parser.d.ts +2 -1
- package/dist/ai-service/app-skills/parser.d.ts.map +1 -1
- package/dist/ai-service/attachments/store.d.ts +4 -4
- package/dist/ai-service/attachments/store.d.ts.map +1 -1
- package/dist/ai-service/chat/chat-session-store-metrics.d.ts +1 -2
- package/dist/ai-service/chat/chat-session-store-metrics.d.ts.map +1 -1
- package/dist/ai-service/chat/chat-session-store-metrics.js +0 -6
- package/dist/ai-service/chat/chat-session-store-metrics.js.map +1 -1
- package/dist/ai-service/chat/chat-session-store.d.ts +2 -11
- package/dist/ai-service/chat/chat-session-store.d.ts.map +1 -1
- package/dist/ai-service/chat/chat-session-store.js +21 -4
- package/dist/ai-service/chat/chat-session-store.js.map +1 -1
- package/dist/ai-service/chat/utils.d.ts +1 -2
- package/dist/ai-service/chat/utils.d.ts.map +1 -1
- package/dist/ai-service/chat/utils.js +0 -1
- package/dist/ai-service/chat/utils.js.map +1 -1
- package/dist/ai-service/checklist/persisted-checklist-store.d.ts +3 -3
- package/dist/ai-service/checklist/persisted-checklist-store.d.ts.map +1 -1
- package/dist/ai-service/checklist/persisted-checklist-store.js +4 -2
- package/dist/ai-service/checklist/persisted-checklist-store.js.map +1 -1
- package/dist/ai-service/context/app-context.d.ts +7 -39
- package/dist/ai-service/context/app-context.d.ts.map +1 -1
- package/dist/ai-service/context/app-context.js +29 -110
- package/dist/ai-service/context/app-context.js.map +1 -1
- package/dist/ai-service/context-clear-metrics.d.ts +11 -0
- package/dist/ai-service/context-clear-metrics.d.ts.map +1 -0
- package/dist/ai-service/context-clear-metrics.js +64 -0
- package/dist/ai-service/context-clear-metrics.js.map +1 -0
- package/dist/ai-service/context-download.js +2 -2
- package/dist/ai-service/context-download.js.map +1 -1
- package/dist/ai-service/edit-after-clark.d.ts +0 -5
- package/dist/ai-service/edit-after-clark.d.ts.map +1 -1
- package/dist/ai-service/edit-after-clark.js +1 -1
- package/dist/ai-service/edit-after-clark.js.map +1 -1
- package/dist/ai-service/features.d.ts +20 -4
- package/dist/ai-service/features.d.ts.map +1 -1
- package/dist/ai-service/features.js +20 -4
- package/dist/ai-service/features.js.map +1 -1
- package/dist/ai-service/filter-disabled-tools-for-migration.js +1 -1
- package/dist/ai-service/filter-disabled-tools-for-migration.js.map +1 -1
- package/dist/ai-service/index.d.ts +58 -0
- package/dist/ai-service/index.d.ts.map +1 -1
- package/dist/ai-service/index.js +186 -21
- package/dist/ai-service/index.js.map +1 -1
- package/dist/ai-service/integrations/store.d.ts +6 -0
- package/dist/ai-service/integrations/store.d.ts.map +1 -1
- package/dist/ai-service/integrations/store.js +101 -3
- package/dist/ai-service/integrations/store.js.map +1 -1
- package/dist/ai-service/live-edit-events/forwarder.d.ts +1 -12
- package/dist/ai-service/live-edit-events/forwarder.d.ts.map +1 -1
- package/dist/ai-service/live-edit-events/forwarder.js +1 -7
- package/dist/ai-service/live-edit-events/forwarder.js.map +1 -1
- package/dist/ai-service/llm/context-v2/compaction/client-side.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/compaction/client-side.js +15 -5
- package/dist/ai-service/llm/context-v2/compaction/client-side.js.map +1 -1
- package/dist/ai-service/llm/context-v2/compaction/compaction-strategy.d.ts +6 -0
- package/dist/ai-service/llm/context-v2/compaction/compaction-strategy.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/compaction/server-side.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/compaction/server-side.js +5 -1
- package/dist/ai-service/llm/context-v2/compaction/server-side.js.map +1 -1
- package/dist/ai-service/llm/context-v2/compactor.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/compactor.js +34 -12
- package/dist/ai-service/llm/context-v2/compactor.js.map +1 -1
- package/dist/ai-service/llm/context-v2/context-management.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/context-management.js +9 -0
- package/dist/ai-service/llm/context-v2/context-management.js.map +1 -1
- package/dist/ai-service/llm/context-v2/context-metrics.d.ts +4 -0
- package/dist/ai-service/llm/context-v2/context-metrics.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/context-metrics.js +15 -3
- package/dist/ai-service/llm/context-v2/context-metrics.js.map +1 -1
- package/dist/ai-service/llm/context-v2/context.d.ts +36 -6
- package/dist/ai-service/llm/context-v2/context.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/context.js +72 -28
- package/dist/ai-service/llm/context-v2/context.js.map +1 -1
- package/dist/ai-service/llm/context-v2/manager.d.ts +3 -3
- package/dist/ai-service/llm/context-v2/manager.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/manager.js +13 -7
- package/dist/ai-service/llm/context-v2/manager.js.map +1 -1
- package/dist/ai-service/llm/context-v2/migrations/types.d.ts +2 -1
- package/dist/ai-service/llm/context-v2/migrations/types.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/storage/event-types.d.ts +5 -5
- package/dist/ai-service/llm/context-v2/storage/event-types.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/storage/event-types.js +3 -23
- package/dist/ai-service/llm/context-v2/storage/event-types.js.map +1 -1
- package/dist/ai-service/llm/context-v2/types.d.ts +9 -1
- package/dist/ai-service/llm/context-v2/types.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/types.js.map +1 -1
- package/dist/ai-service/llm/context-v2/uniquify-filenames.d.ts +20 -4
- package/dist/ai-service/llm/context-v2/uniquify-filenames.d.ts.map +1 -1
- package/dist/ai-service/llm/context-v2/uniquify-filenames.js +128 -29
- package/dist/ai-service/llm/context-v2/uniquify-filenames.js.map +1 -1
- package/dist/ai-service/llm/error.d.ts +1 -1
- package/dist/ai-service/llm/error.d.ts.map +1 -1
- package/dist/ai-service/llm/error.js +57 -7
- package/dist/ai-service/llm/error.js.map +1 -1
- package/dist/ai-service/llm/stream/config.d.ts +3 -3
- package/dist/ai-service/llm/stream/config.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/errors.d.ts +3 -0
- package/dist/ai-service/llm/stream/errors.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/errors.js +72 -4
- package/dist/ai-service/llm/stream/errors.js.map +1 -1
- package/dist/ai-service/llm/stream/observers/workflow-usage.d.ts +0 -6
- package/dist/ai-service/llm/stream/observers/workflow-usage.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/observers/workflow-usage.js +2 -2
- package/dist/ai-service/llm/stream/observers/workflow-usage.js.map +1 -1
- package/dist/ai-service/llm/stream/orchestrator.d.ts.map +1 -1
- package/dist/ai-service/llm/stream/orchestrator.js +6 -1
- package/dist/ai-service/llm/stream/orchestrator.js.map +1 -1
- package/dist/ai-service/managed-native-db-availability.d.ts +5 -2
- package/dist/ai-service/managed-native-db-availability.d.ts.map +1 -1
- package/dist/ai-service/managed-native-db-availability.js +5 -1
- package/dist/ai-service/managed-native-db-availability.js.map +1 -1
- package/dist/ai-service/mcp/embedded-playwright-mcp-server.js +2 -0
- package/dist/ai-service/mcp/embedded-playwright-mcp-server.js.map +1 -1
- package/dist/ai-service/migration-prompt-gating.d.ts +1 -0
- package/dist/ai-service/migration-prompt-gating.d.ts.map +1 -1
- package/dist/ai-service/migration-prompt-gating.js +3 -0
- package/dist/ai-service/migration-prompt-gating.js.map +1 -1
- package/dist/ai-service/migration-turns-log.d.ts +3 -2
- package/dist/ai-service/migration-turns-log.d.ts.map +1 -1
- package/dist/ai-service/migration-turns-log.js.map +1 -1
- package/dist/ai-service/policy-agent-metrics.d.ts +2 -4
- package/dist/ai-service/policy-agent-metrics.d.ts.map +1 -1
- package/dist/ai-service/policy-agent-metrics.js +3 -3
- package/dist/ai-service/policy-agent-metrics.js.map +1 -1
- package/dist/ai-service/policy-gate-remediation-usage.d.ts.map +1 -1
- package/dist/ai-service/policy-gate-remediation-usage.js +29 -19
- package/dist/ai-service/policy-gate-remediation-usage.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.js +1 -1
- package/dist/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.js.map +1 -1
- package/dist/ai-service/recording/types.d.ts +6 -5
- package/dist/ai-service/recording/types.d.ts.map +1 -1
- package/dist/ai-service/skills/system/_registry.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/_registry.generated.js +10 -0
- package/dist/ai-service/skills/system/_registry.generated.js.map +1 -1
- package/dist/ai-service/skills/system/app-database/skill.generated.d.ts +2 -0
- package/dist/ai-service/skills/system/app-database/skill.generated.d.ts.map +1 -0
- package/dist/ai-service/skills/system/app-database/skill.generated.js +79 -0
- package/dist/ai-service/skills/system/app-database/skill.generated.js.map +1 -0
- package/dist/ai-service/skills/system/resolve.d.ts +1 -1
- package/dist/ai-service/skills/system/resolve.d.ts.map +1 -1
- package/dist/ai-service/skills/system/resolve.js +25 -2
- package/dist/ai-service/skills/system/resolve.js.map +1 -1
- package/dist/ai-service/skills/system/spreadsheet-import/skill.generated.d.ts +1 -1
- package/dist/ai-service/skills/system/spreadsheet-import/skill.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/spreadsheet-import/skill.generated.js +1 -1
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-plain.generated.d.ts +2 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-plain.generated.d.ts.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-plain.generated.js +5 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-plain.generated.js.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-registered.generated.d.ts +2 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-registered.generated.d.ts.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-registered.generated.js +5 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/base-ui-registered.generated.js.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-lucide.generated.d.ts +2 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-lucide.generated.d.ts.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-lucide.generated.js +32 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-lucide.generated.js.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-wrapper.generated.d.ts +2 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-wrapper.generated.d.ts.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-wrapper.generated.js +34 -0
- package/dist/ai-service/skills/system/superblocks-frontend/_variants/icons-wrapper.generated.js.map +1 -0
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.d.ts +1 -1
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.js +99 -68
- package/dist/ai-service/skills/system/superblocks-frontend/skill.generated.js.map +1 -1
- package/dist/ai-service/skills/system/superblocks-migration/skill.generated.d.ts +1 -1
- package/dist/ai-service/skills/system/superblocks-migration/skill.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/superblocks-migration/skill.generated.js +4 -4
- package/dist/ai-service/skills/system/superblocks-sdk-api/skill.generated.d.ts +1 -1
- package/dist/ai-service/skills/system/superblocks-sdk-api/skill.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/superblocks-sdk-api/skill.generated.js +7 -7
- package/dist/ai-service/skills/system/third-party-migration/skill.generated.d.ts +1 -1
- package/dist/ai-service/skills/system/third-party-migration/skill.generated.d.ts.map +1 -1
- package/dist/ai-service/skills/system/third-party-migration/skill.generated.js +1 -1
- package/dist/ai-service/state-machine/clark-fsm.d.ts +2 -3
- package/dist/ai-service/state-machine/clark-fsm.d.ts.map +1 -1
- package/dist/ai-service/state-machine/clark-fsm.js +1 -1
- package/dist/ai-service/state-machine/clark-fsm.js.map +1 -1
- package/dist/ai-service/state-machine/handlers/agent-planning.d.ts.map +1 -1
- package/dist/ai-service/state-machine/handlers/agent-planning.js +1 -4
- package/dist/ai-service/state-machine/handlers/agent-planning.js.map +1 -1
- package/dist/ai-service/state-machine/handlers/llm-generating.d.ts.map +1 -1
- package/dist/ai-service/state-machine/handlers/llm-generating.js +21 -12
- package/dist/ai-service/state-machine/handlers/llm-generating.js.map +1 -1
- package/dist/ai-service/state-machine/helpers/prompt-degradation-cause.d.ts +63 -0
- package/dist/ai-service/state-machine/helpers/prompt-degradation-cause.d.ts.map +1 -0
- package/dist/ai-service/state-machine/helpers/prompt-degradation-cause.js +96 -0
- package/dist/ai-service/state-machine/helpers/prompt-degradation-cause.js.map +1 -0
- package/dist/ai-service/state-machine/helpers/prompt-degradation-metrics.d.ts +12 -3
- package/dist/ai-service/state-machine/helpers/prompt-degradation-metrics.d.ts.map +1 -1
- package/dist/ai-service/state-machine/helpers/prompt-degradation-metrics.js +89 -17
- package/dist/ai-service/state-machine/helpers/prompt-degradation-metrics.js.map +1 -1
- package/dist/ai-service/state-machine/helpers/prompt-org-claims.d.ts +17 -0
- package/dist/ai-service/state-machine/helpers/prompt-org-claims.d.ts.map +1 -0
- package/dist/ai-service/state-machine/helpers/prompt-org-claims.js +50 -0
- package/dist/ai-service/state-machine/helpers/prompt-org-claims.js.map +1 -0
- package/dist/ai-service/state-machine/helpers/prompt-request-metrics.d.ts +6 -0
- package/dist/ai-service/state-machine/helpers/prompt-request-metrics.d.ts.map +1 -1
- package/dist/ai-service/state-machine/helpers/prompt-request-metrics.js +35 -5
- package/dist/ai-service/state-machine/helpers/prompt-request-metrics.js.map +1 -1
- package/dist/ai-service/state-machine/mocks.d.ts.map +1 -1
- package/dist/ai-service/state-machine/mocks.js +1 -4
- package/dist/ai-service/state-machine/mocks.js.map +1 -1
- package/dist/ai-service/tasks/peer-push.d.ts +2 -1
- package/dist/ai-service/tasks/peer-push.d.ts.map +1 -1
- package/dist/ai-service/test-utils/metrics-harness.d.ts +2 -1
- package/dist/ai-service/test-utils/metrics-harness.d.ts.map +1 -1
- package/dist/ai-service/util/llm-config-utils.d.ts +16 -5
- package/dist/ai-service/util/llm-config-utils.d.ts.map +1 -1
- package/dist/ai-service/util/llm-config-utils.js +25 -3
- package/dist/ai-service/util/llm-config-utils.js.map +1 -1
- package/dist/ai-service/util/parse-jwt.d.ts +5 -1
- package/dist/ai-service/util/parse-jwt.d.ts.map +1 -1
- package/dist/ai-service/util/parse-jwt.js +9 -1
- package/dist/ai-service/util/parse-jwt.js.map +1 -1
- package/dist/app-scope-source.d.ts +13 -0
- package/dist/app-scope-source.d.ts.map +1 -0
- package/dist/app-scope-source.js +68 -0
- package/dist/app-scope-source.js.map +1 -0
- package/dist/extract-api-integrations.d.ts +28 -6
- package/dist/extract-api-integrations.d.ts.map +1 -1
- package/dist/extract-api-integrations.js +166 -98
- package/dist/extract-api-integrations.js.map +1 -1
- package/dist/file-sync-vite-plugin.d.ts +1 -5
- package/dist/file-sync-vite-plugin.d.ts.map +1 -1
- package/dist/file-sync-vite-plugin.js +44 -70
- package/dist/file-sync-vite-plugin.js.map +1 -1
- package/dist/file-system-helpers.d.ts +0 -5
- package/dist/file-system-helpers.d.ts.map +1 -1
- package/dist/file-system-helpers.js +1 -1
- package/dist/file-system-helpers.js.map +1 -1
- package/dist/file-system-manager.d.ts +2 -9
- package/dist/file-system-manager.d.ts.map +1 -1
- package/dist/file-system-manager.js +50 -118
- package/dist/file-system-manager.js.map +1 -1
- package/dist/git-service/index.d.ts.map +1 -1
- package/dist/git-service/index.js +8 -0
- package/dist/git-service/index.js.map +1 -1
- package/dist/lock-service/index.d.ts +24 -0
- package/dist/lock-service/index.d.ts.map +1 -1
- package/dist/lock-service/index.js +74 -2
- package/dist/lock-service/index.js.map +1 -1
- package/dist/migration/integration-write-policy.d.ts +2 -1
- package/dist/migration/integration-write-policy.d.ts.map +1 -1
- package/dist/migration/integration-write-policy.js.map +1 -1
- package/dist/migration/restructure.d.ts +1 -1
- package/dist/migration/restructure.d.ts.map +1 -1
- package/dist/migration/restructure.js +1 -1
- package/dist/migration/restructure.js.map +1 -1
- package/dist/migration/translation-prompt.js +1 -1
- package/dist/migration-templates/app-fullstack/client/components/ui/accordion.tsx +0 -69
- package/dist/migration-templates/app-fullstack/client/components/ui/aspect-ratio.tsx +0 -31
- package/dist/migration-templates/app-fullstack/client/components/ui/avatar.tsx +0 -52
- package/dist/migration-templates/app-fullstack/client/components/ui/badge.tsx +5 -79
- package/dist/migration-templates/app-fullstack/client/components/ui/breadcrumb.tsx +14 -161
- package/dist/migration-templates/app-fullstack/client/components/ui/button.tsx +1 -53
- package/dist/migration-templates/app-fullstack/client/components/ui/calendar.tsx +4 -56
- package/dist/migration-templates/app-fullstack/client/components/ui/card.tsx +0 -34
- package/dist/migration-templates/app-fullstack/client/components/ui/chart.tsx +3 -51
- package/dist/migration-templates/app-fullstack/client/components/ui/checkbox.tsx +0 -42
- package/dist/migration-templates/app-fullstack/client/components/ui/dialog.tsx +0 -55
- package/dist/migration-templates/app-fullstack/client/components/ui/dropdown-menu.tsx +0 -29
- package/dist/migration-templates/app-fullstack/client/components/ui/hover-card.tsx +0 -64
- package/dist/migration-templates/app-fullstack/client/components/ui/input.tsx +0 -57
- package/dist/migration-templates/app-fullstack/client/components/ui/label.tsx +0 -30
- package/dist/migration-templates/app-fullstack/client/components/ui/navigation-menu.tsx +16 -172
- package/dist/migration-templates/app-fullstack/client/components/ui/pagination.tsx +0 -44
- package/dist/migration-templates/app-fullstack/client/components/ui/popover.tsx +0 -64
- package/dist/migration-templates/app-fullstack/client/components/ui/progress.tsx +0 -31
- package/dist/migration-templates/app-fullstack/client/components/ui/scroll-area.tsx +0 -30
- package/dist/migration-templates/app-fullstack/client/components/ui/select.tsx +0 -41
- package/dist/migration-templates/app-fullstack/client/components/ui/separator.tsx +0 -29
- package/dist/migration-templates/app-fullstack/client/components/ui/sheet.tsx +0 -64
- package/dist/migration-templates/app-fullstack/client/components/ui/sidebar.tsx +30 -265
- package/dist/migration-templates/app-fullstack/client/components/ui/slider.tsx +0 -45
- package/dist/migration-templates/app-fullstack/client/components/ui/switch.tsx +0 -41
- package/dist/migration-templates/app-fullstack/client/components/ui/table.tsx +0 -32
- package/dist/migration-templates/app-fullstack/client/components/ui/tabs.tsx +0 -23
- package/dist/migration-templates/app-fullstack/client/components/ui/textarea.tsx +0 -48
- package/dist/migration-templates/app-fullstack/client/components/ui/toggle-group.tsx +0 -81
- package/dist/migration-templates/app-fullstack/client/components/ui/toggle.tsx +0 -46
- package/dist/migration-templates/app-fullstack/client/components/ui/tooltip.tsx +0 -63
- package/dist/migration-templates/app-fullstack/eslint.config.js +7 -0
- package/dist/migration-templates/app-fullstack/package.json +0 -3
- package/dist/parsing/types.d.ts +3 -2
- package/dist/parsing/types.d.ts.map +1 -1
- package/dist/policy-gate-runner.d.ts +1 -1
- package/dist/policy-gate-runner.d.ts.map +1 -1
- package/dist/policy-gate-runner.js.map +1 -1
- package/dist/reconnect-guard-plugin.d.ts +0 -1
- package/dist/reconnect-guard-plugin.d.ts.map +1 -1
- package/dist/reconnect-guard-plugin.js +1 -1
- package/dist/reconnect-guard-plugin.js.map +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.d.ts.map +1 -1
- package/dist/resolver.js +2 -2
- package/dist/resolver.js.map +1 -1
- package/dist/socket-manager.d.ts.map +1 -1
- package/dist/socket-manager.js +12 -2
- package/dist/socket-manager.js.map +1 -1
- package/dist/source-tracker.d.ts +5 -15
- package/dist/source-tracker.d.ts.map +1 -1
- package/dist/source-tracker.js +28 -66
- package/dist/source-tracker.js.map +1 -1
- package/dist/sync-service/checkpoint-result.d.ts +6 -5
- package/dist/sync-service/checkpoint-result.d.ts.map +1 -1
- package/dist/sync-service/checkpoint-result.js +9 -8
- package/dist/sync-service/checkpoint-result.js.map +1 -1
- package/dist/sync-service/index.d.ts +1 -0
- package/dist/sync-service/index.d.ts.map +1 -1
- package/dist/sync-service/index.js +8 -1
- package/dist/sync-service/index.js.map +1 -1
- package/dist/sync-service/snapshot/types.d.ts +3 -2
- package/dist/sync-service/snapshot/types.d.ts.map +1 -1
- package/dist/util/generation-wait-timeout-error.d.ts +12 -0
- package/dist/util/generation-wait-timeout-error.d.ts.map +1 -0
- package/dist/util/generation-wait-timeout-error.js +16 -0
- package/dist/util/generation-wait-timeout-error.js.map +1 -0
- package/package.json +9 -13
- package/dist/ai-service/agent/tools/apis/sdk-root-documentation.d.ts +0 -20
- package/dist/ai-service/agent/tools/apis/sdk-root-documentation.d.ts.map +0 -1
- package/dist/ai-service/agent/tools/apis/sdk-root-documentation.js +0 -284
- package/dist/ai-service/agent/tools/apis/sdk-root-documentation.js.map +0 -1
- package/dist/migration-templates/app-fullstack/client/components/hooks/use-active-page.ts +0 -73
- package/dist/migration-templates/app-fullstack/client/components/ui/area-chart.tsx +0 -312
- package/dist/migration-templates/app-fullstack/client/components/ui/bar-chart.tsx +0 -264
- package/dist/migration-templates/app-fullstack/client/components/ui/code-block-content.tsx +0 -66
- package/dist/migration-templates/app-fullstack/client/components/ui/date-range-picker.tsx +0 -255
- package/dist/migration-templates/app-fullstack/client/components/ui/file-dropzone.tsx +0 -312
- package/dist/migration-templates/app-fullstack/client/components/ui/file-input.tsx +0 -105
- package/dist/migration-templates/app-fullstack/client/components/ui/icon.tsx +0 -120
- package/dist/migration-templates/app-fullstack/client/components/ui/image.tsx +0 -56
- package/dist/migration-templates/app-fullstack/client/components/ui/line-chart.tsx +0 -264
- package/dist/migration-templates/app-fullstack/client/components/ui/link.tsx +0 -119
- package/dist/migration-templates/app-fullstack/client/components/ui/pie-chart.tsx +0 -181
- package/dist/migration-templates/app-fullstack/client/components/ui/radar-chart.tsx +0 -252
- package/dist/migration-templates/app-fullstack/client/components/ui/radial-chart.tsx +0 -250
- package/dist/refactor/entities.d.ts +0 -6
- package/dist/refactor/entities.d.ts.map +0 -1
- package/dist/refactor/entities.js +0 -65
- package/dist/refactor/entities.js.map +0 -1
- package/dist/refactor/javascript.d.ts +0 -15
- package/dist/refactor/javascript.d.ts.map +0 -1
- package/dist/refactor/javascript.js +0 -283
- package/dist/refactor/javascript.js.map +0 -1
- package/dist/rename-manager.d.ts +0 -28
- package/dist/rename-manager.d.ts.map +0 -1
- package/dist/rename-manager.js +0 -161
- package/dist/rename-manager.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-prompts.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/api-prompts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CA4O5C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,CAAC,EAAE;IAC3C,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"api-prompts.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/api-prompts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CA4O5C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,CAAC,EAAE;IAC3C,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC,GAAG,MAAM,CAsfT;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,OAAO,GAAG,MAAM,CAiChE"}
|
|
@@ -290,10 +290,8 @@ The API SDK is available via the installed \`@superblocksteam/sdk-api\` package.
|
|
|
290
290
|
|
|
291
291
|
Before writing ANY API, you MUST:
|
|
292
292
|
1. **Call \`getSdkApiDocs\` first**
|
|
293
|
-
- Pass integration IDs whenever available so docs are tailored to the app's actual integrations
|
|
294
|
-
- \`getSdkApiDocs\` returns
|
|
295
|
-
- For shared SDK guidance, call \`getSdkApiDocs()\` to discover the installed README's section IDs, then request only the relevant \`section\`
|
|
296
|
-
- If a root section response includes \`root.continuation\`, pass that exact token as \`continuation\` to retrieve the next chunk
|
|
293
|
+
- Pass integration IDs whenever available, or plugin IDs when the integration does not exist yet, so docs are tailored to the app's actual integrations
|
|
294
|
+
- The first \`getSdkApiDocs\` call in a session returns the complete shared SDK README; a scoped call (\`getSdkApiDocs({ integrationIds })\` or \`{ pluginIds }\`) adds the plugin docs for the app's plugin versions. Read the README before writing or modifying any \`server/apis/**\` file. Later calls return plugin docs only
|
|
297
295
|
- This is REQUIRED before creating or modifying any SDK API
|
|
298
296
|
|
|
299
297
|
2. **Use \`getSdkApiDocs\` output as the source of truth for integration methods and SDK API patterns**
|
|
@@ -544,7 +542,7 @@ async function syncUserData(userId: string) {
|
|
|
544
542
|
- \`isError\` / \`isSuccess\` — boolean status helpers
|
|
545
543
|
- \`refetch()\` — manually trigger a fresh fetch
|
|
546
544
|
- \`cancel()\` — abort the current in-flight fetch
|
|
547
|
-
- Options: \`enabled\`, \`staleTime\`, \`
|
|
545
|
+
- Options: \`enabled\`, \`staleTime\`, \`retry\`, \`refetchOnWindowFocus\`, \`refetchOnReconnect\`, \`refetchInterval\`, \`placeholderData\`
|
|
548
546
|
|
|
549
547
|
**\`useApi\` returns \`{ run, cancel, loading, data, error, status, variables, reset }\`:**
|
|
550
548
|
- \`run(inputs)\` — execute the API imperatively
|
|
@@ -567,7 +565,7 @@ async function syncUserData(userId: string) {
|
|
|
567
565
|
|
|
568
566
|
### Critical Rules
|
|
569
567
|
|
|
570
|
-
1. **Import from the app wrappers**: \`useApi\` from \`@/hooks/useApi.js\`, \`useApiData\` from \`@/hooks/useApiData.js\`, \`executeApi\` from \`@/lib/executeApi.js\` — not from \`@superblocksteam/library\` (those wrappers wire \`
|
|
568
|
+
1. **Import from the app wrappers**: \`useApi\` from \`@/hooks/useApi.js\`, \`useApiData\` from \`@/hooks/useApiData.js\`, \`executeApi\` from \`@/lib/executeApi.js\` — not from \`@superblocksteam/library\` (those wrappers wire \`useTypedApi\` / \`useTypedApiData\` / \`createTypedExecuteApi\` to your registry).
|
|
571
569
|
2. **MUST use the exact property name from \`server/apis/index.ts\`** as the first hook argument.
|
|
572
570
|
3. **Use \`useApiData\` for data loading, \`useApi\` for mutations, \`executeApi\` outside React**: Do NOT create separate useState for loading, response data, or error state
|
|
573
571
|
4. **Do NOT create wrapper hooks**: Use the hooks directly in components — no \`useGetUsers\` pattern needed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-prompts.js","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/api-prompts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA0OD,CAAC;AACT,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAElC;IACC,MAAM,kBAAkB,GAAG,OAAO,EAAE,yBAAyB;QAC3D,CAAC,CAAC;;;;wBAIkB;QACpB,CAAC,CAAC;;;;;;;;;;;wBAWkB,CAAC;IAEvB,OAAO
|
|
1
|
+
{"version":3,"file":"api-prompts.js","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/api-prompts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA0OD,CAAC;AACT,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAElC;IACC,MAAM,kBAAkB,GAAG,OAAO,EAAE,yBAAyB;QAC3D,CAAC,CAAC;;;;wBAIkB;QACpB,CAAC,CAAC;;;;;;;;;;;wBAWkB,CAAC;IAEvB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFP,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwYZ,CAAC;AACT,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAAC,UAAmB;IACtD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA2B4B,CAAC;IACtC,CAAC;IAED,OAAO,oRAAoR,CAAC;AAC9R,CAAC"}
|
|
@@ -35,11 +35,12 @@ export interface RegistryPolicy {
|
|
|
35
35
|
* Consumption of this variant is gated by the
|
|
36
36
|
* clark.plan-generation-system-prompt.enabled rollout flag.
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
type SystemPromptVariant = "agent" | "plan-generation";
|
|
39
39
|
export interface SystemPromptOptions {
|
|
40
40
|
effectivePermissions?: ReadonlySet<EffectivePermissionKey>;
|
|
41
41
|
gitConnected?: boolean;
|
|
42
42
|
variant?: SystemPromptVariant;
|
|
43
|
+
appKnowledgeEnabled?: boolean;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
46
|
* Native Git being enabled does not mean a repository is connected.
|
|
@@ -47,15 +48,5 @@ export interface SystemPromptOptions {
|
|
|
47
48
|
*/
|
|
48
49
|
export declare function gitConnectedFromRuntime(gitService: unknown): boolean;
|
|
49
50
|
export declare const buildBaseSystemPrompt: (config: AiServiceConfig, mode?: AiMode, factsSection?: string, appKnowledgeSection?: string, onDemandKnowledgeIndex?: string, registryPolicy?: RegistryPolicy, v2ToV3MigrationInProgress?: boolean, coreModel?: CoreModelName, includeAppBuilderModelGuidance?: boolean, options?: SystemPromptOptions) => string;
|
|
50
|
-
|
|
51
|
-
* Resolves app-editor model guidance from LaunchDarkly (`ai.prompt.app-builder.model-guidance`).
|
|
52
|
-
* Only injected when `buildBaseSystemPrompt` is called with `includeAppBuilderModelGuidance`.
|
|
53
|
-
* App-editor Clark (llm-generating) opts in; dashboard chat and security scans use separate
|
|
54
|
-
* prompt builders and never read this flag. Keyed by configured core model — not per-attempt
|
|
55
|
-
* fallback model. RetryEngine may swap models mid-turn, but `ctx.setSystemPrompt` does not
|
|
56
|
-
* re-resolve. The flag is org-targeted and not client-side-enabled in LD, but the
|
|
57
|
-
* value still transits the browser via `/users/me` bootstrap — do not treat it as
|
|
58
|
-
* a confidential channel.
|
|
59
|
-
*/
|
|
60
|
-
export declare function buildAppBuilderModelGuidanceBlock(guidanceByModel: Record<string, string> | undefined, coreModel?: CoreModelName): string;
|
|
51
|
+
export {};
|
|
61
52
|
//# sourceMappingURL=build-base-system-prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-base-system-prompt.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/build-base-system-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,aAAa,EACd,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"build-base-system-prompt.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/build-base-system-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,aAAa,EACd,MAAM,uCAAuC,CAAC;AAY/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,wCAAwC,CAAC;AAShD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,cAAc;IAC7B,wBAAwB,EAAE,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,YAAY,GAAG,gBAAgB,GAAG,aAAa,CAAC;CAC1D;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,mBAAmB,GAAG,OAAO,GAAG,iBAAiB,CAAC;AAEvD,MAAM,WAAW,mBAAmB;IAClC,oBAAoB,CAAC,EAAE,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAEpE;AAED,eAAO,MAAM,qBAAqB,GAChC,QAAQ,eAAe,EACvB,OAAO,MAAM,EACb,eAAe,MAAM,EACrB,sBAAsB,MAAM,EAC5B,yBAAyB,MAAM,EAC/B,iBAAiB,cAAc,EAC/B,mCAAiC,EACjC,YAAY,aAAa,EACzB,wCAAsC,EACtC,UAAU,mBAAmB,WAimB9B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PROTECTED_CORE_PACKAGES } from "@superblocksteam/library-shared/types";
|
|
2
2
|
import { SUPERBLOCKS_LIVE_GIT_BRANCH } from "@superblocksteam/shared";
|
|
3
3
|
import { getErrorMeta, getPrefixedLogger } from "../../../util/logger.js";
|
|
4
|
-
import { uiRootFor } from "../../app-layout.js";
|
|
5
|
-
import { isManagedNativeDbAvailableForClark } from "../../managed-native-db-availability.js";
|
|
4
|
+
import { appHasIconWrapper, uiRootFor } from "../../app-layout.js";
|
|
5
|
+
import { isManagedNativeDbAvailableForClark, isManagedNativeDbProductionImportAvailable, } from "../../managed-native-db-availability.js";
|
|
6
6
|
import { buildSystemSkillExclusions } from "../../migration-prompt-gating.js";
|
|
7
7
|
import { generateSkillsXml } from "../../skills/index.js";
|
|
8
8
|
import { EffectivePermission, } from "../tools/rbac/effective-permissions.js";
|
|
@@ -17,6 +17,11 @@ export function gitConnectedFromRuntime(gitService) {
|
|
|
17
17
|
}
|
|
18
18
|
export const buildBaseSystemPrompt = (config, mode, factsSection, appKnowledgeSection, onDemandKnowledgeIndex, registryPolicy, v2ToV3MigrationInProgress = false, coreModel, includeAppBuilderModelGuidance = false, options) => {
|
|
19
19
|
const planGenerationVariant = options?.variant === "plan-generation";
|
|
20
|
+
const appKnowledgeInstruction = !planGenerationVariant &&
|
|
21
|
+
options?.appKnowledgeEnabled === true &&
|
|
22
|
+
appKnowledgeSection?.trim()
|
|
23
|
+
? `**App-specific knowledge files** are stored at \`skills/app/*.md\`. These files contain rules and preferences the user has explicitly saved for this application. **Read any entry relevant to the current task**. They appear in file listings and contain authoritative requirements you must follow.`
|
|
24
|
+
: "";
|
|
20
25
|
// Three distinct states, not two. With native Git disabled there is no
|
|
21
26
|
// connection signal to read, so the prompt must not assert one either way;
|
|
22
27
|
// it may still say that publishing does not depend on Git, which holds for
|
|
@@ -36,6 +41,8 @@ export const buildBaseSystemPrompt = (config, mode, factsSection, appKnowledgeSe
|
|
|
36
41
|
(options.effectivePermissions.has(EffectivePermission.APPLICATIONS_UPDATE) &&
|
|
37
42
|
options.effectivePermissions.has(EffectivePermission.APP_DATABASES_USE));
|
|
38
43
|
const managedNativeDbAvailable = managedNativeDbProductAvailable && canManageAppDatabaseLifecycle;
|
|
44
|
+
const managedNativeDbImportAvailable = managedNativeDbAvailable &&
|
|
45
|
+
isManagedNativeDbProductionImportAvailable(config);
|
|
39
46
|
const superblocksDocsGuidance = config.features.superblocksDocsMcpEnabled
|
|
40
47
|
? "For Superblocks product documentation, use the `search_superblocks_docs` tool first for setup, integration, and platform behavior questions. If the docs MCP result is missing or incomplete, then use `web_fetch` against `https://docs.superblocks.com` and, if needed, discover pages via `https://docs.superblocks.com/sitemap.xml`.\nWhen referring to Superblocks pages in your response, always include relative links: [Integrations](/integrations) for the integrations page, or [Integration Name](/integrations/{slug}) for a specific integration (e.g., [Salesforce](/integrations/salesforce), [PostgreSQL](/integrations/postgres))."
|
|
41
48
|
: "For Superblocks product documentation, prefer `https://docs.superblocks.com` as the primary source. If you need to discover the right page first, use the sitemap at `https://docs.superblocks.com/sitemap.xml`, then fetch the specific docs page you need.";
|
|
@@ -44,6 +51,14 @@ export const buildBaseSystemPrompt = (config, mode, factsSection, appKnowledgeSe
|
|
|
44
51
|
: managedNativeDbProductAvailable
|
|
45
52
|
? "\n\n**App Database availability:** The current user does not have permission to provision or migrate an App Database in this application. Do not propose or attempt either action. An administrator can grant the required application edit and App Database use permissions. You may still use existing database integrations or help the user configure a supported integration."
|
|
46
53
|
: "\n\n**App Database availability:** App Databases (called Superblocks Database in the product documentation) are not available for this organization. Documentation describing this feature does not override this restriction. Do not propose or attempt to provision an App Database. You may still use existing database integrations or help the user configure a supported integration.";
|
|
54
|
+
const managedNativeDbImportGuidance = !managedNativeDbAvailable
|
|
55
|
+
? ""
|
|
56
|
+
: managedNativeDbImportAvailable
|
|
57
|
+
? "\n\n**App Database production import availability:** Production imports are available in the App Database integration's **Data** tab. The user can select the data tag used by production and import a CSV or PostgreSQL custom-format dump. Clark cannot run this import. Publishing does not copy development rows to production."
|
|
58
|
+
: '\n\n**App Database production import availability:** Production imports are not currently available for this organization. Do not direct the user to the App Database **Data** tab or a PostgreSQL dump workflow. For large data needed in production, immediately before the first row-writing tool call, send the user this complete disclosure verbatim: "Production import is not available today. CSV import will be available when the production import surface is enabled. Publishing will not copy development rows to production." A statement that you intend or need to give this disclosure does not satisfy the requirement. You may still load the rows into development after sending it.';
|
|
59
|
+
const attachmentRowDestinations = managedNativeDbImportAvailable
|
|
60
|
+
? "development only, development and production, or development now with production through import"
|
|
61
|
+
: "development only, or development and production";
|
|
47
62
|
const publishingGuidance = gitConnected
|
|
48
63
|
? ""
|
|
49
64
|
: `\n\n**Version control and publishing:** ${gitConnectionState === "disconnected"
|
|
@@ -121,7 +136,7 @@ ${managedNativeDbAvailable
|
|
|
121
136
|
You can provision and manage lifecycle-controlled dev databases for the application in Build mode (or in Plan mode with an approved plan). Side-effecting kickoff tools are off-limits in unapproved Plan mode, so when you are in Plan mode and the user needs a database, propose a plan that includes these steps.
|
|
122
137
|
You cannot delete App Database bindings. Explain that deletion is not supported here and direct the user to the Superblocks admin console or support; use the database lifecycle tools only to provision, migrate, or check a binding's status.
|
|
123
138
|
- \`provisionDatabase\` — Create the application's dev App Database binding, or reuse it when the same logical database was already provisioned (cloud Postgres; Amazon Aurora or Amazon RDS depending on the Superblocks environment — do NOT assume either product). Only one App Database per application is supported. If the user asks for another database, explain this limit; do not substitute tables, schema, or migrations in the existing database unless the user explicitly asks to modify that existing database. Returns a taskId IMMEDIATELY while provisioning runs in the background.
|
|
124
|
-
- \`startApplyDevDatabaseMigrations\` — Run the binding's SQL migrations. Required after \`provisionDatabase\` if any application tables need to exist; provisioning only creates an empty App Database. If a migration it will run deletes anything (DROP TABLE/DATABASE/SCHEMA, TRUNCATE, DROP COLUMN), fill \`destructiveChangeSummary\` / \`destructiveChangeDetails\` / \`destructiveChangeReason\` on the call: the user gets one confirmation card with your words on it and the call resumes by itself if they approve.
|
|
139
|
+
- \`startApplyDevDatabaseMigrations\` — Run the binding's SQL migrations. Required after \`provisionDatabase\` if any application tables need to exist; provisioning only creates an empty App Database. If a migration it will run deletes anything (DROP TABLE/DATABASE/SCHEMA, TRUNCATE, DROP COLUMN), fill \`destructiveChangeSummary\` / \`destructiveChangeDetails\` / \`destructiveChangeReason\` on the call: the user gets one confirmation card with your words on it and the call resumes by itself if they approve. After a migration renames, moves, or drops a table or column, find every API and query that reads or writes it (search \`server/apis/\` and the client for the old names) and update them in the same turn: the schema change is not done until they match.
|
|
125
140
|
- \`checkTask\` (read-only, instant) and \`waitForTask\` (read-only, blocking) — Observe progress. PREFER \`checkTask\` and keep working on unrelated steps while a task runs; only fall back to \`waitForTask\` when \`checkTask\` still reports \`state='running'\` AND you literally have no other useful work to do.
|
|
126
141
|
- After \`checkTask\` or \`waitForTask\` reports the provisioning task completed, use only the \`integrationId\` from that task result for tool inputs and generated source (for example \`postgres(...)\`) for this managed database.
|
|
127
142
|
- \`integrationId\` and other internal UUIDs from these task results are never for user-facing chat. MUST NEVER paste bare UUIDs or phrases like "Integration ID is …". When referring to the provisioned database in chat, paste the \`entityTag\` from the task result (for example \`@OrdersDB[id=…]\`) so the UI shows a name sticker like a user @ mention; also report human status fields such as \`lifecycleState\` / \`migrationState\`, success/failure, and the next step.
|
|
@@ -133,11 +148,15 @@ You cannot delete App Database bindings. Explain that deletion is not supported
|
|
|
133
148
|
- Put seed/INSERT rows in a migration \`.sql\` file only when the database will **always** need that data, including in deployed apps.
|
|
134
149
|
- If the user asked for data for testing or demos in edit mode, do **not** generate a \`.sql\` seed migration — insert those rows at runtime with \`executeRequestToIntegration\` against the provisioned integration instead of baking them into migrations that also run in deploy. Without that request, leave the tables empty.
|
|
135
150
|
|
|
151
|
+
**UI that writes App Database rows:**
|
|
152
|
+
- When a control inserts, updates, or deletes rows the page is showing (a checkbox, an inline edit, a delete button), update the displayed rows before the API call resolves, then refetch. If the call fails, put the previous rows back and show \`toast.error\`.${useSkills ? ' The pattern is under "Optimistic updates" in `skills/system/superblocks-frontend/SKILL.md`.' : ""}
|
|
153
|
+
|
|
136
154
|
${config.features.clarkAttachmentDownloadEnabled
|
|
137
155
|
? `**Importing CSV and Excel data from chat attachments:**
|
|
138
156
|
- Inspect the file and validate its columns and values before writing any rows. Infer the App Database schema from the file, provision the database if needed, and apply schema-only migrations before loading data.
|
|
139
157
|
- Excel \`.xlsx\` attachments are converted to one CSV per non-empty sheet before they reach \`testApi\` or \`downloadAttachments\`. Generated SDK code must still parse CSV only; do not parse spreadsheet binary formats in sandbox code.
|
|
140
158
|
- Create a self-contained temporary SDK API under \`server/apis/\` and register it. The API must accept a FilePicker-compatible input, read each CSV with \`readContentsAsync("text")\`, then parse, validate, and reshape it before inserting rows in dependency order. When a workbook produced multiple CSVs, load each sheet into the matching table.
|
|
159
|
+
- Before the first \`testApi\` call that writes an attachment's rows, ask once where the rows belong: ${attachmentRowDestinations}. Name the development database the rows will land in by its \`entityTag\`. Skip the question when the user already said, and do not ask again for later chunks of the same attachment.
|
|
141
160
|
- Call \`testApi\` with \`attachmentInputs\` mapping the API input name to the attachment's \`storageKey\`. The tool sends the converted CSV files through the orchestrator's file-input path.
|
|
142
161
|
- A single API run has an execution time limit, so a large file will time out if it is loaded in one pass. Insert rows in batches of a few hundred per statement instead of one statement per row.
|
|
143
162
|
- When batching alone is not enough, give the API row-range inputs such as \`offset\` and \`limit\`, then call \`testApi\` once per chunk until every row is loaded. Make each chunk safe to re-run (for example \`ON CONFLICT DO NOTHING\` on a unique key) so a repeated chunk cannot duplicate rows.
|
|
@@ -146,9 +165,13 @@ ${config.features.clarkAttachmentDownloadEnabled
|
|
|
146
165
|
- Use the current editor profile only, and do not claim that other profiles were loaded.
|
|
147
166
|
- If the load fails, keep the temporary API so you can fix and retry it. Do not report the import as complete.
|
|
148
167
|
- After a successful load, delete both the temporary API source and its registry entry, then verify that both are absent before reporting completion.
|
|
149
|
-
|
|
168
|
+
${useSkills
|
|
169
|
+
? `- Before writing any imported rows, \`build_readFile\` \`skills/system/app-database/SKILL.md\`, complete its destination decision, and give any required user-facing production explanation. Do not defer these steps until after the write.`
|
|
170
|
+
: `- Never put imported rows in migration files or initialize Production. Imported rows are edit App Database data only.`}
|
|
150
171
|
- For any other file type, explain that direct import into an App Database is not supported. Do not attempt an ad hoc import or claim that its data was loaded.
|
|
151
|
-
|
|
172
|
+
${managedNativeDbImportAvailable
|
|
173
|
+
? `- When creating an App Database from an uploaded Postgres dump (\`.dump\`), keep the dump's table and column names unchanged by default so a later data import can target the same schema. Rename tables or columns only when the user explicitly asks.`
|
|
174
|
+
: ""}
|
|
152
175
|
|
|
153
176
|
**Creating an app from an Excel workbook:**
|
|
154
177
|
${useSkills
|
|
@@ -158,23 +181,29 @@ ${useSkills
|
|
|
158
181
|
- A column with \`computed\` is derived behavior, not a stored column, and \`coverage\` says how many cells follow that rule. A column with only an \`example\` computes something different per row, so read it as report logic.
|
|
159
182
|
- The CSVs are already trimmed to the table: the \`banner\`, the rows above \`headerRowNumber\`, and \`footerAggregates\` are described in the digest and excluded from the rows.`}
|
|
160
183
|
- Attaching a workbook is not by itself a request to load its rows. If the request was to inspect the file, design a schema, or build screens, do that and ask before importing; if the request was to build an app from the workbook, the data is part of it.
|
|
184
|
+
- Building an app from a workbook says to load its rows, but does not by itself say those rows belong in production.
|
|
161
185
|
`
|
|
162
186
|
: `**Importing data from chat attachments:**
|
|
163
187
|
- Directly importing data from a file attachment in chat into an App Database is not currently supported. Do not convert the attachment's contents into seed/INSERT migration rows or directly insert them at runtime from chat as a workaround.
|
|
164
188
|
- Do not treat tool or file-editing limits as limits on the amount of data an App Database or file import can support.
|
|
165
189
|
- \`testApi\` does not support file inputs, so do not claim you tested an upload through it.
|
|
166
190
|
- Recommend building an in-app file import flow instead, and let the application's requirements determine its design.
|
|
167
|
-
|
|
191
|
+
${managedNativeDbImportAvailable
|
|
192
|
+
? `- When creating an App Database from an uploaded Postgres dump (\`.dump\`), keep the dump's table and column names unchanged by default so a later data import can target the same schema. Rename tables or columns only when the user explicitly asks.`
|
|
193
|
+
: ""}
|
|
168
194
|
`}
|
|
169
195
|
|
|
170
196
|
`
|
|
171
197
|
: ""}**One-off data edits:**
|
|
172
198
|
- Only write rows the user asked for. Do not invent sample, demo, or placeholder data to fill a table you just created, and do not load a file's contents because it happens to be attached: building a schema or a screen is not a request to populate it. Finish the structure, say what you would load, and ask.
|
|
173
199
|
- \`enableTesting: false\` on the plan context turns off the test subagent, nothing else. It does not disable \`testApi\` and it is never a reason to load data by hand. If the import path you need is genuinely unavailable, say which one and why, and ask the user how to proceed instead of inserting rows one statement at a time.
|
|
174
|
-
- When the user asks for a one-time data change, such as inserting, updating, or deleting specific rows, adding sample data to a table, or fixing a bad record, run the SQL directly with \`executeRequestToIntegration\`. Do NOT build an app API, page, or UI flow just to run a one-time change${managedNativeDbAvailable ? ", and do NOT bake it into a migration `.sql` file" : ""}
|
|
200
|
+
- When the user asks for a one-time data change, such as inserting, updating, or deleting specific rows, adding sample data to a table, or fixing a bad record, run the SQL directly with \`executeRequestToIntegration\`. Do NOT build an app API, page, or UI flow just to run a one-time change${managedNativeDbAvailable && !useSkills ? ", and do NOT bake it into a migration `.sql` file" : ""}.${managedNativeDbAvailable && useSkills
|
|
201
|
+
? `
|
|
202
|
+
- For App Database rows, follow \`skills/system/app-database/SKILL.md\` to choose a development-only runtime write or a small production seed. Its production seed path is not a one-time edit.`
|
|
203
|
+
: ""}
|
|
175
204
|
- Only build the change into the application (an API plus UI) when the app itself needs to perform it repeatedly, or the user asks for a reusable flow.
|
|
176
205
|
- SQL data writes and DDL statements require Build mode. They stay blocked in Plan mode even after a plan is approved, so when an approved plan includes either operation, ask the user to switch to Build mode to run it.
|
|
177
|
-
- The user approves each write before it runs${managedNativeDbAvailable ? ". The exception is an App Database provisioned for this application: it holds development data that the deployed app does not read, so writes there run immediately without approval. A write to any other integration" : ". A write"} changes real data in the target system, so the request description must state exactly what will change.
|
|
206
|
+
- The user approves each write before it runs${managedNativeDbAvailable ? ". The exception is an App Database provisioned for this application: it holds development data that the deployed app does not read, so writes there run immediately without approval. The one pause is asking where an attached file's rows belong before their first write. A write to any other integration" : ". A write"} changes real data in the target system, so the request description must state exactly what will change.
|
|
178
207
|
- Row-level SQL writes (INSERT, UPDATE, DELETE) are supported only on integrations backed by PostgreSQL${managedNativeDbAvailable ? ", which includes App Databases" : ""}; on other SQL databases the tool stays read-only.
|
|
179
208
|
- DDL statements require Build mode and user approval, and are supported only on integrations backed by PostgreSQL. Session, privilege, maintenance, and bulk I/O statements remain blocked.${managedNativeDbAvailable ? " Direct DDL against an App Database is blocked; apply App Database schema changes with `startApplyDevDatabaseMigrations` so migrations track the schema for every environment." : ""}${managedNativeDbAvailable
|
|
180
209
|
? `
|
|
@@ -244,13 +273,13 @@ Only start the Git setup flow when the user explicitly asks to connect or use Gi
|
|
|
244
273
|
const currentDate = new Date().toISOString().split("T")[0];
|
|
245
274
|
// Try to build skills guidance if enabled, with fallback to detailed guidance
|
|
246
275
|
const skillsGuidance = useSkills
|
|
247
|
-
? buildSkillsSystemGuidance(sdkApiEnabled, config.features.clarkAttachmentDownloadEnabled === true, thirdPartyImportEnabled, v2ToV3MigrationInProgress)
|
|
276
|
+
? buildSkillsSystemGuidance(managedNativeDbAvailable, sdkApiEnabled, config.features.clarkAttachmentDownloadEnabled === true, thirdPartyImportEnabled, v2ToV3MigrationInProgress)
|
|
248
277
|
: null;
|
|
249
278
|
const skillsLoaded = skillsGuidance !== null;
|
|
250
279
|
// Use detailed guidance sections if skills are disabled OR if skills failed to load
|
|
251
280
|
const detailedGuidance = skillsLoaded
|
|
252
281
|
? ""
|
|
253
|
-
: buildDetailedGuidanceSections(sdkApiEnabled);
|
|
282
|
+
: buildDetailedGuidanceSections(sdkApiEnabled, appHasIconWrapper(config.appRootDirPath, uiRoot));
|
|
254
283
|
// Log knowledge sections for debugging
|
|
255
284
|
logger.info("Building system prompt with knowledge sections", {
|
|
256
285
|
hasAlwaysInjectFacts: !!factsSection,
|
|
@@ -315,9 +344,7 @@ Rules:
|
|
|
315
344
|
- Call \`listAttachments\` to discover attachment IDs when the user references uploaded files, then inspect them inline.
|
|
316
345
|
- Do not fetch attachment URLs directly with ad-hoc code, shell scripts, or HTTP requests.`}
|
|
317
346
|
|
|
318
|
-
${
|
|
319
|
-
? ""
|
|
320
|
-
: `**App-specific knowledge files** are stored at \`skills/app/*.md\`. These files contain rules and preferences the user has explicitly saved for this application. **Read them at the start of every task** — they appear in file listings and contain authoritative requirements you must follow.`}
|
|
347
|
+
${appKnowledgeInstruction}
|
|
321
348
|
${planGenerationVariant ? "" : (skillsGuidance ?? "")}
|
|
322
349
|
${!planGenerationVariant && onDemandKnowledgeIndex ? buildOnDemandKnowledgeGuidance(onDemandKnowledgeIndex) : ""}
|
|
323
350
|
|
|
@@ -349,6 +376,12 @@ After searching, use 'web_fetch' to read specific pages when search snippets don
|
|
|
349
376
|
|
|
350
377
|
${superblocksDocsGuidance}
|
|
351
378
|
|
|
379
|
+
**package.json changes use tools only.** Never edit \`package.json\` directly. That includes \`build_writeFile\`, \`build_editFile\`, \`build_multiEditFile\`, and any shell command. There are no exceptions. Use \`build_managePackages\`.
|
|
380
|
+
- \`action\` \`install\` adds a package. Put a named target version in \`version\`. A vulnerability prompt that says to install a version is a named target version. Omit \`packages\` to install from package.json.
|
|
381
|
+
- \`action\` \`remove\` uninstalls a package. It does not run the vulnerability check.
|
|
382
|
+
- \`action\` \`update\` moves installed versions to the newest release their ranges allow. Omit \`packages\` to update every dependency. This does not change ranges and does not add a package.
|
|
383
|
+
- \`action\` \`set_override\` sets one targeted override. \`name\` is \`parent>package\` or \`name@range\`. \`version\` is a caret release such as \`^1.2.3\`. \`action\` \`remove_override\` deletes that override. Do not edit scripts, packageManager, or workspaces.
|
|
384
|
+
|
|
352
385
|
**Before installing any package, check it with \`build_lookupNpmPackage\`** to verify it exists in the configured registry and that you are using a recent version.
|
|
353
386
|
|
|
354
387
|
${buildRegistryPolicyParagraph(registryPolicy, config.features.packageInstallGateEnabled === true)}`}
|
|
@@ -372,6 +405,7 @@ When an \`<environment_compatibility>\` block is present, treat it as the server
|
|
|
372
405
|
- If \`updateAppEnvironment\` is unavailable, provide a read-only explanation and the server-supplied remediation options instead of claiming to make the change.
|
|
373
406
|
`}
|
|
374
407
|
${managedNativeDbAvailabilityGuidance}
|
|
408
|
+
${managedNativeDbImportGuidance}
|
|
375
409
|
${publishingGuidance}
|
|
376
410
|
<safety_guidance>
|
|
377
411
|
${safetyGuidance}
|
|
@@ -423,11 +457,15 @@ ALWAYS read components using tools like \`grep\` and \`glob\` when you do not ha
|
|
|
423
457
|
**${uiRoot}App.tsx Infrastructure is PROTECTED:**
|
|
424
458
|
- NEVER remove \`<AppProvider>\` from ${uiRoot}App.tsx - it is required infrastructure
|
|
425
459
|
- NEVER remove \`<Outlet />\` from ${uiRoot}App.tsx - it is required for routing
|
|
460
|
+
- NEVER remove \`<Toaster />\` from ${uiRoot}App.tsx - it is required for toast notifications
|
|
426
461
|
- When making ${uiRoot}App.tsx "minimal", keep this structure:
|
|
427
462
|
\`\`\`tsx
|
|
428
|
-
|
|
429
|
-
<
|
|
430
|
-
|
|
463
|
+
<>
|
|
464
|
+
<AppProvider>
|
|
465
|
+
<Outlet />
|
|
466
|
+
</AppProvider>
|
|
467
|
+
<Toaster />
|
|
468
|
+
</>
|
|
431
469
|
\`\`\`
|
|
432
470
|
- These components must remain even if they appear to be "unused wrappers"
|
|
433
471
|
|
|
@@ -537,10 +575,11 @@ function buildKnowledgeBlock(factsSection, appKnowledgeSection) {
|
|
|
537
575
|
*
|
|
538
576
|
* @returns Skills guidance string, or null if skills failed to load (triggers fallback)
|
|
539
577
|
*/
|
|
540
|
-
function buildSkillsSystemGuidance(sdkApiEnabled, spreadsheetImportEnabled, thirdPartyImportEnabled, v2ToV3MigrationInProgress) {
|
|
578
|
+
function buildSkillsSystemGuidance(appDatabaseAvailable, sdkApiEnabled, spreadsheetImportEnabled, thirdPartyImportEnabled, v2ToV3MigrationInProgress) {
|
|
541
579
|
try {
|
|
542
580
|
const uiRoot = uiRootFor(sdkApiEnabled);
|
|
543
581
|
const excludeSkills = buildSystemSkillExclusions({
|
|
582
|
+
appDatabaseAvailable,
|
|
544
583
|
sdkApiEnabled,
|
|
545
584
|
spreadsheetImportEnabled,
|
|
546
585
|
thirdPartyImportEnabled,
|
|
@@ -581,7 +620,12 @@ ${skillsXml}
|
|
|
581
620
|
${apiSkillGuidance}
|
|
582
621
|
**BEFORE creating or editing frontend components or pages:**
|
|
583
622
|
- Read \`skills/system/superblocks-frontend/SKILL.md\` — pages live at \`${uiRoot}pages/<PageName>/index.tsx\`, the router at \`${uiRoot}router.tsx\`
|
|
584
|
-
|
|
623
|
+
${appDatabaseAvailable
|
|
624
|
+
? `
|
|
625
|
+
**BEFORE writing rows into an App Database, or offering to seed or copy data to production:**
|
|
626
|
+
- Read and follow \`skills/system/app-database/SKILL.md\`, including its destination decision and any required user-facing explanation, before the first row write.
|
|
627
|
+
`
|
|
628
|
+
: ""}
|
|
585
629
|
**WHEN you hit a build error, runtime error, or blank/broken preview that points at an import** (e.g. "does not provide an export named ...", "Failed to resolve import", a module-not-found error, or the preview won't mount):
|
|
586
630
|
- Read \`skills/system/common-import-issues/SKILL.md\` - Catalog of known import/module-resolution failures and their exact fixes (e.g. lucide-react \`IconName\` must be a \`type\` import). Check it before debugging an import error from scratch.
|
|
587
631
|
|
|
@@ -629,7 +673,49 @@ Load knowledge that matches your current task before implementing solutions.
|
|
|
629
673
|
* Detailed guidance sections - only included when skills feature is DISABLED.
|
|
630
674
|
* When skills are enabled, this content is available via skill files instead.
|
|
631
675
|
*/
|
|
632
|
-
|
|
676
|
+
const ICON_WRAPPER_GUIDANCE = /*md*/ `Use icons from Lucide React library. Always use icons rather than emojis unless explicitly requested.
|
|
677
|
+
Do NOT validate or explore icon names — use them directly. Common Lucide icon names use kebab-case (e.g., "house", "user", "settings", "search", "plus", "trash-2", "chevron-down").
|
|
678
|
+
|
|
679
|
+
\`\`\`tsx
|
|
680
|
+
// Icon component
|
|
681
|
+
import { Icon } from "@/components/ui/icon";
|
|
682
|
+
<Icon icon="heart" />
|
|
683
|
+
|
|
684
|
+
import { Button } from "@/components/ui/button";
|
|
685
|
+
<Button><Icon icon="plus" /> Add Item</Button>
|
|
686
|
+
|
|
687
|
+
// When defining icon data in arrays/objects, use explicit IconName typing for validation.
|
|
688
|
+
// CRITICAL: \`IconName\` is a TYPE-only export. ALWAYS import it with the \`type\` keyword.
|
|
689
|
+
// A value import (\`import { IconName } from "lucide-react/dynamic"\`) compiles but CRASHES
|
|
690
|
+
// the app at runtime ("does not provide an export named 'IconName'") and blanks the preview.
|
|
691
|
+
import type { IconName } from "lucide-react/dynamic";
|
|
692
|
+
|
|
693
|
+
const navItems: { icon: IconName; label: string }[] = [
|
|
694
|
+
{ icon: "house", label: "Home" },
|
|
695
|
+
{ icon: "settings", label: "Settings" },
|
|
696
|
+
];
|
|
697
|
+
\`\`\`
|
|
698
|
+
`;
|
|
699
|
+
const ICON_LUCIDE_GUIDANCE = /*md*/ `Use icons from Lucide React library. Always use icons rather than emojis unless explicitly requested.
|
|
700
|
+
Do NOT validate or explore icon names — use them directly. Import each icon by name from \`lucide-react\` (e.g., \`House\`, \`User\`, \`Settings\`, \`Search\`, \`Plus\`, \`Trash2\`, \`ChevronDown\`).
|
|
701
|
+
|
|
702
|
+
\`\`\`tsx
|
|
703
|
+
import { Heart, Plus } from "lucide-react";
|
|
704
|
+
<Heart />
|
|
705
|
+
|
|
706
|
+
import { Button } from "@/components/ui/button";
|
|
707
|
+
<Button><Plus /> Add Item</Button>
|
|
708
|
+
|
|
709
|
+
// When defining icon data in arrays/objects, store the icon component and type it with LucideIcon.
|
|
710
|
+
import { House, Settings, type LucideIcon } from "lucide-react";
|
|
711
|
+
|
|
712
|
+
const navItems: { icon: LucideIcon; label: string }[] = [
|
|
713
|
+
{ icon: House, label: "Home" },
|
|
714
|
+
{ icon: Settings, label: "Settings" },
|
|
715
|
+
];
|
|
716
|
+
\`\`\`
|
|
717
|
+
`;
|
|
718
|
+
function buildDetailedGuidanceSections(sdkApiEnabled, iconWrapper) {
|
|
633
719
|
const uiRoot = uiRootFor(sdkApiEnabled);
|
|
634
720
|
return /*md*/ `
|
|
635
721
|
<visual_excellence_first>
|
|
@@ -790,45 +876,49 @@ function MyComponent() {
|
|
|
790
876
|
**For single-page applications:**
|
|
791
877
|
- Put all content in ${uiRoot}pages/<pageName>/index.tsx
|
|
792
878
|
- Use components to compose and build the page
|
|
793
|
-
- Keep ${uiRoot}App.tsx minimal with
|
|
879
|
+
- Keep ${uiRoot}App.tsx minimal with <AppProvider>, <Outlet />, and <Toaster />
|
|
794
880
|
|
|
795
881
|
For multi-page applications:
|
|
796
882
|
- Put shared navigation/layout in ${uiRoot}App.tsx (sidebars, headers, footers, etc.)
|
|
797
883
|
- Always include the <Outlet /> component
|
|
798
884
|
- Always include the <AppProvider /> component
|
|
885
|
+
- Always include <Toaster /> from ${uiRoot}components/common/sonner (sibling of <AppProvider>)
|
|
799
886
|
- Individual pages should focus on content, not layout structure
|
|
800
887
|
- Use components to compose and build the pages, sharing code between pages
|
|
801
888
|
|
|
802
889
|
\`\`\`tsx
|
|
803
890
|
// ✅ CORRECT - Layout components in ${uiRoot}App.tsx for a multi-page application
|
|
804
|
-
|
|
805
|
-
<
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
<
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
{/* Main content area */}
|
|
812
|
-
<div className="flex flex-1 h-full">
|
|
813
|
-
{/* Header - persistent across all pages */}
|
|
814
|
-
<div className="flex bg-header border-b h-[60px]">
|
|
815
|
-
<Header />
|
|
891
|
+
<>
|
|
892
|
+
<AppProvider>
|
|
893
|
+
<div className="flex flex-row h-full w-full">
|
|
894
|
+
{/* Sidebar - persistent across all pages */}
|
|
895
|
+
<div className="flex bg-sidebar border-r w-[250px]">
|
|
896
|
+
<Navigation />
|
|
816
897
|
</div>
|
|
817
898
|
|
|
818
|
-
{/*
|
|
819
|
-
<div className="flex
|
|
820
|
-
{/*
|
|
821
|
-
<
|
|
899
|
+
{/* Main content area */}
|
|
900
|
+
<div className="flex flex-1 h-full">
|
|
901
|
+
{/* Header - persistent across all pages */}
|
|
902
|
+
<div className="flex bg-background border-b h-[60px]">
|
|
903
|
+
<Header />
|
|
904
|
+
</div>
|
|
905
|
+
|
|
906
|
+
{/* Page content area */}
|
|
907
|
+
<div className="flex p-4 flex-1">
|
|
908
|
+
{/* React Router outlet goes here */}
|
|
909
|
+
<Outlet />
|
|
910
|
+
</div>
|
|
822
911
|
</div>
|
|
823
912
|
</div>
|
|
824
|
-
</
|
|
825
|
-
|
|
913
|
+
</AppProvider>
|
|
914
|
+
<Toaster />
|
|
915
|
+
</>
|
|
826
916
|
\`\`\`
|
|
827
917
|
|
|
828
918
|
**Individual pages in multi-page applications should focus on content, not layout structure:**
|
|
829
919
|
\`\`\`tsx
|
|
830
920
|
// ✅ CORRECT - Page focuses on content only
|
|
831
|
-
<div className="flex flex-col gap-4
|
|
921
|
+
<div className="flex flex-col gap-4 h-full w-full overflow-auto">
|
|
832
922
|
<h1 className="text-3xl font-bold">Dashboard Content</h1>
|
|
833
923
|
<Card>
|
|
834
924
|
{/* Page-specific content */}
|
|
@@ -842,28 +932,7 @@ This approach ensures consistent layout across the application and makes navigat
|
|
|
842
932
|
</application_architecture>
|
|
843
933
|
|
|
844
934
|
<icons>
|
|
845
|
-
|
|
846
|
-
Do NOT validate or explore icon names — use them directly. Common Lucide icon names use kebab-case (e.g., "house", "user", "settings", "search", "plus", "trash-2", "chevron-down").
|
|
847
|
-
|
|
848
|
-
\`\`\`tsx
|
|
849
|
-
// Icon component
|
|
850
|
-
import { Icon } from "@/components/ui/icon";
|
|
851
|
-
<Icon icon="heart" />
|
|
852
|
-
|
|
853
|
-
import { Button } from "@/components/ui/button";
|
|
854
|
-
<Button><Icon icon="plus" /> Add Item</Button>
|
|
855
|
-
|
|
856
|
-
// When defining icon data in arrays/objects, use explicit IconName typing for validation.
|
|
857
|
-
// CRITICAL: \`IconName\` is a TYPE-only export. ALWAYS import it with the \`type\` keyword.
|
|
858
|
-
// A value import (\`import { IconName } from "lucide-react/dynamic"\`) compiles but CRASHES
|
|
859
|
-
// the app at runtime ("does not provide an export named 'IconName'") and blanks the preview.
|
|
860
|
-
import type { IconName } from "lucide-react/dynamic";
|
|
861
|
-
|
|
862
|
-
const navItems: { icon: IconName; label: string }[] = [
|
|
863
|
-
{ icon: "house", label: "Home" },
|
|
864
|
-
{ icon: "settings", label: "Settings" },
|
|
865
|
-
];
|
|
866
|
-
\`\`\`
|
|
935
|
+
${iconWrapper ? ICON_WRAPPER_GUIDANCE : ICON_LUCIDE_GUIDANCE}
|
|
867
936
|
</icons>
|
|
868
937
|
|
|
869
938
|
${sdkApiEnabled ? "" : buildYamlApiSection()}
|
|
@@ -905,7 +974,7 @@ const ProductsPage = () => {
|
|
|
905
974
|
<div className="flex flex-col gap-3">
|
|
906
975
|
{products.map(p => (
|
|
907
976
|
<Card key={p.id}>
|
|
908
|
-
<
|
|
977
|
+
<img src={p.image} />
|
|
909
978
|
<span className="font-medium">{p.name}</span>
|
|
910
979
|
<Button>Add</Button>
|
|
911
980
|
</Card>
|
|
@@ -1112,11 +1181,15 @@ Create reusable component variants instead of one-off styles:
|
|
|
1112
1181
|
Variants use semantic tokens and are defined in component files using \`cva()\`.
|
|
1113
1182
|
|
|
1114
1183
|
## Component System
|
|
1115
|
-
|
|
1184
|
+
${iconWrapper
|
|
1185
|
+
? `All base UI components in the \`${uiRoot}components/ui\` directory are Shadcn/Radix UI components registered with the Superblocks editor through \`registerComponent\`, \`Prop\`, and \`Section\`. That registration powers the editor's properties panel, so keep it when you edit one of these files.`
|
|
1186
|
+
: `All base UI components in the \`${uiRoot}components/ui\` directory are plain Shadcn/Radix UI components and adhere to the Shadcn design system.`}
|
|
1116
1187
|
|
|
1117
1188
|
You should always attempt to use an existing component before creating a new one.
|
|
1118
1189
|
|
|
1119
|
-
**REQUIRED:** Grep for an existing component in the \`${uiRoot}components/ui\` directory and read it's source code if you believe you already have a component that resolves the user's request.
|
|
1190
|
+
**REQUIRED:** Grep for an existing component in the \`${uiRoot}components/ui\` directory and read it's source code if you believe you already have a component that resolves the user's request.
|
|
1191
|
+
|
|
1192
|
+
If a base UI component is missing (for example a combobox or a date range picker), add it to \`${uiRoot}components/ui\` and match the files already there. Put app-specific components (for example a \`TodoItem\`) in the \`${uiRoot}components\` directory instead.
|
|
1120
1193
|
</design_system_guidance>
|
|
1121
1194
|
`;
|
|
1122
1195
|
}
|
|
@@ -1130,7 +1203,7 @@ You should always attempt to use an existing component before creating a new one
|
|
|
1130
1203
|
* value still transits the browser via `/users/me` bootstrap — do not treat it as
|
|
1131
1204
|
* a confidential channel.
|
|
1132
1205
|
*/
|
|
1133
|
-
|
|
1206
|
+
function buildAppBuilderModelGuidanceBlock(guidanceByModel, coreModel) {
|
|
1134
1207
|
if (!coreModel || !guidanceByModel) {
|
|
1135
1208
|
return "";
|
|
1136
1209
|
}
|
|
@@ -1147,13 +1220,13 @@ ${guidance.trim()}
|
|
|
1147
1220
|
`;
|
|
1148
1221
|
}
|
|
1149
1222
|
function buildVulnerablePackageGuidance() {
|
|
1150
|
-
return `If \`
|
|
1151
|
-
If \`
|
|
1223
|
+
return `If \`build_managePackages\` succeeds, treat its security decision as final. Do not volunteer vulnerability claims from your own knowledge; only communicate security findings explicitly returned by the tool.
|
|
1224
|
+
If \`build_managePackages\` returns \`NpmInstallBlocked\` with reason \`vulnerable_package\`:
|
|
1152
1225
|
- Malware findings: never retry or override — choose a different reputable package.
|
|
1153
|
-
- CVE findings: the tool may already have triaged exploitability. If install is still blocked, try at most a couple of different reputable replacements that serve the same purpose (prefer packages/versions older than 7 days), install each via \`
|
|
1226
|
+
- CVE findings: the tool may already have triaged exploitability. If install is still blocked, try at most a couple of different reputable replacements that serve the same purpose (prefer packages/versions older than 7 days), install each via \`build_managePackages\` with \`action\` \`install\` (they are re-checked), and briefly mention any replacement you used in normal narration — do not over-explain security.
|
|
1154
1227
|
- If a replacement works and you still complete the user's request, do not surface the blocked package to the builder when they did not name it.
|
|
1155
1228
|
- If no replacement works and the builder did not name the package, explain only the capability that could not ship — no proceed option.
|
|
1156
|
-
- If \`userRequested\` is true on the tool result (the package name appears in the user's triggering message), warn the builder, ask for a short reason if they still want it, then call \`
|
|
1229
|
+
- If \`userRequested\` is true on the tool result (the package name appears in the user's triggering message), warn the builder, ask for a short reason if they still want it, then call \`build_managePackages\` again with \`action\` \`install\`, the same packages, and \`proceedWithReason\` set to that reason (this shows a confirmation prompt). Never invent a proceed reason.`;
|
|
1157
1230
|
}
|
|
1158
1231
|
function buildRegistryPolicyParagraph(registryPolicy, packageInstallGateEnabled) {
|
|
1159
1232
|
if (!registryPolicy)
|
|
@@ -1177,11 +1250,11 @@ function buildRegistryPolicyParagraph(registryPolicy, packageInstallGateEnabled)
|
|
|
1177
1250
|
// constant so the prompt can never drift from what the tool layer and
|
|
1178
1251
|
// the DevServerErrorOverlay enforce.
|
|
1179
1252
|
const protectedPackagesPhrase = PROTECTED_CORE_PACKAGES.map((name) => `\`${name}\``).join(", ");
|
|
1180
|
-
return `Your organization uses a private npm registry. Only packages available in that registry can be installed. If \`
|
|
1253
|
+
return `Your organization uses a private npm registry. Only packages available in that registry can be installed. If \`build_managePackages\` returns \`NpmInstallBlocked\` with reason \`not_in_registry\`, do not retry — explain to the user that the package isn't available and suggest they ask their org admin to add it. Never suggest uninstalling, replacing, or refactoring the app away from core dependencies — any \`@superblocksteam/*\` package, plus ${protectedPackagesPhrase}. If a core dependency is unavailable in the registry, the only fix is for an org admin to make it available there. ${vulnerablePackageGuidance}
|
|
1181
1254
|
|
|
1182
1255
|
`;
|
|
1183
1256
|
}
|
|
1184
|
-
return `Packages are installed from the public npm registry. If \`
|
|
1257
|
+
return `Packages are installed from the public npm registry. If \`build_managePackages\` returns \`NpmInstallBlocked\` with reason \`registry_unreachable\`, do not retry — explain that npm is unreachable. ${vulnerablePackageGuidance}
|
|
1185
1258
|
|
|
1186
1259
|
`;
|
|
1187
1260
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-base-system-prompt.js","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/build-base-system-prompt.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAu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,IAAI,EAAE,EAAE,CAAC;QACrD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO;EACP,QAAQ,CAAC,IAAI,EAAE;;;CAGhB,CAAC;AACF,CAAC;AAED,SAAS,8BAA8B;IACrC,OAAO;;;;;;gWAMuV,CAAC;AACjW,CAAC;AAED,SAAS,4BAA4B,CACnC,cAA0C,EAC1C,yBAAkC;IAElC,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAC/B,MAAM,yBAAyB,GAAG,yBAAyB;QACzD,CAAC,CAAC,8BAA8B,EAAE;QAClC,CAAC,CAAC,EAAE,CAAC;IAEP,yEAAyE;IACzE,0EAA0E;IAC1E,2EAA2E;IAC3E,uEAAuE;IACvE,2EAA2E;IAC3E,sCAAsC;IACtC,IAAI,cAAc,CAAC,MAAM,KAAK,aAAa,EAAE,CAAC;QAC5C,OAAO,8VAA8V,yBAAyB;;CAEjY,CAAC;IACA,CAAC;IAED,IAAI,cAAc,CAAC,wBAAwB,EAAE,CAAC;QAC5C,yEAAyE;QACzE,sEAAsE;QACtE,qCAAqC;QACrC,MAAM,uBAAuB,GAAG,uBAAuB,CAAC,GAAG,CACzD,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,IAAI,CACxB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,OAAO,kcAAkc,uBAAuB,uHAAuH,yBAAyB;;CAEnnB,CAAC;IACA,CAAC;IAED,OAAO,yMAAyM,yBAAyB;;CAE1O,CAAC;AACF,CAAC;AAED,MAAM,uBAAuB,GAAG,MAAM,CAAC;;;;;;;;CAQtC,CAAC"}
|
|
1
|
+
{"version":3,"file":"build-base-system-prompt.js","sourceRoot":"","sources":["../../../../src/ai-service/agent/prompts/build-base-system-prompt.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAA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
@@ -64,4 +64,5 @@ export interface TestStepResult {
|
|
|
64
64
|
/** Error message if the step failed */
|
|
65
65
|
error?: string;
|
|
66
66
|
}
|
|
67
|
+
export {};
|
|
67
68
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/subagents/testing/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/subagents/testing/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,WAAW,CAAC,EAAE;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,uCA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