@auto-ai/agent 2.1.97 → 2.1.101
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/404.html +1 -1
- package/dist/_next/static/chunks/61a0a3d64729e396.js +5 -0
- package/dist/_next/static/chunks/{52e2164e45febae6.js → 709b3b8b804968f9.js} +1 -1
- package/dist/_next/static/chunks/{52b5f438315e1669.js → 91c478c455e6fe7d.js} +1 -1
- package/dist/_next/static/chunks/ca9f8762dcc69f96.js +1 -0
- package/dist/_next/static/chunks/e070f5d18cd33b41.js +5 -0
- package/dist/_next/static/chunks/e520aa06a5014225.js +1 -0
- package/dist/_next/static/chunks/ef1e3e3691ffdba4.js +1 -0
- package/dist/_next/static/chunks/f2835908a39a5ecd.js +1 -0
- package/dist/_next/static/chunks/fedb1cd789e83a36.js +1 -0
- package/dist/_next/static/chunks/{turbopack-3d84668fefd38b4b.js → turbopack-c6738ed405f889d3.js} +1 -1
- package/dist/_next/static/chunks/{turbopack-8b41433c9a94981f.js → turbopack-d89adea5a8b1dc47.js} +1 -1
- package/dist/_next/static/chunks/{turbopack-be468c2a89b10d33.js → turbopack-fd992622892ef26f.js} +1 -1
- package/dist/_next/static/{Y0q5wZJWOYM0DHKGzws1i → sZLdRgbBZICVvq28FwOCR}/_buildManifest.js +1 -1
- package/dist/index.html +1 -1
- package/dist/index.txt +25 -27
- package/dist/manage/{about/index.html → about.html} +2 -2
- package/dist/manage/about.txt +38 -0
- package/dist/manage/add-account/{index.html → basic.html} +2 -2
- package/dist/manage/add-account/basic.txt +36 -0
- package/dist/manage/add-account/{prompt/index.html → prompt.html} +2 -2
- package/dist/manage/add-account/prompt.txt +37 -0
- package/dist/manage/{add-account/basic/index.html → add-account.html} +2 -2
- package/dist/manage/add-account.txt +42 -0
- package/dist/manage/{agent-teams/index.html → agent-teams.html} +2 -2
- package/dist/manage/agent-teams.txt +42 -0
- package/dist/manage/{env/index.html → env.html} +2 -2
- package/dist/manage/env.txt +41 -0
- package/dist/manage/{permissions/index.html → general.html} +2 -2
- package/dist/manage/general.txt +39 -0
- package/dist/manage/{mcp/index.html → mcp.html} +2 -2
- package/dist/manage/mcp.txt +41 -0
- package/dist/manage/{general/index.html → permissions.html} +2 -2
- package/dist/manage/permissions.txt +39 -0
- package/dist/manage/{skills/index.html → skills.html} +2 -2
- package/dist/manage/skills.txt +41 -0
- package/dist/manage/{task/index.html → task.html} +2 -2
- package/dist/manage/task.txt +39 -0
- package/dist/manage/teams.html +1 -0
- package/dist/manage/teams.txt +38 -0
- package/dist/manage/{tools/index.html → tools.html} +2 -2
- package/dist/manage/tools.txt +41 -0
- package/dist/manage.html +1 -0
- package/dist/manage.txt +35 -0
- package/dist/ws-test.html +1 -1
- package/lib/launcher-env.js +64 -4
- package/mcps-runtime/claude-tuitui/.mcp.json +2 -2
- package/package.json +8 -6
- package/skills-runtime/geelib/SKILL.md +229 -0
- package/skills-runtime/geelib/build.mjs +15 -0
- package/skills-runtime/geelib/cli/args.ts +67 -0
- package/skills-runtime/geelib/cli/auth.ts +159 -0
- package/skills-runtime/geelib/cli/client.ts +56 -0
- package/skills-runtime/geelib/cli/commands/comment.ts +25 -0
- package/skills-runtime/geelib/cli/commands/matter.ts +167 -0
- package/skills-runtime/geelib/cli/commands/poll.ts +322 -0
- package/skills-runtime/geelib/cli/commands/project.ts +98 -0
- package/skills-runtime/geelib/cli/commands/user.ts +5 -0
- package/skills-runtime/geelib/cli/index.ts +171 -0
- package/skills-runtime/geelib/geelib-poller-state.json +17 -0
- package/skills-runtime/geelib/geelib.mjs +762 -0
- package/skills-runtime/geelib/node_modules/.package-lock.json +67 -0
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/README.md +3 -0
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/skills-runtime/geelib/node_modules/@esbuild/linux-x64/package.json +20 -0
- package/skills-runtime/geelib/node_modules/esbuild/LICENSE.md +21 -0
- package/skills-runtime/geelib/node_modules/esbuild/README.md +3 -0
- package/skills-runtime/geelib/node_modules/esbuild/bin/esbuild +0 -0
- package/skills-runtime/geelib/node_modules/esbuild/install.js +289 -0
- package/skills-runtime/geelib/node_modules/esbuild/lib/main.d.ts +716 -0
- package/skills-runtime/geelib/node_modules/esbuild/lib/main.js +2242 -0
- package/skills-runtime/geelib/node_modules/esbuild/package.json +49 -0
- package/skills-runtime/geelib/package-lock.json +499 -0
- package/skills-runtime/geelib/package.json +12 -0
- package/tools-runtime/code-tool/build-cli.ts +10 -0
- package/tools-runtime/code-tool/build.ts +10 -0
- package/tools-runtime/code-tool/bun.lock +15 -0
- package/tools-runtime/code-tool/code-tool.mjs +292 -0
- package/tools-runtime/code-tool/index.cjs +15179 -0
- package/tools-runtime/code-tool/node_modules/zod/LICENSE +21 -0
- package/tools-runtime/code-tool/node_modules/zod/README.md +191 -0
- package/tools-runtime/code-tool/node_modules/zod/index.cjs +33 -0
- package/tools-runtime/code-tool/node_modules/zod/index.d.cts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/index.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/index.js +4 -0
- package/tools-runtime/code-tool/node_modules/zod/locales/index.cjs +17 -0
- package/tools-runtime/code-tool/node_modules/zod/locales/index.d.cts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/locales/index.d.ts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/locales/index.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/locales/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/mini/index.cjs +32 -0
- package/tools-runtime/code-tool/node_modules/zod/mini/index.d.cts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/mini/index.d.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/mini/index.js +3 -0
- package/tools-runtime/code-tool/node_modules/zod/mini/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/package.json +135 -0
- package/tools-runtime/code-tool/node_modules/zod/src/index.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/src/locales/index.ts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/src/mini/index.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/errors.ts +13 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/external.ts +6 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/index.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v3/types.ts +5138 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/config.ts +15 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/core.ts +153 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/index.ts +16 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/util.ts +983 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/index.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/tools-runtime/code-tool/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.cjs +138 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/ZodError.js +133 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.cjs +17 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.d.ts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/errors.js +9 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/external.cjs +22 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/external.d.cts +6 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/external.d.ts +6 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/external.js +6 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/helpers/util.js +133 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/index.cjs +33 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/index.d.cts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/index.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/index.js +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.cjs +112 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/locales/en.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/standard-schema.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/types.cjs +3777 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/types.d.cts +1034 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/types.d.ts +1034 -0
- package/tools-runtime/code-tool/node_modules/zod/v3/types.js +3695 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/checks.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/coerce.js +17 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/compat.js +31 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/errors.js +48 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.cjs +73 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/external.js +20 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.cjs +33 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/index.js +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/iso.js +30 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/parse.js +15 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.cjs +1227 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.d.cts +325 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.d.ts +325 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/api.js +1087 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.cjs +601 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/checks.js +575 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.cjs +85 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.d.cts +70 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.d.ts +70 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/core.js +78 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.cjs +39 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/doc.js +35 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.cjs +216 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/errors.js +185 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.cjs +47 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.d.cts +16 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.d.ts +16 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/index.js +16 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/json-schema.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.cjs +131 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/parse.js +93 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/regexes.js +139 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.cjs +56 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/registries.js +51 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/schemas.js +2239 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.cjs +734 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.d.cts +200 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.d.ts +200 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/util.js +674 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.cjs +8 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/core/versions.js +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/index.cjs +22 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/index.d.cts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/index.d.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/index.js +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ar.js +106 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.cjs +132 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/az.js +105 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.cjs +183 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/be.js +156 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/bg.js +120 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ca.js +107 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/cs.js +111 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.cjs +142 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/da.js +115 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.cjs +135 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/de.js +108 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/el.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.cjs +140 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/en.js +113 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/eo.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.cjs +159 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/es.js +132 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fa.js +114 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fi.js +112 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/fr.js +125 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.cjs +241 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/he.js +214 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hr.js +122 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hu.js +108 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/hy.js +147 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.cjs +133 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/id.js +106 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.cjs +111 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/index.js +52 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/is.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.cjs +135 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/it.js +108 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ja.js +107 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ka.js +112 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/kh.js +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/km.js +110 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ko.js +111 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/lt.js +203 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/mk.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ms.js +107 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/nl.js +110 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.cjs +135 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/no.js +108 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ota.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pl.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ps.js +114 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/pt.js +108 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ro.js +119 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ru.js +156 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sl.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/sv.js +110 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ta.js +110 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/th.js +110 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/tr.js +105 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ua.js +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uk.js +108 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/ur.js +110 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/uz.js +110 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/vi.js +108 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/yo.js +107 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/checks.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/coerce.js +22 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.cjs +63 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/external.js +14 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.cjs +32 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/index.js +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/iso.js +34 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/parse.js +1 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/mini/schemas.js +961 -0
- package/tools-runtime/code-tool/node_modules/zod/v4/package.json +7 -0
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.cjs +32 -0
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/index.js +3 -0
- package/tools-runtime/code-tool/node_modules/zod/v4-mini/package.json +7 -0
- package/tools-runtime/code-tool/package.json +12 -0
- package/tools-runtime/code-tool/src/actions/apply.ts +32 -0
- package/tools-runtime/code-tool/src/actions/inspect.ts +30 -0
- package/tools-runtime/code-tool/src/actions/prepare.ts +22 -0
- package/tools-runtime/code-tool/src/actions/read.ts +22 -0
- package/tools-runtime/code-tool/src/actions/record.ts +37 -0
- package/tools-runtime/code-tool/src/actions/run.ts +54 -0
- package/tools-runtime/code-tool/src/actions/search.ts +46 -0
- package/tools-runtime/code-tool/src/actions/status.ts +35 -0
- package/tools-runtime/code-tool/src/agentConfig.test.ts +16 -0
- package/tools-runtime/code-tool/src/agentConfig.ts +28 -0
- package/tools-runtime/code-tool/src/cli.ts +42 -0
- package/tools-runtime/code-tool/src/codeMdTemplate.ts +33 -0
- package/tools-runtime/code-tool/src/hooks.ts +33 -0
- package/tools-runtime/code-tool/src/index.ts +204 -0
- package/tools-runtime/code-tool/src/memory/constants.ts +13 -0
- package/tools-runtime/code-tool/src/memory/loadCodeMd.ts +194 -0
- package/tools-runtime/code-tool/src/memory/types.ts +9 -0
- package/tools-runtime/code-tool/src/mergeSection.test.ts +28 -0
- package/tools-runtime/code-tool/src/mergeSection.ts +68 -0
- package/tools-runtime/code-tool/src/pathGuard.ts +31 -0
- package/tools-runtime/code-tool/src/projectScan.ts +61 -0
- package/tools-runtime/code-tool/src/sessionAppend.ts +38 -0
- package/tools-runtime/code-tool/src/workspace.ts +24 -0
- package/tools-runtime/code-tool/src/wsInit.ts +53 -0
- package/tools-runtime/git-tool/build.ts +24 -0
- package/tools-runtime/git-tool/bun.lock +15 -0
- package/tools-runtime/git-tool/index.cjs +14210 -0
- package/tools-runtime/git-tool/package.json +12 -0
- package/tools-runtime/git-tool/src/agentConfig.test.ts +16 -0
- package/tools-runtime/git-tool/src/agentConfig.ts +34 -0
- package/tools-runtime/git-tool/src/hooks.ts +32 -0
- package/tools-runtime/git-tool/src/index.ts +505 -0
- package/tools-runtime/git-tool/src/workspace.test.ts +143 -0
- package/tools-runtime/git-tool/src/workspace.ts +277 -0
- package/tools-runtime/git-tool/src/wsInit.ts +25 -0
- package/tools-runtime/schedule-tool/build.ts +10 -0
- package/tools-runtime/schedule-tool/index.cjs +14078 -0
- package/tools-runtime/schedule-tool/package.json +12 -0
- package/tools-runtime/schedule-tool/src/agentConfig.test.ts +16 -0
- package/tools-runtime/schedule-tool/src/agentConfig.ts +28 -0
- package/tools-runtime/schedule-tool/src/cron.ts +152 -0
- package/tools-runtime/schedule-tool/src/index.test.ts +36 -0
- package/tools-runtime/schedule-tool/src/index.ts +517 -0
- package/dist/404/index.html +0 -1
- package/dist/_next/static/chunks/40268f8e3ff0314e.js +0 -1
- package/dist/_next/static/chunks/6fa420f0e5f24320.js +0 -1
- package/dist/_next/static/chunks/7cdc032fa6c9ed66.js +0 -1
- package/dist/_next/static/chunks/8febd4f373e343fe.js +0 -1
- package/dist/_next/static/chunks/ad4ba491cf12423f.js +0 -5
- package/dist/_next/static/chunks/dfa1d01a3980836a.js +0 -1
- package/dist/_next/static/chunks/ebcd85ff4a1db0dc.js +0 -5
- package/dist/manage/about/index.txt +0 -40
- package/dist/manage/add-account/basic/index.txt +0 -37
- package/dist/manage/add-account/index.txt +0 -38
- package/dist/manage/add-account/prompt/index.txt +0 -38
- package/dist/manage/agent-teams/index.txt +0 -38
- package/dist/manage/env/index.txt +0 -42
- package/dist/manage/general/index.txt +0 -40
- package/dist/manage/index.html +0 -1
- package/dist/manage/index.txt +0 -36
- package/dist/manage/mcp/index.txt +0 -42
- package/dist/manage/permissions/index.txt +0 -35
- package/dist/manage/skills/index.txt +0 -43
- package/dist/manage/task/index.txt +0 -40
- package/dist/manage/teams/index.html +0 -1
- package/dist/manage/teams/index.txt +0 -40
- package/dist/manage/tools/index.txt +0 -43
- /package/dist/_next/static/{Y0q5wZJWOYM0DHKGzws1i → sZLdRgbBZICVvq28FwOCR}/_clientMiddlewareManifest.json +0 -0
- /package/dist/_next/static/{Y0q5wZJWOYM0DHKGzws1i → sZLdRgbBZICVvq28FwOCR}/_ssgManifest.js +0 -0
package/lib/launcher-env.js
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* agent 启动环境:默认路径 + .env
|
|
3
|
-
* 发布时由
|
|
2
|
+
* agent 启动环境:默认路径 + .env + 内置 runtime 同步到 .ws-agents。
|
|
3
|
+
* 发布时由 sync-launcher-env 复制为 packages/agent/lib/launcher-env.js(单文件,无子模块依赖)。
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { existsSync, readFileSync } from 'node:fs'
|
|
6
|
+
import { cpSync, existsSync, mkdirSync, readFileSync } from 'node:fs'
|
|
7
7
|
import { homedir } from 'node:os'
|
|
8
8
|
import { dirname, join } from 'node:path'
|
|
9
|
+
import { fileURLToPath } from 'node:url'
|
|
9
10
|
import { createRequire } from 'node:module'
|
|
10
11
|
|
|
11
12
|
const require = createRequire(import.meta.url)
|
|
12
13
|
|
|
14
|
+
/** 与 prepack、wsSkillRuntime 等保持一致的内置 runtime 目录名 */
|
|
15
|
+
const BUILTIN_RUNTIME_DIR_NAMES = [
|
|
16
|
+
'skills-runtime',
|
|
17
|
+
'tools-runtime',
|
|
18
|
+
'mcps-runtime',
|
|
19
|
+
]
|
|
20
|
+
|
|
13
21
|
export function resolveMainPackageRoot() {
|
|
14
22
|
try {
|
|
15
23
|
return dirname(require.resolve('@auto-ai/agent/package.json'))
|
|
@@ -18,6 +26,58 @@ export function resolveMainPackageRoot() {
|
|
|
18
26
|
}
|
|
19
27
|
}
|
|
20
28
|
|
|
29
|
+
/**
|
|
30
|
+
* 内置 runtime 来源根:已安装的 @auto-ai/agent 包根,或源码仓库根。
|
|
31
|
+
*/
|
|
32
|
+
export function resolveBundledRuntimeSourceRoot() {
|
|
33
|
+
try {
|
|
34
|
+
const pkgJson = require.resolve('@auto-ai/agent/package.json')
|
|
35
|
+
return dirname(pkgJson)
|
|
36
|
+
} catch {
|
|
37
|
+
return join(dirname(fileURLToPath(import.meta.url)), '..')
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 解析 WS_AGENTS_ROOT:显式环境变量优先,否则 <WS_PROJECT_ROOT|cwd>/.ws-agents。
|
|
43
|
+
*/
|
|
44
|
+
export function resolveWsAgentsRoot(env) {
|
|
45
|
+
const fromEnv = env.WS_AGENTS_ROOT?.trim()
|
|
46
|
+
if (fromEnv) {
|
|
47
|
+
return fromEnv
|
|
48
|
+
}
|
|
49
|
+
const projectRoot = env.WS_PROJECT_ROOT?.trim() || process.cwd()
|
|
50
|
+
return join(projectRoot, '.ws-agents')
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 若 .ws-agents 下尚无对应 runtime 目录,则从包内/仓库根复制一份。
|
|
55
|
+
* 已存在则跳过,避免覆盖用户通过 API 安装或手工改动的内容。
|
|
56
|
+
*/
|
|
57
|
+
export function ensureWsAgentsBuiltinRuntime(env) {
|
|
58
|
+
const agentsRoot = resolveWsAgentsRoot(env)
|
|
59
|
+
if (!env.WS_AGENTS_ROOT?.trim()) {
|
|
60
|
+
env.WS_AGENTS_ROOT = agentsRoot
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const sourceRoot = resolveBundledRuntimeSourceRoot()
|
|
64
|
+
mkdirSync(agentsRoot, { recursive: true })
|
|
65
|
+
|
|
66
|
+
for (const dirName of BUILTIN_RUNTIME_DIR_NAMES) {
|
|
67
|
+
const src = join(sourceRoot, dirName)
|
|
68
|
+
const dest = join(agentsRoot, dirName)
|
|
69
|
+
if (!existsSync(src) || existsSync(dest)) {
|
|
70
|
+
continue
|
|
71
|
+
}
|
|
72
|
+
cpSync(src, dest, {
|
|
73
|
+
recursive: true,
|
|
74
|
+
filter: path => !path.split(/[/\\]+/).includes('.ws-agent'),
|
|
75
|
+
})
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return env
|
|
79
|
+
}
|
|
80
|
+
|
|
21
81
|
function applyDotenvLines(env, text) {
|
|
22
82
|
for (const line of text.split('\n')) {
|
|
23
83
|
const trimmed = line.trim()
|
|
@@ -68,7 +128,7 @@ export function buildLauncherEnv(baseEnv = process.env) {
|
|
|
68
128
|
loadDotenvFile(env, join(homedir(), '.config', 'agent', 'env'))
|
|
69
129
|
loadDotenvFile(env, join(homedir(), '.agent.env'))
|
|
70
130
|
|
|
71
|
-
return env
|
|
131
|
+
return ensureWsAgentsBuiltinRuntime(env)
|
|
72
132
|
}
|
|
73
133
|
|
|
74
134
|
/** 写入当前进程环境(源码直接启动 wsServer 时使用) */
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"tuitui": {
|
|
4
4
|
"command": "node",
|
|
5
|
-
"args": ["${
|
|
5
|
+
"args": ["${WS_AGENTS_ROOT}/mcps-runtime/claude-tuitui/server/boot.mjs"],
|
|
6
6
|
"env": {
|
|
7
7
|
"TUITUI_APP_ID": "${TUITUI_APP_ID}",
|
|
8
8
|
"TUITUI_APP_SECRET": "${TUITUI_APP_SECRET}",
|
|
9
|
-
"TUITUI_STATE_DIR": "${
|
|
9
|
+
"TUITUI_STATE_DIR": "${WS_AGENTS_ROOT}/mcps-runtime/claude-tuitui/.state",
|
|
10
10
|
"TUITUI_DM_POLICY": "allowlist",
|
|
11
11
|
"TUITUI_GROUP_POLICY": "allowlist",
|
|
12
12
|
"TUITUI_REQUIRE_MENTION": "true",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auto-ai/agent",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.101",
|
|
4
4
|
"description": "Auto AI Agent 网关 CLI(WebSocket,独立二进制,无需 Bun)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"maintainers": [
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
"bin/agent.js",
|
|
17
17
|
"lib/launcher-env.js",
|
|
18
18
|
"dist",
|
|
19
|
+
"skills-runtime",
|
|
20
|
+
"tools-runtime",
|
|
19
21
|
"mcps-runtime",
|
|
20
22
|
"README.md",
|
|
21
23
|
"LICENSE",
|
|
@@ -25,11 +27,11 @@
|
|
|
25
27
|
"node": ">=18"
|
|
26
28
|
},
|
|
27
29
|
"optionalDependencies": {
|
|
28
|
-
"@auto-ai/agent-linux-x64": "2.1.
|
|
29
|
-
"@auto-ai/agent-linux-arm64": "2.1.
|
|
30
|
-
"@auto-ai/agent-darwin-x64": "2.1.
|
|
31
|
-
"@auto-ai/agent-darwin-arm64": "2.1.
|
|
32
|
-
"@auto-ai/agent-win-x64": "2.1.
|
|
30
|
+
"@auto-ai/agent-linux-x64": "2.1.101",
|
|
31
|
+
"@auto-ai/agent-linux-arm64": "2.1.101",
|
|
32
|
+
"@auto-ai/agent-darwin-x64": "2.1.101",
|
|
33
|
+
"@auto-ai/agent-darwin-arm64": "2.1.101",
|
|
34
|
+
"@auto-ai/agent-win-x64": "2.1.101"
|
|
33
35
|
},
|
|
34
36
|
"scripts": {
|
|
35
37
|
"prepare": "node ../../scripts/sync-launcher-env.js",
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: geelib
|
|
3
|
+
description: GeeLib 工作项 CLI;项目、工作项、状态、评论的查询与更新
|
|
4
|
+
argument-hint: "[list-matters | get-matter | update-matter | poll | ...]"
|
|
5
|
+
user-invocable: true
|
|
6
|
+
allowed-tools: Bash(node:*)
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# geelib — GeeLib 工作项 CLI
|
|
10
|
+
|
|
11
|
+
通过内嵌 CLI 操作 GeeLib。**数据必须来自 CLI 的 JSON 输出**;禁止 MCP、禁止浏览器、禁止编造。
|
|
12
|
+
|
|
13
|
+
## 使用方式
|
|
14
|
+
|
|
15
|
+
Skill 工具注入本说明并放开 `Bash(node:*)`。**Skill 不执行 CLI、不返回 GeeLib 数据**。
|
|
16
|
+
|
|
17
|
+
收到本说明后:
|
|
18
|
+
|
|
19
|
+
1. 根据用户意图选择子命令(见下方命令参考)
|
|
20
|
+
2. 用 `Bash` 执行 `node ${CLAUDE_SKILL_DIR}/geelib.mjs <command> [options]`
|
|
21
|
+
3. 解析 stdout JSON(成功时通常 `errno === 2000`)
|
|
22
|
+
4. 仅基于 CLI 返回组织回复;失败或无数据时如实说明
|
|
23
|
+
|
|
24
|
+
**禁止** Glob/Read 去找 SKILL.md(本说明已在上下文中)。
|
|
25
|
+
|
|
26
|
+
`$ARGUMENTS` 是自然语言描述,需映射为 CLI 子命令与 `--flag`,不要原样当作 shell 命令。
|
|
27
|
+
|
|
28
|
+
## 进行中项目(Skill 加载时自动刷新)
|
|
29
|
+
|
|
30
|
+
以下列表在加载本 Skill 时从 GeeLib 拉取(`is_archive=0`)。选择 `--sub-id` 时优先使用下表,无需再 Glob/Read SKILL 或重复 `list-projects` 全量 JSON。
|
|
31
|
+
|
|
32
|
+
!`node ${CLAUDE_SKILL_DIR}/geelib.mjs list-active-projects`
|
|
33
|
+
|
|
34
|
+
## CLI 基础
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs <command> [options]
|
|
38
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs help
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
- `${CLAUDE_SKILL_DIR}`:skill 根目录,仅用打包产物 `geelib.mjs`
|
|
42
|
+
- 参数:`--key=value` 或 `--key value`;缺必填参数时 CLI 报错退出
|
|
43
|
+
- 输出:stdout 一般为 JSON(`list-active-projects` 为 Markdown 表格文本);stderr 以 `[geelib-cli]` 开头表示 CLI 级错误
|
|
44
|
+
|
|
45
|
+
### 环境变量
|
|
46
|
+
|
|
47
|
+
| 变量 | 必填 | 说明 |
|
|
48
|
+
|------|------|------|
|
|
49
|
+
| `GEELIB_USER` | 是 | SSO 用户名 |
|
|
50
|
+
| `GEELIB_PASSWD` | 是 | SSO 密码 |
|
|
51
|
+
| `GEELIB_BASE_URL` | 否 | 默认 `https://geelib.qihoo.net` |
|
|
52
|
+
|
|
53
|
+
### 常见依赖关系
|
|
54
|
+
|
|
55
|
+
多数工作项操作需要先拿到 `sub_id`(项目)和 `type_id`(工作项类型)。**用户说的「8520」等版本号是项目名称,不是 `--sub-id`**;从上文「进行中项目」表或 `list-projects --query=8520` 解析真实 sub_id。
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-projects [--query=关键词]
|
|
59
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-matter-types --sub-id=<sub_id>
|
|
60
|
+
# 后续命令使用 --sub-id 与 --type-id
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
CLI 无通用日期/版本筛选参数;若用户按时间、版本等条件过滤,在 `list-matters` 返回的 `data.matterList[]` 中按 `create_time` 自行筛选。总数见 `data.total`;需要更多结果时递增 `--page`。
|
|
64
|
+
|
|
65
|
+
## CLI 命令参考
|
|
66
|
+
|
|
67
|
+
### get-user-info
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs get-user-info
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
关键字段:`data.id` 或 `data.user_id`。
|
|
74
|
+
|
|
75
|
+
### list-projects
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-projects
|
|
79
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-projects --query=关键词
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
列表在 `data.list` 或 `data`;项目 ID 取 `id` 或 `sub_id` → `--sub-id`。
|
|
83
|
+
|
|
84
|
+
### list-active-projects
|
|
85
|
+
|
|
86
|
+
输出进行中项目摘要表(纯文本,供 Skill 加载注入;见上文「进行中项目」)。
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-active-projects
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### get-project-detail
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs get-project-detail --sub-id=123
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### list-project-members
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-project-members --sub-id=123
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### list-matter-types
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-matter-types --sub-id=123
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
关键字段:`data[]` 为数组;类型 ID 取 `id`(即 `--type-id`);名称在 `type_name` 或 `name`。
|
|
111
|
+
|
|
112
|
+
### list-matter-statuses
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-matter-statuses --sub-id=123 --type-id=456
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
状态 ID 取 `status_id` 或 `matterStatus.id` 或 `id`;名称在 `matterStatus.status_name` 或 `name`。
|
|
119
|
+
|
|
120
|
+
### list-matters
|
|
121
|
+
|
|
122
|
+
分页查询工作项列表。
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-matters --sub-id=123 --type-id=456
|
|
126
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-matters --sub-id=123 --type-id=456 --page=1 --page-size=20
|
|
127
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-matters --sub-id=123 --type-id=456 --keyword=标题关键词
|
|
128
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs list-matters --sub-id=123 --type-id=456 --status-id=5 --assignee-id=789
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
| 参数 | 必填 | 说明 |
|
|
132
|
+
|------|------|------|
|
|
133
|
+
| `--sub-id` | 是 | 项目 ID |
|
|
134
|
+
| `--type-id` | 是 | 工作项类型 ID |
|
|
135
|
+
| `--page` | 否 | 页码,默认 1 |
|
|
136
|
+
| `--page-size` | 否 | 每页条数,默认 20 |
|
|
137
|
+
| `--keyword` | 否 | 标题模糊搜索 |
|
|
138
|
+
| `--status-id` | 否 | 按状态过滤 |
|
|
139
|
+
| `--assignee-id` | 否 | 按执行人过滤 |
|
|
140
|
+
|
|
141
|
+
列表在 `data.matterList`(数组);总条数 `data.total`。单条 ID 取 `id` 或 `matter_id`;创建时间 `create_time`;标题 `title`;状态名 `status_name`。
|
|
142
|
+
|
|
143
|
+
**不要用 `data.list` 或 `data.data`**(API 不返回这两个字段)。
|
|
144
|
+
|
|
145
|
+
### get-matter
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs get-matter --sub-id=123 --matter-id=999
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
常用字段(均在 `data` 下):
|
|
152
|
+
|
|
153
|
+
| 字段 | 含义 |
|
|
154
|
+
|------|------|
|
|
155
|
+
| `title` | 标题 |
|
|
156
|
+
| `content` | 描述/正文 |
|
|
157
|
+
| `matter_status` | 当前状态 ID |
|
|
158
|
+
| `status_name` | 当前状态名称 |
|
|
159
|
+
| `matterCustomAttributes` | 自定义字段 |
|
|
160
|
+
|
|
161
|
+
### update-matter
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs update-matter --sub-id=123 --matter-id=999 --status-id=5
|
|
165
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs update-matter --sub-id=123 --matter-id=999 --title="新标题" --description="新描述"
|
|
166
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs update-matter --sub-id=123 --matter-id=999 --assignee-id=789 --priority=high --progress=100
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
| 参数 | 必填 | 说明 |
|
|
170
|
+
|------|------|------|
|
|
171
|
+
| `--sub-id` | 是 | 项目 ID |
|
|
172
|
+
| `--matter-id` | 是 | 工作项 ID |
|
|
173
|
+
| `--title` | 否 | 标题 |
|
|
174
|
+
| `--description` | 否 | 描述(映射为 API `content`) |
|
|
175
|
+
| `--status-id` | 否 | 目标状态 ID |
|
|
176
|
+
| `--assignee-id` | 否 | 执行人用户 ID |
|
|
177
|
+
| `--priority` | 否 | `low` / `medium` / `high` / `urgent` |
|
|
178
|
+
| `--progress` | 否 | 0–100 |
|
|
179
|
+
| `--sprint-id` | 否 | 迭代 ID |
|
|
180
|
+
|
|
181
|
+
含 `--status-id` 时 CLI 会回查验证;API 成功但状态未变更时,`errmsg` 含未填必填字段等信息。
|
|
182
|
+
|
|
183
|
+
### get-comments / add-comment
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs get-comments --sub-id=123 --matter-id=999
|
|
187
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs add-comment --sub-id=123 --matter-id=999 --content="说明"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### poll
|
|
191
|
+
|
|
192
|
+
拉取当前用户、本地尚未 `mark-processed` 的最新一条待办工作项(定时巡检入口)。**不是通用列表查询**;查多条工作项用 `list-matters`。
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs poll
|
|
196
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs poll --sub-id=123 --type-id=456
|
|
197
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs poll --cwd=/path/to/workspace
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
| 参数 | 必填 | 说明 |
|
|
201
|
+
|------|------|------|
|
|
202
|
+
| `--sub-id` | 否 | 固定项目;省略则自动发现 |
|
|
203
|
+
| `--type-id` | 否 | 固定类型;省略则优先选名称含「任务」的类型 |
|
|
204
|
+
| `--cwd` | 否 | 状态文件目录,默认 `process.cwd()` |
|
|
205
|
+
|
|
206
|
+
返回:`hasNew`、`matter`、`mattersTotal`、`discovered`(含 `sub_id`、`type_id`、`done_status_id`)。`poll` 只更新 `lastPollAt`,不自动 mark。
|
|
207
|
+
|
|
208
|
+
### mark-processed
|
|
209
|
+
|
|
210
|
+
将已闭环的工作项记入本地已处理列表(配合 `poll` 去重)。
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs mark-processed --matter-id=999
|
|
214
|
+
node ${CLAUDE_SKILL_DIR}/geelib.mjs mark-processed --matter-id=999 --cwd=/path/to/workspace
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
仅在 `update-matter` 状态变更确认成功后调用。
|
|
218
|
+
|
|
219
|
+
## poll 巡检闭环
|
|
220
|
+
|
|
221
|
+
仅当用户明确要求「巡检 / /geelib poll」,或 Skill args 仅为 `poll` 时:
|
|
222
|
+
|
|
223
|
+
1. `poll` 拉取一条待办;`hasNew === false` 则回复无新任务
|
|
224
|
+
2. `get-matter` 读描述与验收标准,执行工程工作
|
|
225
|
+
3. `update-matter` 回写状态(`done_status_id` 见 `poll` 返回的 `discovered`)
|
|
226
|
+
4. `add-comment` 写交付说明,再次 `get-matter` 验证
|
|
227
|
+
5. 状态回写成功则 `mark-processed`;失败则 `add-comment` 记录阻塞原因,不 mark
|
|
228
|
+
|
|
229
|
+
状态文件:`<agentCwd>/geelib-poller-state.json`(`poll` / `mark-processed` 自动读写)。
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* 打包 geelib CLI 为单文件 geelib.mjs,供 SKILL 内 node 调用。
|
|
4
|
+
*/
|
|
5
|
+
import * as esbuild from 'esbuild'
|
|
6
|
+
|
|
7
|
+
await esbuild.build({
|
|
8
|
+
entryPoints: ['cli/index.ts'],
|
|
9
|
+
outfile: 'geelib.mjs',
|
|
10
|
+
bundle: true,
|
|
11
|
+
platform: 'node',
|
|
12
|
+
format: 'esm',
|
|
13
|
+
target: 'node20',
|
|
14
|
+
banner: { js: '#!/usr/bin/env node\n' },
|
|
15
|
+
})
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/** 解析 CLI 参数:--key=value 与 --key value */
|
|
2
|
+
export function parseArgs(argv: string[]): {
|
|
3
|
+
positional: string[]
|
|
4
|
+
flags: Record<string, string>
|
|
5
|
+
} {
|
|
6
|
+
const positional: string[] = []
|
|
7
|
+
const flags: Record<string, string> = {}
|
|
8
|
+
for (let i = 0; i < argv.length; i++) {
|
|
9
|
+
const arg = argv[i]
|
|
10
|
+
if (!arg.startsWith('--')) {
|
|
11
|
+
positional.push(arg)
|
|
12
|
+
continue
|
|
13
|
+
}
|
|
14
|
+
const eq = arg.indexOf('=')
|
|
15
|
+
if (eq > 0) {
|
|
16
|
+
flags[arg.slice(2, eq)] = arg.slice(eq + 1)
|
|
17
|
+
continue
|
|
18
|
+
}
|
|
19
|
+
const key = arg.slice(2)
|
|
20
|
+
const next = argv[i + 1]
|
|
21
|
+
if (next !== undefined && !next.startsWith('--')) {
|
|
22
|
+
flags[key] = next
|
|
23
|
+
i++
|
|
24
|
+
} else {
|
|
25
|
+
flags[key] = 'true'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return { positional, flags }
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function requireFlag(
|
|
32
|
+
flags: Record<string, string>,
|
|
33
|
+
name: string,
|
|
34
|
+
): string {
|
|
35
|
+
const v = flags[name]
|
|
36
|
+
if (v === undefined || v === '') {
|
|
37
|
+
throw new Error(`缺少必填参数 --${name}`)
|
|
38
|
+
}
|
|
39
|
+
return v
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function flagNumber(
|
|
43
|
+
flags: Record<string, string>,
|
|
44
|
+
name: string,
|
|
45
|
+
): number {
|
|
46
|
+
const raw = requireFlag(flags, name)
|
|
47
|
+
const n = Number(raw)
|
|
48
|
+
if (!Number.isFinite(n)) {
|
|
49
|
+
throw new Error(`--${name} 必须是数字`)
|
|
50
|
+
}
|
|
51
|
+
return n
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function flagOptionalNumber(
|
|
55
|
+
flags: Record<string, string>,
|
|
56
|
+
name: string,
|
|
57
|
+
): number | undefined {
|
|
58
|
+
const raw = flags[name]
|
|
59
|
+
if (raw === undefined || raw === '') {
|
|
60
|
+
return undefined
|
|
61
|
+
}
|
|
62
|
+
const n = Number(raw)
|
|
63
|
+
if (!Number.isFinite(n)) {
|
|
64
|
+
throw new Error(`--${name} 必须是数字`)
|
|
65
|
+
}
|
|
66
|
+
return n
|
|
67
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/** GeeLib SSO 登录与 Cookie 会话管理(移植自 geelib_mcp) */
|
|
2
|
+
|
|
3
|
+
const SSO_LOGIN_URL = 'https://login.ops.qihoo.net:4436/sec/login'
|
|
4
|
+
const GEELIB_DO_LOGIN_URL = 'https://geelib.qihoo.net/ones/Login/doLogin'
|
|
5
|
+
const GEELIB_VERIFY_URL =
|
|
6
|
+
'https://geelib.qihoo.net/ones/user/userInfo?need_share=0'
|
|
7
|
+
const BOUNDARY = '----WebKitFormBoundaryGeelibCli'
|
|
8
|
+
|
|
9
|
+
let sessionCookie = ''
|
|
10
|
+
|
|
11
|
+
export function getCookie(): string {
|
|
12
|
+
return sessionCookie
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function buildFormData(fields: Record<string, string>): string {
|
|
16
|
+
let body = ''
|
|
17
|
+
for (const [name, value] of Object.entries(fields)) {
|
|
18
|
+
body += `--${BOUNDARY}\r\n`
|
|
19
|
+
body += `Content-Disposition: form-data; name="${name}"\r\n\r\n`
|
|
20
|
+
body += `${value}\r\n`
|
|
21
|
+
}
|
|
22
|
+
body += `--${BOUNDARY}--\r\n`
|
|
23
|
+
return body
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function parseCookies(headers: Headers): Record<string, string> {
|
|
27
|
+
const setCookies =
|
|
28
|
+
(headers as Headers & { getSetCookie?: () => string[] }).getSetCookie?.() ??
|
|
29
|
+
[]
|
|
30
|
+
const cookies: Record<string, string> = {}
|
|
31
|
+
for (const c of setCookies) {
|
|
32
|
+
const [pair] = c.split(';')
|
|
33
|
+
const [name, ...rest] = pair.trim().split('=')
|
|
34
|
+
cookies[name.trim()] = rest.join('=').trim()
|
|
35
|
+
}
|
|
36
|
+
return cookies
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** SSO 换取 sid */
|
|
40
|
+
async function ssoLogin(user: string, passwd: string): Promise<string> {
|
|
41
|
+
const body = buildFormData({
|
|
42
|
+
user,
|
|
43
|
+
passwd,
|
|
44
|
+
src: 'qihoo',
|
|
45
|
+
syzm: '',
|
|
46
|
+
ref: 'https://geelib.qihoo.net/geelib/',
|
|
47
|
+
})
|
|
48
|
+
|
|
49
|
+
const resp = await fetch(SSO_LOGIN_URL, {
|
|
50
|
+
method: 'POST',
|
|
51
|
+
headers: {
|
|
52
|
+
'Content-Type': `multipart/form-data; boundary=${BOUNDARY}`,
|
|
53
|
+
Accept: 'application/json, text/plain, */*',
|
|
54
|
+
Cookie: 'SSO_PREFERED_DOMAIN=qihoo',
|
|
55
|
+
Referer: 'https://login.ops.qihoo.net:4436/sec/login',
|
|
56
|
+
'User-Agent':
|
|
57
|
+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36',
|
|
58
|
+
},
|
|
59
|
+
body,
|
|
60
|
+
})
|
|
61
|
+
|
|
62
|
+
if (!resp.ok) {
|
|
63
|
+
throw new Error(`SSO login failed: ${resp.status} ${resp.statusText}`)
|
|
64
|
+
}
|
|
65
|
+
const data = (await resp.json()) as {
|
|
66
|
+
status: number
|
|
67
|
+
sid?: string
|
|
68
|
+
msg?: string
|
|
69
|
+
}
|
|
70
|
+
if (data.status !== 0) {
|
|
71
|
+
throw new Error(`SSO login error: ${JSON.stringify(data)}`)
|
|
72
|
+
}
|
|
73
|
+
return data.sid!
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** sid 换 GeeLib Cookie */
|
|
77
|
+
async function doLogin(
|
|
78
|
+
sid: string,
|
|
79
|
+
): Promise<{ cookieStr: string; userName: string }> {
|
|
80
|
+
const resp = await fetch(GEELIB_DO_LOGIN_URL, {
|
|
81
|
+
method: 'POST',
|
|
82
|
+
headers: {
|
|
83
|
+
'Content-Type': 'application/json',
|
|
84
|
+
Accept: 'application/json, text/plain, */*',
|
|
85
|
+
Referer: 'https://geelib.qihoo.net/geelib/',
|
|
86
|
+
Origin: 'https://geelib.qihoo.net',
|
|
87
|
+
'X-Requested-With': 'XMLHttpRequest',
|
|
88
|
+
'User-Agent':
|
|
89
|
+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36',
|
|
90
|
+
},
|
|
91
|
+
body: JSON.stringify({ sid, ref: 'https://geelib.qihoo.net/geelib/' }),
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
if (!resp.ok) {
|
|
95
|
+
throw new Error(`doLogin failed: ${resp.status}`)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
const cookies = parseCookies(resp.headers)
|
|
99
|
+
const data = (await resp.json()) as {
|
|
100
|
+
errno: number
|
|
101
|
+
errmsg?: string
|
|
102
|
+
data?: { real_name?: string; name?: string }
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (data.errno !== 2000) {
|
|
106
|
+
throw new Error(`doLogin error: errno=${data.errno} errmsg=${data.errmsg}`)
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const cookieStr = Object.entries(cookies)
|
|
110
|
+
.map(([k, v]) => `${k}=${v}`)
|
|
111
|
+
.join('; ')
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
cookieStr,
|
|
115
|
+
userName: data.data?.real_name ?? data.data?.name ?? '',
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
async function verifyCookie(cookieStr: string): Promise<boolean> {
|
|
120
|
+
try {
|
|
121
|
+
const resp = await fetch(GEELIB_VERIFY_URL, {
|
|
122
|
+
headers: {
|
|
123
|
+
Cookie: cookieStr,
|
|
124
|
+
Referer: 'https://geelib.qihoo.net/geelib/',
|
|
125
|
+
'User-Agent':
|
|
126
|
+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36',
|
|
127
|
+
Accept: 'application/json, text/plain, */*',
|
|
128
|
+
'X-Requested-With': 'XMLHttpRequest',
|
|
129
|
+
},
|
|
130
|
+
})
|
|
131
|
+
const data = (await resp.json()) as { errno: number }
|
|
132
|
+
return data.errno === 2000
|
|
133
|
+
} catch {
|
|
134
|
+
return false
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/** 使用 GEELIB_USER / GEELIB_PASSWD 登录 */
|
|
139
|
+
export async function login(): Promise<string> {
|
|
140
|
+
const user = process.env.GEELIB_USER
|
|
141
|
+
const passwd = process.env.GEELIB_PASSWD
|
|
142
|
+
|
|
143
|
+
if (!user || !passwd) {
|
|
144
|
+
throw new Error('请配置 GEELIB_USER 和 GEELIB_PASSWD 环境变量')
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
const sid = await ssoLogin(user, passwd)
|
|
148
|
+
const { cookieStr } = await doLogin(sid)
|
|
149
|
+
sessionCookie = cookieStr
|
|
150
|
+
return cookieStr
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** Cookie 失效时自动重新登录 */
|
|
154
|
+
export async function ensureAuth(): Promise<void> {
|
|
155
|
+
if (sessionCookie && (await verifyCookie(sessionCookie))) {
|
|
156
|
+
return
|
|
157
|
+
}
|
|
158
|
+
await login()
|
|
159
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ensureAuth, getCookie } from './auth.js'
|
|
2
|
+
|
|
3
|
+
const BASE_URL = process.env.GEELIB_BASE_URL ?? 'https://geelib.qihoo.net'
|
|
4
|
+
|
|
5
|
+
function buildHeaders(): Record<string, string> {
|
|
6
|
+
return {
|
|
7
|
+
Cookie: getCookie(),
|
|
8
|
+
'Content-Type': 'application/json',
|
|
9
|
+
Accept: 'application/json, text/plain, */*',
|
|
10
|
+
'X-Requested-With': 'XMLHttpRequest',
|
|
11
|
+
Referer: `${BASE_URL}/geelib/`,
|
|
12
|
+
'User-Agent':
|
|
13
|
+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36',
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
async function request<T>(fn: () => Promise<Response>): Promise<T> {
|
|
18
|
+
await ensureAuth()
|
|
19
|
+
let resp = await fn()
|
|
20
|
+
if (resp.status === 401 || resp.status === 403) {
|
|
21
|
+
await ensureAuth()
|
|
22
|
+
resp = await fn()
|
|
23
|
+
}
|
|
24
|
+
if (!resp.ok) {
|
|
25
|
+
throw new Error(`HTTP ${resp.status} ${resp.statusText} — ${resp.url}`)
|
|
26
|
+
}
|
|
27
|
+
return resp.json() as Promise<T>
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export async function geelibGet<T>(
|
|
31
|
+
path: string,
|
|
32
|
+
params?: Record<string, string | number | undefined>,
|
|
33
|
+
): Promise<T> {
|
|
34
|
+
const url = new URL(path, BASE_URL)
|
|
35
|
+
if (params) {
|
|
36
|
+
for (const [k, v] of Object.entries(params)) {
|
|
37
|
+
if (v !== undefined) {
|
|
38
|
+
url.searchParams.set(k, String(v))
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return request<T>(() =>
|
|
43
|
+
fetch(url.toString(), { method: 'GET', headers: buildHeaders() }),
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export async function geelibPost<T>(path: string, body?: unknown): Promise<T> {
|
|
48
|
+
const url = new URL(path, BASE_URL)
|
|
49
|
+
return request<T>(() =>
|
|
50
|
+
fetch(url.toString(), {
|
|
51
|
+
method: 'POST',
|
|
52
|
+
headers: buildHeaders(),
|
|
53
|
+
body: body !== undefined ? JSON.stringify(body) : undefined,
|
|
54
|
+
}),
|
|
55
|
+
)
|
|
56
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { geelibGet, geelibPost } from '../client.js'
|
|
2
|
+
|
|
3
|
+
export async function cmdGetComments(
|
|
4
|
+
subId: number,
|
|
5
|
+
matterId: number,
|
|
6
|
+
): Promise<unknown> {
|
|
7
|
+
return geelibGet('/bservice/Comment/getList', {
|
|
8
|
+
sub_id: subId,
|
|
9
|
+
type: 'matter',
|
|
10
|
+
id: matterId,
|
|
11
|
+
})
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export async function cmdAddComment(
|
|
15
|
+
subId: number,
|
|
16
|
+
matterId: number,
|
|
17
|
+
content: string,
|
|
18
|
+
): Promise<unknown> {
|
|
19
|
+
return geelibPost('/bservice/Comment/add', {
|
|
20
|
+
sub_id: subId,
|
|
21
|
+
type: 'matter',
|
|
22
|
+
id: matterId,
|
|
23
|
+
content,
|
|
24
|
+
})
|
|
25
|
+
}
|