@levelcode/sdk 0.2.0 → 0.2.2
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/index.cjs +313 -303
- package/dist/index.cjs.map +21 -21
- package/dist/index.mjs +346 -336
- package/dist/index.mjs.map +21 -21
- package/package.json +1 -1
- package/dist/agents/constants.d.ts +0 -1
- package/dist/agents/team/apprentice.d.ts +0 -3
- package/dist/agents/team/coordinator.d.ts +0 -3
- package/dist/agents/team/cto.d.ts +0 -3
- package/dist/agents/team/designer.d.ts +0 -3
- package/dist/agents/team/director.d.ts +0 -3
- package/dist/agents/team/distinguished-engineer.d.ts +0 -3
- package/dist/agents/team/fellow.d.ts +0 -3
- package/dist/agents/team/index.d.ts +0 -27
- package/dist/agents/team/intern.d.ts +0 -3
- package/dist/agents/team/junior-engineer.d.ts +0 -3
- package/dist/agents/team/manager.d.ts +0 -3
- package/dist/agents/team/mid-level-engineer.d.ts +0 -3
- package/dist/agents/team/principal-engineer.d.ts +0 -3
- package/dist/agents/team/product-lead.d.ts +0 -3
- package/dist/agents/team/researcher.d.ts +0 -3
- package/dist/agents/team/role-hierarchy.d.ts +0 -24
- package/dist/agents/team/scientist.d.ts +0 -3
- package/dist/agents/team/senior-engineer.d.ts +0 -3
- package/dist/agents/team/senior-staff-engineer.d.ts +0 -3
- package/dist/agents/team/staff-engineer.d.ts +0 -3
- package/dist/agents/team/sub-manager.d.ts +0 -3
- package/dist/agents/team/tester.d.ts +0 -3
- package/dist/agents/team/vp-engineering.d.ts +0 -3
- package/dist/agents/types/agent-definition.d.ts +0 -296
- package/dist/agents/types/secret-agent-definition.d.ts +0 -19
- package/dist/agents/types/tools.d.ts +0 -308
- package/dist/agents/types/util-types.d.ts +0 -134
- package/dist/common/src/actions.d.ts +0 -176
- package/dist/common/src/analytics-core.d.ts +0 -52
- package/dist/common/src/analytics.d.ts +0 -9
- package/dist/common/src/browser-actions.d.ts +0 -1200
- package/dist/common/src/constants/agents.d.ts +0 -47
- package/dist/common/src/constants/analytics-events.d.ts +0 -111
- package/dist/common/src/constants/byok.d.ts +0 -2
- package/dist/common/src/constants/claude-oauth.d.ts +0 -36
- package/dist/common/src/constants/index.d.ts +0 -4
- package/dist/common/src/constants/knowledge.d.ts +0 -21
- package/dist/common/src/constants/limits.d.ts +0 -14
- package/dist/common/src/constants/model-config.d.ts +0 -117
- package/dist/common/src/constants/paths.d.ts +0 -23
- package/dist/common/src/constants/skills.d.ts +0 -42
- package/dist/common/src/constants/ui.d.ts +0 -14
- package/dist/common/src/env-ci.d.ts +0 -22
- package/dist/common/src/env-process.d.ts +0 -28
- package/dist/common/src/env-schema.d.ts +0 -24
- package/dist/common/src/env.d.ts +0 -16
- package/dist/common/src/mcp/client.d.ts +0 -6
- package/dist/common/src/old-constants.d.ts +0 -10
- package/dist/common/src/project-file-tree.d.ts +0 -27
- package/dist/common/src/templates/agent-validation.d.ts +0 -48
- package/dist/common/src/templates/initial-agents-dir/types/agent-definition.d.ts +0 -296
- package/dist/common/src/templates/initial-agents-dir/types/tools.d.ts +0 -308
- package/dist/common/src/templates/initial-agents-dir/types/util-types.d.ts +0 -128
- package/dist/common/src/testing/errors.d.ts +0 -14
- package/dist/common/src/testing/mock-modules.d.ts +0 -11
- package/dist/common/src/testing/mock-types.d.ts +0 -97
- package/dist/common/src/testing/mocks/analytics.d.ts +0 -182
- package/dist/common/src/testing/mocks/child-process.d.ts +0 -29
- package/dist/common/src/testing/mocks/crypto.d.ts +0 -159
- package/dist/common/src/testing/mocks/database.d.ts +0 -197
- package/dist/common/src/testing/mocks/fetch.d.ts +0 -35
- package/dist/common/src/testing/mocks/filesystem.d.ts +0 -31
- package/dist/common/src/testing/mocks/index.d.ts +0 -25
- package/dist/common/src/testing/mocks/logger.d.ts +0 -35
- package/dist/common/src/testing/mocks/stream.d.ts +0 -203
- package/dist/common/src/testing/mocks/timers.d.ts +0 -27
- package/dist/common/src/testing/mocks/tree-sitter.d.ts +0 -58
- package/dist/common/src/testing-env-process.d.ts +0 -7
- package/dist/common/src/tools/constants.d.ts +0 -17
- package/dist/common/src/tools/list.d.ts +0 -1152
- package/dist/common/src/tools/params/tool/add-message.d.ts +0 -19
- package/dist/common/src/tools/params/tool/add-subgoal.d.ts +0 -26
- package/dist/common/src/tools/params/tool/ask-user.d.ts +0 -59
- package/dist/common/src/tools/params/tool/browser-logs.d.ts +0 -127
- package/dist/common/src/tools/params/tool/code-search.d.ts +0 -30
- package/dist/common/src/tools/params/tool/create-plan.d.ts +0 -30
- package/dist/common/src/tools/params/tool/end-turn.d.ts +0 -13
- package/dist/common/src/tools/params/tool/find-files.d.ts +0 -31
- package/dist/common/src/tools/params/tool/glob.d.ts +0 -26
- package/dist/common/src/tools/params/tool/list-directory.d.ts +0 -25
- package/dist/common/src/tools/params/tool/lookup-agent-info.d.ts +0 -13
- package/dist/common/src/tools/params/tool/propose-str-replace.d.ts +0 -40
- package/dist/common/src/tools/params/tool/propose-write-file.d.ts +0 -29
- package/dist/common/src/tools/params/tool/read-docs.d.ts +0 -19
- package/dist/common/src/tools/params/tool/read-files.d.ts +0 -35
- package/dist/common/src/tools/params/tool/read-subtree.d.ts +0 -40
- package/dist/common/src/tools/params/tool/run-file-change-hooks.d.ts +0 -63
- package/dist/common/src/tools/params/tool/run-terminal-command.d.ts +0 -88
- package/dist/common/src/tools/params/tool/send-message.d.ts +0 -26
- package/dist/common/src/tools/params/tool/set-messages.d.ts +0 -15
- package/dist/common/src/tools/params/tool/set-output.d.ts +0 -15
- package/dist/common/src/tools/params/tool/skill.d.ts +0 -28
- package/dist/common/src/tools/params/tool/spawn-agent-inline.d.ts +0 -17
- package/dist/common/src/tools/params/tool/spawn-agents.d.ts +0 -26
- package/dist/common/src/tools/params/tool/str-replace.d.ts +0 -43
- package/dist/common/src/tools/params/tool/suggest-followups.d.ts +0 -26
- package/dist/common/src/tools/params/tool/task-completed.d.ts +0 -13
- package/dist/common/src/tools/params/tool/task-create.d.ts +0 -24
- package/dist/common/src/tools/params/tool/task-get.d.ts +0 -15
- package/dist/common/src/tools/params/tool/task-list.d.ts +0 -13
- package/dist/common/src/tools/params/tool/task-update.d.ts +0 -29
- package/dist/common/src/tools/params/tool/team-create.d.ts +0 -17
- package/dist/common/src/tools/params/tool/team-delete.d.ts +0 -13
- package/dist/common/src/tools/params/tool/think-deeply.d.ts +0 -15
- package/dist/common/src/tools/params/tool/update-subgoal.d.ts +0 -25
- package/dist/common/src/tools/params/tool/web-search.d.ts +0 -25
- package/dist/common/src/tools/params/tool/write-file.d.ts +0 -31
- package/dist/common/src/tools/params/tool/write-todos.d.ts +0 -18
- package/dist/common/src/tools/params/utils.d.ts +0 -35
- package/dist/common/src/tools/utils.d.ts +0 -4
- package/dist/common/src/types/agent-template.d.ts +0 -156
- package/dist/common/src/types/contracts/agent-runtime.d.ts +0 -36
- package/dist/common/src/types/contracts/analytics.d.ts +0 -8
- package/dist/common/src/types/contracts/billing.d.ts +0 -40
- package/dist/common/src/types/contracts/client.d.ts +0 -45
- package/dist/common/src/types/contracts/database.d.ts +0 -80
- package/dist/common/src/types/contracts/env.d.ts +0 -150
- package/dist/common/src/types/contracts/llm.d.ts +0 -102
- package/dist/common/src/types/contracts/logger.d.ts +0 -8
- package/dist/common/src/types/dynamic-agent-template.d.ts +0 -227
- package/dist/common/src/types/filesystem.d.ts +0 -6
- package/dist/common/src/types/function-params.d.ts +0 -15
- package/dist/common/src/types/grant.d.ts +0 -2
- package/dist/common/src/types/json.d.ts +0 -9
- package/dist/common/src/types/mcp.d.ts +0 -31
- package/dist/common/src/types/messages/content-part.d.ts +0 -46
- package/dist/common/src/types/messages/data-content.d.ts +0 -3
- package/dist/common/src/types/messages/levelcode-message.d.ts +0 -37
- package/dist/common/src/types/messages/provider-metadata.d.ts +0 -3
- package/dist/common/src/types/print-mode.d.ts +0 -155
- package/dist/common/src/types/session-state.d.ts +0 -94
- package/dist/common/src/types/skill.d.ts +0 -31
- package/dist/common/src/types/source.d.ts +0 -8
- package/dist/common/src/types/spawn.d.ts +0 -8
- package/dist/common/src/types/team-config-schemas.d.ts +0 -213
- package/dist/common/src/types/team-config.d.ts +0 -42
- package/dist/common/src/types/team-hook-events.d.ts +0 -36
- package/dist/common/src/types/team-protocol.d.ts +0 -64
- package/dist/common/src/util/agent-id-parsing.d.ts +0 -22
- package/dist/common/src/util/agent-name-normalization.d.ts +0 -12
- package/dist/common/src/util/array.d.ts +0 -6
- package/dist/common/src/util/credentials.d.ts +0 -11
- package/dist/common/src/util/error.d.ts +0 -128
- package/dist/common/src/util/file.d.ts +0 -133
- package/dist/common/src/util/format-code-search.d.ts +0 -16
- package/dist/common/src/util/lru-cache.d.ts +0 -30
- package/dist/common/src/util/messages.d.ts +0 -46
- package/dist/common/src/util/model-utils.d.ts +0 -8
- package/dist/common/src/util/object.d.ts +0 -22
- package/dist/common/src/util/promise.d.ts +0 -16
- package/dist/common/src/util/random.d.ts +0 -1
- package/dist/common/src/util/skills.d.ts +0 -5
- package/dist/common/src/util/stop-sequence.d.ts +0 -14
- package/dist/common/src/util/string.d.ts +0 -82
- package/dist/common/src/util/xml.d.ts +0 -12
- package/dist/common/src/util/zod-schema.d.ts +0 -5
- package/dist/common/src/utils/dev-phases.d.ts +0 -23
- package/dist/common/src/utils/file-lock.d.ts +0 -13
- package/dist/common/src/utils/team-analytics.d.ts +0 -16
- package/dist/common/src/utils/team-discovery.d.ts +0 -47
- package/dist/common/src/utils/team-fs.d.ts +0 -20
- package/dist/common/src/utils/team-hook-emitter.d.ts +0 -40
- package/dist/common/src/utils/team-presets.d.ts +0 -35
- package/dist/packages/agent-runtime/src/constants.d.ts +0 -1
- package/dist/packages/agent-runtime/src/fast-rewrite.d.ts +0 -45
- package/dist/packages/agent-runtime/src/find-files/request-files-prompt.d.ts +0 -71
- package/dist/packages/agent-runtime/src/generate-diffs-prompt.d.ts +0 -53
- package/dist/packages/agent-runtime/src/get-file-reading-updates.d.ts +0 -8
- package/dist/packages/agent-runtime/src/inbox-poller.d.ts +0 -81
- package/dist/packages/agent-runtime/src/llm-api/claude.d.ts +0 -5
- package/dist/packages/agent-runtime/src/llm-api/context7-api.d.ts +0 -55
- package/dist/packages/agent-runtime/src/llm-api/gemini-with-fallbacks.d.ts +0 -40
- package/dist/packages/agent-runtime/src/llm-api/levelcode-web-api.d.ts +0 -49
- package/dist/packages/agent-runtime/src/llm-api/relace-api.d.ts +0 -16
- package/dist/packages/agent-runtime/src/main-prompt.d.ts +0 -29
- package/dist/packages/agent-runtime/src/mcp-constants.d.ts +0 -12
- package/dist/packages/agent-runtime/src/mcp.d.ts +0 -10
- package/dist/packages/agent-runtime/src/message-formatter.d.ts +0 -12
- package/dist/packages/agent-runtime/src/process-file-block.d.ts +0 -56
- package/dist/packages/agent-runtime/src/process-str-replace.d.ts +0 -21
- package/dist/packages/agent-runtime/src/prompt-agent-stream.d.ts +0 -28
- package/dist/packages/agent-runtime/src/run-agent-step.d.ts +0 -73
- package/dist/packages/agent-runtime/src/run-programmatic-step.d.ts +0 -40
- package/dist/packages/agent-runtime/src/system-prompt/prompts.d.ts +0 -19
- package/dist/packages/agent-runtime/src/system-prompt/search-system-prompt.d.ts +0 -14
- package/dist/packages/agent-runtime/src/system-prompt/team-context-prompt.d.ts +0 -9
- package/dist/packages/agent-runtime/src/system-prompt/team-prompt.d.ts +0 -9
- package/dist/packages/agent-runtime/src/system-prompt/truncate-file-tree.d.ts +0 -13
- package/dist/packages/agent-runtime/src/team-context.d.ts +0 -14
- package/dist/packages/agent-runtime/src/templates/agent-registry.d.ts +0 -35
- package/dist/packages/agent-runtime/src/templates/prompts.d.ts +0 -35
- package/dist/packages/agent-runtime/src/templates/strings.d.ts +0 -32
- package/dist/packages/agent-runtime/src/templates/types.d.ts +0 -13
- package/dist/packages/agent-runtime/src/tool-stream-parser.d.ts +0 -31
- package/dist/packages/agent-runtime/src/tools/handlers/handler-function-type.d.ts +0 -51
- package/dist/packages/agent-runtime/src/tools/handlers/list.d.ts +0 -366
- package/dist/packages/agent-runtime/src/tools/handlers/tool/add-message.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/add-subgoal.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/ask-user.d.ts +0 -10
- package/dist/packages/agent-runtime/src/tools/handlers/tool/browser-logs.d.ts +0 -8
- package/dist/packages/agent-runtime/src/tools/handlers/tool/code-search.d.ts +0 -8
- package/dist/packages/agent-runtime/src/tools/handlers/tool/create-plan.d.ts +0 -13
- package/dist/packages/agent-runtime/src/tools/handlers/tool/end-turn.d.ts +0 -7
- package/dist/packages/agent-runtime/src/tools/handlers/tool/find-files.d.ts +0 -27
- package/dist/packages/agent-runtime/src/tools/handlers/tool/glob.d.ts +0 -10
- package/dist/packages/agent-runtime/src/tools/handlers/tool/list-directory.d.ts +0 -10
- package/dist/packages/agent-runtime/src/tools/handlers/tool/lookup-agent-info.d.ts +0 -14
- package/dist/packages/agent-runtime/src/tools/handlers/tool/propose-str-replace.d.ts +0 -15
- package/dist/packages/agent-runtime/src/tools/handlers/tool/propose-write-file.d.ts +0 -7
- package/dist/packages/agent-runtime/src/tools/handlers/tool/proposed-content-store.d.ts +0 -27
- package/dist/packages/agent-runtime/src/tools/handlers/tool/read-docs.d.ts +0 -21
- package/dist/packages/agent-runtime/src/tools/handlers/tool/read-files.d.ts +0 -13
- package/dist/packages/agent-runtime/src/tools/handlers/tool/read-subtree.d.ts +0 -13
- package/dist/packages/agent-runtime/src/tools/handlers/tool/run-file-change-hooks.d.ts +0 -10
- package/dist/packages/agent-runtime/src/tools/handlers/tool/run-terminal-command.d.ts +0 -10
- package/dist/packages/agent-runtime/src/tools/handlers/tool/send-message.d.ts +0 -15
- package/dist/packages/agent-runtime/src/tools/handlers/tool/set-messages.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/set-output.d.ts +0 -18
- package/dist/packages/agent-runtime/src/tools/handlers/tool/skill.d.ts +0 -11
- package/dist/packages/agent-runtime/src/tools/handlers/tool/spawn-agent-inline.d.ts +0 -29
- package/dist/packages/agent-runtime/src/tools/handlers/tool/spawn-agent-utils.d.ts +0 -130
- package/dist/packages/agent-runtime/src/tools/handlers/tool/spawn-agents.d.ts +0 -37
- package/dist/packages/agent-runtime/src/tools/handlers/tool/str-replace.d.ts +0 -16
- package/dist/packages/agent-runtime/src/tools/handlers/tool/suggest-followups.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/task-completed.d.ts +0 -15
- package/dist/packages/agent-runtime/src/tools/handlers/tool/task-create.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/task-get.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/task-list.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/task-update.d.ts +0 -14
- package/dist/packages/agent-runtime/src/tools/handlers/tool/team-create.d.ts +0 -15
- package/dist/packages/agent-runtime/src/tools/handlers/tool/team-delete.d.ts +0 -15
- package/dist/packages/agent-runtime/src/tools/handlers/tool/think-deeply.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/handlers/tool/update-subgoal.d.ts +0 -11
- package/dist/packages/agent-runtime/src/tools/handlers/tool/web-search.d.ts +0 -22
- package/dist/packages/agent-runtime/src/tools/handlers/tool/write-file.d.ts +0 -49
- package/dist/packages/agent-runtime/src/tools/handlers/tool/write-todos.d.ts +0 -9
- package/dist/packages/agent-runtime/src/tools/prompts.d.ts +0 -31
- package/dist/packages/agent-runtime/src/tools/stream-parser.d.ts +0 -33
- package/dist/packages/agent-runtime/src/tools/tool-executor.d.ts +0 -87
- package/dist/packages/agent-runtime/src/util/agent-output.d.ts +0 -3
- package/dist/packages/agent-runtime/src/util/messages.d.ts +0 -68
- package/dist/packages/agent-runtime/src/util/parse-tool-calls-from-text.d.ts +0 -38
- package/dist/packages/agent-runtime/src/util/render-read-files-result.d.ts +0 -15
- package/dist/packages/agent-runtime/src/util/simplify-tool-results.d.ts +0 -7
- package/dist/packages/agent-runtime/src/util/stream-xml-parser.d.ts +0 -34
- package/dist/packages/agent-runtime/src/util/token-counter.d.ts +0 -3
- package/dist/packages/code-map/src/index.d.ts +0 -3
- package/dist/packages/code-map/src/init-node.d.ts +0 -4
- package/dist/packages/code-map/src/languages.d.ts +0 -36
- package/dist/packages/code-map/src/parse.d.ts +0 -21
- package/dist/packages/code-map/src/types.d.ts +0 -8
- package/dist/packages/code-map/src/utils.d.ts +0 -1
- package/dist/sdk/src/__tests__/client.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/code-search.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/credentials.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/database.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/env.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/error-utils.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/initial-session-state.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/knowledge-file-selection.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/load-agents.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/load-mcp-config.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/model-provider.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/read-files.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/run-cancellation.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/run-file-filter.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/run-handle-event.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/run.integration.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/team-api.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/user-knowledge-files.test.d.ts +0 -1
- package/dist/sdk/src/__tests__/validate-agents.test.d.ts +0 -1
- package/dist/sdk/src/agents/load-agents.d.ts +0 -106
- package/dist/sdk/src/agents/load-mcp-config.d.ts +0 -69
- package/dist/sdk/src/client.d.ts +0 -71
- package/dist/sdk/src/constants.d.ts +0 -4
- package/dist/sdk/src/credentials.d.ts +0 -58
- package/dist/sdk/src/custom-tool.d.ts +0 -32
- package/dist/sdk/src/env.d.ts +0 -31
- package/dist/sdk/src/error-utils.d.ts +0 -55
- package/dist/sdk/src/impl/__tests__/prompt-result.test.d.ts +0 -1
- package/dist/sdk/src/impl/agent-runtime.d.ts +0 -8
- package/dist/sdk/src/impl/database.d.ts +0 -7
- package/dist/sdk/src/impl/llm.d.ts +0 -8
- package/dist/sdk/src/impl/model-provider.d.ts +0 -61
- package/dist/sdk/src/index.d.ts +0 -41
- package/dist/sdk/src/native/ripgrep.d.ts +0 -7
- package/dist/sdk/src/retry-config.d.ts +0 -46
- package/dist/sdk/src/run-state.d.ts +0 -81
- package/dist/sdk/src/run.d.ts +0 -79
- package/dist/sdk/src/skills/load-skills.d.ts +0 -42
- package/dist/sdk/src/team.d.ts +0 -49
- package/dist/sdk/src/testing/env.d.ts +0 -5
- package/dist/sdk/src/tools/change-file.d.ts +0 -7
- package/dist/sdk/src/tools/code-search.d.ts +0 -13
- package/dist/sdk/src/tools/glob.d.ts +0 -8
- package/dist/sdk/src/tools/index.d.ts +0 -16
- package/dist/sdk/src/tools/list-directory.d.ts +0 -7
- package/dist/sdk/src/tools/read-files.d.ts +0 -16
- package/dist/sdk/src/tools/run-file-change-hooks.d.ts +0 -4
- package/dist/sdk/src/tools/run-terminal-command.d.ts +0 -8
- package/dist/sdk/src/types/env.d.ts +0 -30
- package/dist/sdk/src/validate-agents.d.ts +0 -45
- package/dist/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/dist/vendor/ripgrep/arm64-linux/rg +0 -0
- package/dist/vendor/ripgrep/x64-darwin/rg +0 -0
- package/dist/vendor/ripgrep/x64-linux/rg +0 -0
- package/dist/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/dist/wasm/tree-sitter-c-sharp.wasm +0 -0
- package/dist/wasm/tree-sitter-cpp.wasm +0 -0
- package/dist/wasm/tree-sitter-go.wasm +0 -0
- package/dist/wasm/tree-sitter-java.wasm +0 -0
- package/dist/wasm/tree-sitter-javascript.wasm +0 -0
- package/dist/wasm/tree-sitter-python.wasm +0 -0
- package/dist/wasm/tree-sitter-ruby.wasm +0 -0
- package/dist/wasm/tree-sitter-rust.wasm +0 -0
- package/dist/wasm/tree-sitter-tsx.wasm +0 -0
- package/dist/wasm/tree-sitter-typescript.wasm +0 -0
- package/dist/wasm/tree-sitter.wasm +0 -0
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const publisher = "levelcode";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { TeamRole } from '@levelcode/common/types/team-config';
|
|
2
|
-
import type { AgentDefinition } from '../types/agent-definition';
|
|
3
|
-
/**
|
|
4
|
-
* Map of TeamRole to its AgentDefinition.
|
|
5
|
-
*
|
|
6
|
-
* Roles that exist in the TeamRole type but have no dedicated template
|
|
7
|
-
* (e.g. 'super-senior', 'reviewer') are intentionally omitted.
|
|
8
|
-
*/
|
|
9
|
-
export declare const TEAM_AGENTS: Partial<Record<TeamRole, AgentDefinition>>;
|
|
10
|
-
/**
|
|
11
|
-
* Human-readable descriptions for each team role.
|
|
12
|
-
*/
|
|
13
|
-
export declare const TEAM_ROLE_DESCRIPTIONS: Partial<Record<TeamRole, string>>;
|
|
14
|
-
/**
|
|
15
|
-
* Look up the AgentDefinition for a given team role.
|
|
16
|
-
* Returns undefined if the role has no registered template.
|
|
17
|
-
*/
|
|
18
|
-
export declare function getTeamAgent(role: TeamRole): AgentDefinition | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Get all registered team agent definitions.
|
|
21
|
-
*/
|
|
22
|
-
export declare function getAllTeamAgents(): AgentDefinition[];
|
|
23
|
-
/**
|
|
24
|
-
* Get a map of agent ID to AgentDefinition for all team agents.
|
|
25
|
-
* Useful for registering team agents into the agent template system.
|
|
26
|
-
*/
|
|
27
|
-
export declare function getTeamAgentsByIds(): Record<string, AgentDefinition>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { TeamRole } from '@levelcode/common/types/team-config';
|
|
2
|
-
/**
|
|
3
|
-
* Team roles ordered from lowest to highest authority.
|
|
4
|
-
* Index 0 is the lowest level (intern), last element is the highest (cto).
|
|
5
|
-
*
|
|
6
|
-
* Specialist roles (researcher, scientist, designer, product-lead, tester)
|
|
7
|
-
* are placed alongside their equivalent IC/management level.
|
|
8
|
-
*/
|
|
9
|
-
export declare const ROLE_HIERARCHY: TeamRole[];
|
|
10
|
-
/**
|
|
11
|
-
* Get the numeric authority level for a role.
|
|
12
|
-
* 0 = intern (lowest), 13 = CTO (highest).
|
|
13
|
-
*/
|
|
14
|
-
export declare function getRoleLevel(role: TeamRole): number;
|
|
15
|
-
/**
|
|
16
|
-
* Returns true if the manager role has authority over the subordinate role.
|
|
17
|
-
* A role can manage any role with a strictly lower level.
|
|
18
|
-
*/
|
|
19
|
-
export declare function canManage(managerRole: TeamRole, subordinateRole: TeamRole): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Get the team roles that a given role is allowed to spawn as sub-agents.
|
|
22
|
-
* Returns an empty array for roles that cannot spawn other team agents.
|
|
23
|
-
*/
|
|
24
|
-
export declare function getSpawnableRoles(role: TeamRole): TeamRole[];
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LevelCode Agent Type Definitions
|
|
3
|
-
*
|
|
4
|
-
* This file provides TypeScript type definitions for creating custom LevelCode agents.
|
|
5
|
-
* Import these types in your agent files to get full type safety and IntelliSense.
|
|
6
|
-
*
|
|
7
|
-
* Usage in .agents/your-agent.ts:
|
|
8
|
-
* import { AgentDefinition, ToolName, ModelName } from './types/agent-definition'
|
|
9
|
-
*
|
|
10
|
-
* const definition: AgentDefinition = {
|
|
11
|
-
* // ... your agent configuration with full type safety ...
|
|
12
|
-
* }
|
|
13
|
-
*
|
|
14
|
-
* export default definition
|
|
15
|
-
*/
|
|
16
|
-
export interface AgentDefinition {
|
|
17
|
-
/** Unique identifier for this agent. Must contain only lowercase letters, numbers, and hyphens, e.g. 'code-reviewer' */
|
|
18
|
-
id: string;
|
|
19
|
-
/** Version string (if not provided, will default to '0.0.1' and be bumped on each publish) */
|
|
20
|
-
version?: string;
|
|
21
|
-
/** Publisher ID for the agent. Must be provided if you want to publish the agent. */
|
|
22
|
-
publisher?: string;
|
|
23
|
-
/** Human-readable name for the agent */
|
|
24
|
-
displayName: string;
|
|
25
|
-
/** AI model to use for this agent. Can be any model in OpenRouter: https://openrouter.ai/models */
|
|
26
|
-
model: ModelName;
|
|
27
|
-
/**
|
|
28
|
-
* https://openrouter.ai/docs/use-cases/reasoning-tokens
|
|
29
|
-
* One of `max_tokens` or `effort` is required.
|
|
30
|
-
* If `exclude` is true, reasoning will be removed from the response. Default is false.
|
|
31
|
-
*/
|
|
32
|
-
reasoningOptions?: {
|
|
33
|
-
enabled?: boolean;
|
|
34
|
-
exclude?: boolean;
|
|
35
|
-
} & ({
|
|
36
|
-
max_tokens: number;
|
|
37
|
-
} | {
|
|
38
|
-
effort: 'high' | 'medium' | 'low' | 'minimal' | 'none';
|
|
39
|
-
});
|
|
40
|
-
/**
|
|
41
|
-
* Provider routing options for OpenRouter.
|
|
42
|
-
* Controls which providers to use and fallback behavior.
|
|
43
|
-
* See https://openrouter.ai/docs/features/provider-routing
|
|
44
|
-
*/
|
|
45
|
-
providerOptions?: {
|
|
46
|
-
/**
|
|
47
|
-
* List of provider slugs to try in order (e.g. ["anthropic", "openai"])
|
|
48
|
-
*/
|
|
49
|
-
order?: string[];
|
|
50
|
-
/**
|
|
51
|
-
* Whether to allow backup providers when primary is unavailable (default: true)
|
|
52
|
-
*/
|
|
53
|
-
allow_fallbacks?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Only use providers that support all parameters in your request (default: false)
|
|
56
|
-
*/
|
|
57
|
-
require_parameters?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Control whether to use providers that may store data
|
|
60
|
-
*/
|
|
61
|
-
data_collection?: 'allow' | 'deny';
|
|
62
|
-
/**
|
|
63
|
-
* List of provider slugs to allow for this request
|
|
64
|
-
*/
|
|
65
|
-
only?: string[];
|
|
66
|
-
/**
|
|
67
|
-
* List of provider slugs to skip for this request
|
|
68
|
-
*/
|
|
69
|
-
ignore?: string[];
|
|
70
|
-
/**
|
|
71
|
-
* List of quantization levels to filter by (e.g. ["int4", "int8"])
|
|
72
|
-
*/
|
|
73
|
-
quantizations?: Array<'int4' | 'int8' | 'fp4' | 'fp6' | 'fp8' | 'fp16' | 'bf16' | 'fp32' | 'unknown'>;
|
|
74
|
-
/**
|
|
75
|
-
* Sort providers by price, throughput, or latency
|
|
76
|
-
*/
|
|
77
|
-
sort?: 'price' | 'throughput' | 'latency';
|
|
78
|
-
/**
|
|
79
|
-
* Maximum pricing you want to pay for this request
|
|
80
|
-
*/
|
|
81
|
-
max_price?: {
|
|
82
|
-
prompt?: number | string;
|
|
83
|
-
completion?: number | string;
|
|
84
|
-
image?: number | string;
|
|
85
|
-
audio?: number | string;
|
|
86
|
-
request?: number | string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
/** MCP servers by name. Names cannot contain `/`. */
|
|
90
|
-
mcpServers?: Record<string, MCPConfig>;
|
|
91
|
-
/**
|
|
92
|
-
* Tools this agent can use.
|
|
93
|
-
*
|
|
94
|
-
* By default, all tools are available from any specified MCP server. In
|
|
95
|
-
* order to limit the tools from a specific MCP server, add the tool name(s)
|
|
96
|
-
* in the format `'mcpServerName/toolName1'`, `'mcpServerName/toolName2'`,
|
|
97
|
-
* etc.
|
|
98
|
-
*/
|
|
99
|
-
toolNames?: (ToolName | (string & {}))[];
|
|
100
|
-
/** Other agents this agent can spawn, like 'levelcode/file-picker@0.0.1'.
|
|
101
|
-
*
|
|
102
|
-
* Use the fully qualified agent id from the agent store, including publisher and version: 'levelcode/file-picker@0.0.1'
|
|
103
|
-
* (publisher and version are required!)
|
|
104
|
-
*
|
|
105
|
-
* Or, use the agent id from a local agent file in your .agents directory: 'file-picker'.
|
|
106
|
-
*/
|
|
107
|
-
spawnableAgents?: string[];
|
|
108
|
-
/** The input schema required to spawn the agent. Provide a prompt string and/or a params object or none.
|
|
109
|
-
* 80% of the time you want just a prompt string with a description:
|
|
110
|
-
* inputSchema: {
|
|
111
|
-
* prompt: { type: 'string', description: 'A description of what info would be helpful to the agent' }
|
|
112
|
-
* }
|
|
113
|
-
*/
|
|
114
|
-
inputSchema?: {
|
|
115
|
-
prompt?: {
|
|
116
|
-
type: 'string';
|
|
117
|
-
description?: string;
|
|
118
|
-
};
|
|
119
|
-
params?: JsonObjectSchema;
|
|
120
|
-
};
|
|
121
|
-
/** How the agent should output a response to its parent (defaults to 'last_message')
|
|
122
|
-
*
|
|
123
|
-
* last_message: The last message from the agent, typically after using tools.
|
|
124
|
-
*
|
|
125
|
-
* all_messages: All messages from the agent, including tool calls and results.
|
|
126
|
-
*
|
|
127
|
-
* structured_output: Make the agent output a JSON object. Can be used with outputSchema or without if you want freeform json output.
|
|
128
|
-
*/
|
|
129
|
-
outputMode?: 'last_message' | 'all_messages' | 'structured_output';
|
|
130
|
-
/** JSON schema for structured output (when outputMode is 'structured_output') */
|
|
131
|
-
outputSchema?: JsonObjectSchema;
|
|
132
|
-
/** Prompt for when and why to spawn this agent. Include the main purpose and use cases.
|
|
133
|
-
*
|
|
134
|
-
* This field is key if the agent is intended to be spawned by other agents. */
|
|
135
|
-
spawnerPrompt?: string;
|
|
136
|
-
/** Whether to include conversation history from the parent agent in context.
|
|
137
|
-
*
|
|
138
|
-
* Defaults to false.
|
|
139
|
-
* Use this when the agent needs to know all the previous messages in the conversation.
|
|
140
|
-
*/
|
|
141
|
-
includeMessageHistory?: boolean;
|
|
142
|
-
/** Whether to inherit the parent agent's system prompt instead of using this agent's own systemPrompt.
|
|
143
|
-
*
|
|
144
|
-
* Defaults to false.
|
|
145
|
-
* Use this when you want to enable prompt caching by preserving the same system prompt prefix.
|
|
146
|
-
* Cannot be used together with the systemPrompt field.
|
|
147
|
-
*/
|
|
148
|
-
inheritParentSystemPrompt?: boolean;
|
|
149
|
-
/** Background information for the agent. Fairly optional. Prefer using instructionsPrompt for agent instructions. */
|
|
150
|
-
systemPrompt?: string;
|
|
151
|
-
/** Instructions for the agent.
|
|
152
|
-
*
|
|
153
|
-
* IMPORTANT: Updating this prompt is the best way to shape the agent's behavior.
|
|
154
|
-
* This prompt is inserted after each user input. */
|
|
155
|
-
instructionsPrompt?: string;
|
|
156
|
-
/** Prompt inserted at each agent step.
|
|
157
|
-
*
|
|
158
|
-
* Powerful for changing the agent's behavior, but usually not necessary for smart models.
|
|
159
|
-
* Prefer instructionsPrompt for most instructions. */
|
|
160
|
-
stepPrompt?: string;
|
|
161
|
-
/** Programmatically step the agent forward and run tools.
|
|
162
|
-
*
|
|
163
|
-
* You can either yield:
|
|
164
|
-
* - A tool call object with toolName and input properties.
|
|
165
|
-
* - 'STEP' to run agent's model and generate one assistant message.
|
|
166
|
-
* - 'STEP_ALL' to run the agent's model until it uses the end_turn tool or stops includes no tool calls in a message.
|
|
167
|
-
*
|
|
168
|
-
* Or use 'return' to end the turn.
|
|
169
|
-
*
|
|
170
|
-
* Example 1:
|
|
171
|
-
* function* handleSteps({ agentState, prompt, params, logger }) {
|
|
172
|
-
* logger.info('Starting file read process')
|
|
173
|
-
* const { toolResult } = yield {
|
|
174
|
-
* toolName: 'read_files',
|
|
175
|
-
* input: { paths: ['file1.txt', 'file2.txt'] }
|
|
176
|
-
* }
|
|
177
|
-
* yield 'STEP_ALL'
|
|
178
|
-
*
|
|
179
|
-
* // Optionally do a post-processing step here...
|
|
180
|
-
* logger.info('Files read successfully, setting output')
|
|
181
|
-
* yield {
|
|
182
|
-
* toolName: 'set_output',
|
|
183
|
-
* input: {
|
|
184
|
-
* output: 'The files were read successfully.',
|
|
185
|
-
* },
|
|
186
|
-
* }
|
|
187
|
-
* }
|
|
188
|
-
*
|
|
189
|
-
* Example 2:
|
|
190
|
-
* handleSteps: function* ({ agentState, prompt, params, logger }) {
|
|
191
|
-
* while (true) {
|
|
192
|
-
* logger.debug('Spawning thinker agent')
|
|
193
|
-
* yield {
|
|
194
|
-
* toolName: 'spawn_agents',
|
|
195
|
-
* input: {
|
|
196
|
-
* agents: [
|
|
197
|
-
* {
|
|
198
|
-
* agent_type: 'thinker',
|
|
199
|
-
* prompt: 'Think deeply about the user request',
|
|
200
|
-
* },
|
|
201
|
-
* ],
|
|
202
|
-
* },
|
|
203
|
-
* }
|
|
204
|
-
* const { stepsComplete } = yield 'STEP'
|
|
205
|
-
* if (stepsComplete) break
|
|
206
|
-
* }
|
|
207
|
-
* }
|
|
208
|
-
*/
|
|
209
|
-
handleSteps?: (context: AgentStepContext) => Generator<ToolCall | 'STEP' | 'STEP_ALL' | StepText | GenerateN, void, {
|
|
210
|
-
agentState: AgentState;
|
|
211
|
-
toolResult: ToolResultOutput[] | undefined;
|
|
212
|
-
stepsComplete: boolean;
|
|
213
|
-
nResponses?: string[];
|
|
214
|
-
}>;
|
|
215
|
-
}
|
|
216
|
-
export interface AgentState {
|
|
217
|
-
agentId: string;
|
|
218
|
-
runId: string;
|
|
219
|
-
parentId: string | undefined;
|
|
220
|
-
/** The agent's conversation history: messages from the user and the assistant. */
|
|
221
|
-
messageHistory: Message[];
|
|
222
|
-
/** The last value set by the set_output tool. This is a plain object or undefined if not set. */
|
|
223
|
-
output: Record<string, any> | undefined;
|
|
224
|
-
/** The system prompt for this agent. */
|
|
225
|
-
systemPrompt: string;
|
|
226
|
-
/** The tool definitions for this agent. */
|
|
227
|
-
toolDefinitions: Record<string, {
|
|
228
|
-
description: string | undefined;
|
|
229
|
-
inputSchema: {};
|
|
230
|
-
}>;
|
|
231
|
-
/**
|
|
232
|
-
* The token count from the Anthropic API.
|
|
233
|
-
* This is updated on every agent step via the /api/v1/token-count endpoint.
|
|
234
|
-
*/
|
|
235
|
-
contextTokenCount: number;
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Context provided to handleSteps generator function
|
|
239
|
-
*/
|
|
240
|
-
export interface AgentStepContext {
|
|
241
|
-
agentState: AgentState;
|
|
242
|
-
prompt?: string;
|
|
243
|
-
params?: Record<string, any>;
|
|
244
|
-
logger: Logger;
|
|
245
|
-
}
|
|
246
|
-
export type StepText = {
|
|
247
|
-
type: 'STEP_TEXT';
|
|
248
|
-
text: string;
|
|
249
|
-
};
|
|
250
|
-
export type GenerateN = {
|
|
251
|
-
type: 'GENERATE_N';
|
|
252
|
-
n: number;
|
|
253
|
-
};
|
|
254
|
-
/**
|
|
255
|
-
* Tool call object for handleSteps generator
|
|
256
|
-
*/
|
|
257
|
-
export type ToolCall<T extends ToolName = ToolName> = {
|
|
258
|
-
[K in T]: {
|
|
259
|
-
toolName: K;
|
|
260
|
-
input: GetToolParams<K>;
|
|
261
|
-
includeToolCall?: boolean;
|
|
262
|
-
};
|
|
263
|
-
}[T];
|
|
264
|
-
/**
|
|
265
|
-
* File operation tools
|
|
266
|
-
*/
|
|
267
|
-
export type FileEditingTools = 'read_files' | 'write_file' | 'str_replace';
|
|
268
|
-
/**
|
|
269
|
-
* Code analysis tools
|
|
270
|
-
*/
|
|
271
|
-
export type CodeAnalysisTools = 'code_search' | 'find_files' | 'read_files';
|
|
272
|
-
/**
|
|
273
|
-
* Terminal and system tools
|
|
274
|
-
*/
|
|
275
|
-
export type TerminalTools = 'run_terminal_command' | 'code_search';
|
|
276
|
-
/**
|
|
277
|
-
* Web and browser tools
|
|
278
|
-
*/
|
|
279
|
-
export type WebTools = 'web_search' | 'read_docs';
|
|
280
|
-
/**
|
|
281
|
-
* Agent management tools
|
|
282
|
-
*/
|
|
283
|
-
export type AgentTools = 'spawn_agents';
|
|
284
|
-
/**
|
|
285
|
-
* Output and control tools
|
|
286
|
-
*/
|
|
287
|
-
export type OutputTools = 'set_output';
|
|
288
|
-
/**
|
|
289
|
-
* AI models available for agents. Pick from our selection of recommended models or choose any model in OpenRouter.
|
|
290
|
-
*
|
|
291
|
-
* See available models at https://openrouter.ai/models
|
|
292
|
-
*/
|
|
293
|
-
export type ModelName = 'openai/gpt-5.1' | 'openai/gpt-5.1-chat' | 'openai/gpt-5-mini' | 'openai/gpt-5-nano' | 'anthropic/claude-sonnet-4.5' | 'anthropic/claude-opus-4.1' | 'google/gemini-2.5-pro' | 'google/gemini-2.5-flash' | 'google/gemini-2.5-flash-lite' | 'google/gemini-2.5-flash-preview-09-2025' | 'google/gemini-2.5-flash-lite-preview-09-2025' | 'x-ai/grok-4-07-09' | 'x-ai/grok-4-fast' | 'x-ai/grok-code-fast-1' | 'qwen/qwen3-max' | 'qwen/qwen3-coder-plus' | 'qwen/qwen3-coder' | 'qwen/qwen3-coder:nitro' | 'qwen/qwen3-coder-flash' | 'qwen/qwen3-235b-a22b-2507' | 'qwen/qwen3-235b-a22b-2507:nitro' | 'qwen/qwen3-235b-a22b-thinking-2507' | 'qwen/qwen3-235b-a22b-thinking-2507:nitro' | 'qwen/qwen3-30b-a3b' | 'qwen/qwen3-30b-a3b:nitro' | 'deepseek/deepseek-chat-v3-0324' | 'deepseek/deepseek-chat-v3-0324:nitro' | 'deepseek/deepseek-r1-0528' | 'deepseek/deepseek-r1-0528:nitro' | 'moonshotai/kimi-k2' | 'moonshotai/kimi-k2:nitro' | 'z-ai/glm-4.6' | 'z-ai/glm-4.6:nitro' | (string & {});
|
|
294
|
-
import type { ToolName, GetToolParams } from './tools';
|
|
295
|
-
import type { Message, ToolResultOutput, JsonObjectSchema, MCPConfig, Logger } from './util-types';
|
|
296
|
-
export type { ToolName, GetToolParams };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { AgentDefinition } from './agent-definition';
|
|
2
|
-
import type * as Tools from './tools';
|
|
3
|
-
export type { Tools };
|
|
4
|
-
export type AllToolNames = Tools.ToolName | 'add_subgoal' | 'browser_logs' | 'create_plan' | 'spawn_agent_inline' | 'update_subgoal';
|
|
5
|
-
export interface SecretAgentDefinition extends Omit<AgentDefinition, 'toolNames'> {
|
|
6
|
-
/** Tools this agent can use. */
|
|
7
|
-
toolNames?: AllToolNames[];
|
|
8
|
-
}
|
|
9
|
-
declare const placeholderNames: readonly ["AGENT_NAME", "AGENTS_PROMPT", "FILE_TREE_PROMPT_SMALL", "FILE_TREE_PROMPT", "FILE_TREE_PROMPT_LARGE", "GIT_CHANGES_PROMPT", "INITIAL_AGENT_PROMPT", "KNOWLEDGE_FILES_CONTENTS", "PROJECT_ROOT", "REMAINING_STEPS", "SYSTEM_INFO_PROMPT", "TOOLS_PROMPT", "USER_CWD", "USER_INPUT_PROMPT"];
|
|
10
|
-
type PlaceholderType<T extends readonly string[]> = {
|
|
11
|
-
[K in T[number]]: `{LEVELCODE_${K}}`;
|
|
12
|
-
};
|
|
13
|
-
export declare const PLACEHOLDER: PlaceholderType<typeof placeholderNames>;
|
|
14
|
-
export type PlaceholderValue = (typeof PLACEHOLDER)[keyof typeof PLACEHOLDER];
|
|
15
|
-
export declare const placeholderValues: ("{LEVELCODE_AGENT_NAME}" | "{LEVELCODE_FILE_TREE_PROMPT_SMALL}" | "{LEVELCODE_FILE_TREE_PROMPT}" | "{LEVELCODE_FILE_TREE_PROMPT_LARGE}" | "{LEVELCODE_GIT_CHANGES_PROMPT}" | "{LEVELCODE_INITIAL_AGENT_PROMPT}" | "{LEVELCODE_KNOWLEDGE_FILES_CONTENTS}" | "{LEVELCODE_PROJECT_ROOT}" | "{LEVELCODE_REMAINING_STEPS}" | "{LEVELCODE_SYSTEM_INFO_PROMPT}" | "{LEVELCODE_USER_CWD}" | "{LEVELCODE_USER_INPUT_PROMPT}" | "{LEVELCODE_AGENTS_PROMPT}" | "{LEVELCODE_TOOLS_PROMPT}")[];
|
|
16
|
-
export declare const AgentTemplateTypeList: readonly ["base", "base_lite", "base_max", "base_experimental", "claude4_gemini_thinking", "superagent", "base_agent_builder", "ask", "dry_run", "thinker", "file_picker", "file_explorer", "researcher", "reviewer", "agent_builder", "example_programmatic"];
|
|
17
|
-
type UnderscoreToDash<S extends string> = S extends `${infer L}_${infer R}` ? `${L}-${UnderscoreToDash<R>}` : S;
|
|
18
|
-
export declare const AgentTemplateTypes: { [K in (typeof AgentTemplateTypeList)[number]]: UnderscoreToDash<K>; };
|
|
19
|
-
export type AgentTemplateType = (typeof AgentTemplateTypeList)[number] | (string & {});
|