@growthub/cli 0.3.4 → 0.3.5
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/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js +94 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js +106 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js +453 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js +158 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js +477 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js +201 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js +115 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js +149 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/package.json +63 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js +213 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js +97 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts +10 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js +45 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js +86 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js +451 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js +67 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts +64 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js +425 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js +194 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js +116 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js +233 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/package.json +62 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js +296 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js +81 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js +416 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js +61 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js +139 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js +188 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js +92 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js +373 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/package.json +61 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js +198 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js +46 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js +364 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js +61 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts +31 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js +227 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js +203 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js +84 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js +247 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/package.json +61 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js +53 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js +1146 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js +290 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js +33 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js +64 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/package.json +62 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js +115 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js +337 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js +62 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js +165 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js +97 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js +48 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js +300 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js +87 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js +141 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/package.json +61 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js +99 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js +405 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js +50 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js +161 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js +180 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js +206 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js +257 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js +82 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/package.json +60 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js +75 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts +62 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js +419 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js +142 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts +290 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/package.json +46 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js +448 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js +103 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts +43 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js +574 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js +117 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js +55 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0000_mature_masked_marvel.sql +208 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0001_fast_northstar.sql +87 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0002_big_zaladane.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0003_shallow_quentin_quire.sql +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0004_issue_identifiers.sql +28 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0005_chief_luke_cage.sql +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0006_overjoyed_mister_sinister.sql +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0007_new_quentin_quire.sql +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0008_amused_zzzax.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0009_fast_jackal.sql +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0010_stale_justin_hammer.sql +37 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0011_windy_corsair.sql +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0012_perpetual_ser_duncan.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0013_dashing_wasp.sql +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0014_many_mikhail_rasputin.sql +135 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0015_project_color_archived.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0016_agent_icon.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0017_tiresome_gabe_jones.sql +51 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0018_flat_sleepwalker.sql +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0019_public_victor_mancha.sql +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0020_white_anita_blake.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0021_chief_vindicator.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0022_company_brand_color.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0023_fair_lethal_legion.sql +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0024_far_beast.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0025_nasty_salo.sql +15 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0026_lying_pete_wisdom.sql +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0027_tranquil_tenebrous.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0028_harsh_goliath.sql +54 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0029_plugin_tables.sql +177 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0030_rich_magneto.sql +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0031_zippy_magma.sql +51 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0032_pretty_doctor_octopus.sql +102 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0033_shiny_black_tarantula.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0034_fat_dormammu.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0035_marvelous_satana.sql +91 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0036_cheerful_nitro.sql +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0037_friendly_eddie_brock.sql +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0038_careless_iron_monger.sql +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0039_tickets.sql +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0040_ticket_meta.sql +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0000_snapshot.json +1743 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0001_snapshot.json +2441 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0002_snapshot.json +2454 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0003_snapshot.json +2502 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0005_snapshot.json +2719 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0006_snapshot.json +3048 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0007_snapshot.json +3258 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0008_snapshot.json +3264 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0009_snapshot.json +3587 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0010_snapshot.json +3929 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0011_snapshot.json +4068 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0012_snapshot.json +4087 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0013_snapshot.json +4118 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0014_snapshot.json +5187 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0017_snapshot.json +5215 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0018_snapshot.json +5450 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0019_snapshot.json +5603 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0020_snapshot.json +5603 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0021_snapshot.json +5609 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0023_snapshot.json +5633 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0024_snapshot.json +5693 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0025_snapshot.json +5849 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0027_snapshot.json +6205 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0028_snapshot.json +6710 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0029_snapshot.json +7899 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0030_snapshot.json +8003 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0031_snapshot.json +7242 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0032_snapshot.json +7733 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0033_snapshot.json +9038 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0034_snapshot.json +9039 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0035_snapshot.json +9959 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0036_snapshot.json +10023 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0037_snapshot.json +10263 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0038_snapshot.json +10301 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/_journal.json +293 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0000_mature_masked_marvel.sql +208 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0001_fast_northstar.sql +87 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0002_big_zaladane.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0003_shallow_quentin_quire.sql +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0004_issue_identifiers.sql +28 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0005_chief_luke_cage.sql +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0006_overjoyed_mister_sinister.sql +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0007_new_quentin_quire.sql +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0008_amused_zzzax.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0009_fast_jackal.sql +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0010_stale_justin_hammer.sql +37 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0011_windy_corsair.sql +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0012_perpetual_ser_duncan.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0013_dashing_wasp.sql +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0014_many_mikhail_rasputin.sql +135 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0015_project_color_archived.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0016_agent_icon.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0017_tiresome_gabe_jones.sql +51 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0018_flat_sleepwalker.sql +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0019_public_victor_mancha.sql +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0020_white_anita_blake.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0021_chief_vindicator.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0022_company_brand_color.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0023_fair_lethal_legion.sql +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0024_far_beast.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0025_nasty_salo.sql +15 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0026_lying_pete_wisdom.sql +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0027_tranquil_tenebrous.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0028_harsh_goliath.sql +54 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0029_plugin_tables.sql +177 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0030_rich_magneto.sql +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0031_zippy_magma.sql +51 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0032_pretty_doctor_octopus.sql +102 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0033_shiny_black_tarantula.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0034_fat_dormammu.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0035_marvelous_satana.sql +91 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0036_cheerful_nitro.sql +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0037_friendly_eddie_brock.sql +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0038_careless_iron_monger.sql +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0039_tickets.sql +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0040_ticket_meta.sql +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0000_snapshot.json +1743 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0001_snapshot.json +2441 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0002_snapshot.json +2454 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0003_snapshot.json +2502 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0005_snapshot.json +2719 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0006_snapshot.json +3048 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0007_snapshot.json +3258 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0008_snapshot.json +3264 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0009_snapshot.json +3587 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0010_snapshot.json +3929 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0011_snapshot.json +4068 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0012_snapshot.json +4087 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0013_snapshot.json +4118 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0014_snapshot.json +5187 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0017_snapshot.json +5215 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0018_snapshot.json +5450 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0019_snapshot.json +5603 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0020_snapshot.json +5603 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0021_snapshot.json +5609 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0023_snapshot.json +5633 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0024_snapshot.json +5693 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0025_snapshot.json +5849 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0027_snapshot.json +6205 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0028_snapshot.json +6710 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0029_snapshot.json +7899 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0030_snapshot.json +8003 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0031_snapshot.json +7242 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0032_snapshot.json +7733 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0033_snapshot.json +9038 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0034_snapshot.json +9039 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0035_snapshot.json +9959 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0036_snapshot.json +10023 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0037_snapshot.json +10263 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0038_snapshot.json +10301 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/_journal.json +293 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js +197 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts +197 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts +201 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts +248 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts +197 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts +333 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts +373 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts +212 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts +607 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js +44 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts +297 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts +263 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts +246 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts +195 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js +21 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts +314 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js +34 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts +161 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts +229 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts +418 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts +469 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js +45 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts +178 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts +558 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js +43 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts +55 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js +55 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts +95 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts +110 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts +76 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts +350 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js +37 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts +590 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js +58 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts +384 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts +110 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts +158 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js +34 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts +123 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts +213 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js +37 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts +392 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js +83 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts +125 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts +169 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js +68 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts +239 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js +52 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts +246 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js +31 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts +333 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts +265 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts +284 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts +367 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js +35 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts +469 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js +44 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js +91 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/package.json +58 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts +57 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js +105 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts +218 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js +85 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js +49 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts +34 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js +194 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts +229 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js +353 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts +84 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js +84 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts +881 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js +297 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts +63 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js +702 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts +982 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts +257 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js +97 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts +120 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js +148 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts +50 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js +48 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js +30 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts +308 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js +941 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/package.json +126 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts +705 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js +149 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js +553 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts +116 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js +181 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js +71 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts +15 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js +40 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts +67 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts +80 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts +86 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts +120 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts +106 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts +28 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts +57 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts +118 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts +10 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts +164 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts +419 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts +67 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts +27 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts +86 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts +109 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js +40 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts +235 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js +71 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts +57 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts +10 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js +27 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts +1535 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js +95 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts +64 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts +92 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js +15 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts +129 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts +48 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts +656 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js +95 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts +1173 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js +547 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts +583 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts +114 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js +35 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts +105 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js +46 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/package.json +48 -0
- package/package.json +1 -1
package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { asString, asNumber, parseObject, parseJson } from "@paperclipai/adapter-utils/server-utils";
|
|
2
|
+
const CLAUDE_AUTH_REQUIRED_RE = /(?:not\s+logged\s+in|please\s+log\s+in|please\s+run\s+`?claude\s+login`?|login\s+required|requires\s+login|unauthorized|authentication\s+required)/i;
|
|
3
|
+
const URL_RE = /(https?:\/\/[^\s'"`<>()[\]{};,!?]+[^\s'"`<>()[\]{};,!.?:]+)/gi;
|
|
4
|
+
export function parseClaudeStreamJson(stdout) {
|
|
5
|
+
let sessionId = null;
|
|
6
|
+
let model = "";
|
|
7
|
+
let finalResult = null;
|
|
8
|
+
const assistantTexts = [];
|
|
9
|
+
for (const rawLine of stdout.split(/\r?\n/)) {
|
|
10
|
+
const line = rawLine.trim();
|
|
11
|
+
if (!line)
|
|
12
|
+
continue;
|
|
13
|
+
const event = parseJson(line);
|
|
14
|
+
if (!event)
|
|
15
|
+
continue;
|
|
16
|
+
const type = asString(event.type, "");
|
|
17
|
+
if (type === "system" && asString(event.subtype, "") === "init") {
|
|
18
|
+
sessionId = asString(event.session_id, sessionId ?? "") || sessionId;
|
|
19
|
+
model = asString(event.model, model);
|
|
20
|
+
continue;
|
|
21
|
+
}
|
|
22
|
+
if (type === "assistant") {
|
|
23
|
+
sessionId = asString(event.session_id, sessionId ?? "") || sessionId;
|
|
24
|
+
const message = parseObject(event.message);
|
|
25
|
+
const content = Array.isArray(message.content) ? message.content : [];
|
|
26
|
+
for (const entry of content) {
|
|
27
|
+
if (typeof entry !== "object" || entry === null || Array.isArray(entry))
|
|
28
|
+
continue;
|
|
29
|
+
const block = entry;
|
|
30
|
+
if (asString(block.type, "") === "text") {
|
|
31
|
+
const text = asString(block.text, "");
|
|
32
|
+
if (text)
|
|
33
|
+
assistantTexts.push(text);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (type === "result") {
|
|
39
|
+
finalResult = event;
|
|
40
|
+
sessionId = asString(event.session_id, sessionId ?? "") || sessionId;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if (!finalResult) {
|
|
44
|
+
return {
|
|
45
|
+
sessionId,
|
|
46
|
+
model,
|
|
47
|
+
costUsd: null,
|
|
48
|
+
usage: null,
|
|
49
|
+
summary: assistantTexts.join("\n\n").trim(),
|
|
50
|
+
resultJson: null,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
const usageObj = parseObject(finalResult.usage);
|
|
54
|
+
const usage = {
|
|
55
|
+
inputTokens: asNumber(usageObj.input_tokens, 0),
|
|
56
|
+
cachedInputTokens: asNumber(usageObj.cache_read_input_tokens, 0),
|
|
57
|
+
outputTokens: asNumber(usageObj.output_tokens, 0),
|
|
58
|
+
};
|
|
59
|
+
const costRaw = finalResult.total_cost_usd;
|
|
60
|
+
const costUsd = typeof costRaw === "number" && Number.isFinite(costRaw) ? costRaw : null;
|
|
61
|
+
const summary = asString(finalResult.result, assistantTexts.join("\n\n")).trim();
|
|
62
|
+
return {
|
|
63
|
+
sessionId,
|
|
64
|
+
model,
|
|
65
|
+
costUsd,
|
|
66
|
+
usage,
|
|
67
|
+
summary,
|
|
68
|
+
resultJson: finalResult,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function extractClaudeErrorMessages(parsed) {
|
|
72
|
+
const raw = Array.isArray(parsed.errors) ? parsed.errors : [];
|
|
73
|
+
const messages = [];
|
|
74
|
+
for (const entry of raw) {
|
|
75
|
+
if (typeof entry === "string") {
|
|
76
|
+
const msg = entry.trim();
|
|
77
|
+
if (msg)
|
|
78
|
+
messages.push(msg);
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
if (typeof entry !== "object" || entry === null || Array.isArray(entry)) {
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
const obj = entry;
|
|
85
|
+
const msg = asString(obj.message, "") || asString(obj.error, "") || asString(obj.code, "");
|
|
86
|
+
if (msg) {
|
|
87
|
+
messages.push(msg);
|
|
88
|
+
continue;
|
|
89
|
+
}
|
|
90
|
+
try {
|
|
91
|
+
messages.push(JSON.stringify(obj));
|
|
92
|
+
}
|
|
93
|
+
catch {
|
|
94
|
+
// skip non-serializable entry
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return messages;
|
|
98
|
+
}
|
|
99
|
+
export function extractClaudeLoginUrl(text) {
|
|
100
|
+
const match = text.match(URL_RE);
|
|
101
|
+
if (!match || match.length === 0)
|
|
102
|
+
return null;
|
|
103
|
+
for (const rawUrl of match) {
|
|
104
|
+
const cleaned = rawUrl.replace(/[\])}.!,?;:'\"]+$/g, "");
|
|
105
|
+
if (cleaned.includes("claude") || cleaned.includes("anthropic") || cleaned.includes("auth")) {
|
|
106
|
+
return cleaned;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return match[0]?.replace(/[\])}.!,?;:'\"]+$/g, "") ?? null;
|
|
110
|
+
}
|
|
111
|
+
export function detectClaudeLoginRequired(input) {
|
|
112
|
+
const resultText = asString(input.parsed?.result, "").trim();
|
|
113
|
+
const messages = [resultText, ...extractClaudeErrorMessages(input.parsed ?? {}), input.stdout, input.stderr]
|
|
114
|
+
.join("\n")
|
|
115
|
+
.split(/\r?\n/)
|
|
116
|
+
.map((line) => line.trim())
|
|
117
|
+
.filter(Boolean);
|
|
118
|
+
const requiresLogin = messages.some((line) => CLAUDE_AUTH_REQUIRED_RE.test(line));
|
|
119
|
+
return {
|
|
120
|
+
requiresLogin,
|
|
121
|
+
loginUrl: extractClaudeLoginUrl([input.stdout, input.stderr].join("\n")),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
export function describeClaudeFailure(parsed) {
|
|
125
|
+
const subtype = asString(parsed.subtype, "");
|
|
126
|
+
const resultText = asString(parsed.result, "").trim();
|
|
127
|
+
const errors = extractClaudeErrorMessages(parsed);
|
|
128
|
+
let detail = resultText;
|
|
129
|
+
if (!detail && errors.length > 0) {
|
|
130
|
+
detail = errors[0] ?? "";
|
|
131
|
+
}
|
|
132
|
+
const parts = ["Claude run failed"];
|
|
133
|
+
if (subtype)
|
|
134
|
+
parts.push(`subtype=${subtype}`);
|
|
135
|
+
if (detail)
|
|
136
|
+
parts.push(detail);
|
|
137
|
+
return parts.length > 1 ? parts.join(": ") : null;
|
|
138
|
+
}
|
|
139
|
+
export function isClaudeMaxTurnsResult(parsed) {
|
|
140
|
+
if (!parsed)
|
|
141
|
+
return false;
|
|
142
|
+
const subtype = asString(parsed.subtype, "").trim().toLowerCase();
|
|
143
|
+
if (subtype === "error_max_turns")
|
|
144
|
+
return true;
|
|
145
|
+
const stopReason = asString(parsed.stop_reason, "").trim().toLowerCase();
|
|
146
|
+
if (stopReason === "max_turns")
|
|
147
|
+
return true;
|
|
148
|
+
const resultText = asString(parsed.result, "").trim();
|
|
149
|
+
return /max(?:imum)?\s+turns?/i.test(resultText);
|
|
150
|
+
}
|
|
151
|
+
export function isClaudeUnknownSessionError(parsed) {
|
|
152
|
+
const resultText = asString(parsed.result, "").trim();
|
|
153
|
+
const allMessages = [resultText, ...extractClaudeErrorMessages(parsed)]
|
|
154
|
+
.map((msg) => msg.trim())
|
|
155
|
+
.filter(Boolean);
|
|
156
|
+
return allMessages.some((msg) => /no conversation found with session id|unknown session|session .* not found/i.test(msg));
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=parse.js.map
|
package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse.js","sourceRoot":"","sources":["../../src/server/parse.ts"],"names":[],"mappings":"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"}
|
package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ProviderQuotaResult, QuotaWindow } from "@paperclipai/adapter-utils";
|
|
2
|
+
export declare function claudeConfigDir(): string;
|
|
3
|
+
interface ClaudeAuthStatus {
|
|
4
|
+
loggedIn: boolean;
|
|
5
|
+
authMethod: string | null;
|
|
6
|
+
subscriptionType: string | null;
|
|
7
|
+
}
|
|
8
|
+
export declare function readClaudeAuthStatus(): Promise<ClaudeAuthStatus | null>;
|
|
9
|
+
export declare function readClaudeToken(): Promise<string | null>;
|
|
10
|
+
/** Convert a 0-1 utilization fraction to a 0-100 integer percent. Returns null for null/undefined input. */
|
|
11
|
+
export declare function toPercent(utilization: number | null | undefined): number | null;
|
|
12
|
+
/** fetch with an abort-based timeout so a hanging provider api doesn't block the response indefinitely */
|
|
13
|
+
export declare function fetchWithTimeout(url: string, init: RequestInit, ms?: number): Promise<Response>;
|
|
14
|
+
export declare function fetchClaudeQuota(token: string): Promise<QuotaWindow[]>;
|
|
15
|
+
export declare function parseClaudeCliUsageText(text: string): QuotaWindow[];
|
|
16
|
+
export declare function captureClaudeCliUsageText(timeoutMs?: number): Promise<string>;
|
|
17
|
+
export declare function fetchClaudeCliQuota(): Promise<QuotaWindow[]>;
|
|
18
|
+
export declare function getQuotaWindows(): Promise<ProviderQuotaResult>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=quota.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quota.d.ts","sourceRoot":"","sources":["../../src/server/quota.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAOnF,wBAAgB,eAAe,IAAI,MAAM,CAIxC;AA4FD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAgB7E;AASD,wBAAsB,eAAe,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAO9D;AA8CD,4GAA4G;AAC5G,wBAAgB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAG/E;AAED,0GAA0G;AAC1G,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,SAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,CAQnG;AAED,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CA+D5E;AAgHD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE,CAsCnE;AAeD,wBAAsB,yBAAyB,CAAC,SAAS,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CA6BnF;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAGlE;AAOD,wBAAsB,eAAe,IAAI,OAAO,CAAC,mBAAmB,CAAC,CAoDpE"}
|
package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js
ADDED
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
import { execFile } from "node:child_process";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
|
+
import os from "node:os";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
import { promisify } from "node:util";
|
|
6
|
+
const execFileAsync = promisify(execFile);
|
|
7
|
+
const CLAUDE_USAGE_SOURCE_OAUTH = "anthropic-oauth";
|
|
8
|
+
const CLAUDE_USAGE_SOURCE_CLI = "claude-cli";
|
|
9
|
+
export function claudeConfigDir() {
|
|
10
|
+
const fromEnv = process.env.CLAUDE_CONFIG_DIR;
|
|
11
|
+
if (typeof fromEnv === "string" && fromEnv.trim().length > 0)
|
|
12
|
+
return fromEnv.trim();
|
|
13
|
+
return path.join(os.homedir(), ".claude");
|
|
14
|
+
}
|
|
15
|
+
function hasNonEmptyProcessEnv(key) {
|
|
16
|
+
const value = process.env[key];
|
|
17
|
+
return typeof value === "string" && value.trim().length > 0;
|
|
18
|
+
}
|
|
19
|
+
function createClaudeQuotaEnv() {
|
|
20
|
+
const env = {};
|
|
21
|
+
for (const [key, value] of Object.entries(process.env)) {
|
|
22
|
+
if (typeof value !== "string")
|
|
23
|
+
continue;
|
|
24
|
+
if (key.startsWith("ANTHROPIC_"))
|
|
25
|
+
continue;
|
|
26
|
+
env[key] = value;
|
|
27
|
+
}
|
|
28
|
+
return env;
|
|
29
|
+
}
|
|
30
|
+
function stripBackspaces(text) {
|
|
31
|
+
let out = "";
|
|
32
|
+
for (const char of text) {
|
|
33
|
+
if (char === "\b") {
|
|
34
|
+
out = out.slice(0, -1);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
out += char;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return out;
|
|
41
|
+
}
|
|
42
|
+
function stripAnsi(text) {
|
|
43
|
+
return text
|
|
44
|
+
.replace(/\u001B\][^\u0007]*(?:\u0007|\u001B\\)/g, "")
|
|
45
|
+
.replace(/\u001B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])/g, "");
|
|
46
|
+
}
|
|
47
|
+
function cleanTerminalText(text) {
|
|
48
|
+
return stripAnsi(stripBackspaces(text))
|
|
49
|
+
.replace(/\u0000/g, "")
|
|
50
|
+
.replace(/\r/g, "\n");
|
|
51
|
+
}
|
|
52
|
+
function normalizeForLabelSearch(text) {
|
|
53
|
+
return text.toLowerCase().replace(/[^a-z0-9]+/g, "");
|
|
54
|
+
}
|
|
55
|
+
function trimToLatestUsagePanel(text) {
|
|
56
|
+
const lower = text.toLowerCase();
|
|
57
|
+
const settingsIndex = lower.lastIndexOf("settings:");
|
|
58
|
+
if (settingsIndex < 0)
|
|
59
|
+
return null;
|
|
60
|
+
let tail = text.slice(settingsIndex);
|
|
61
|
+
const tailLower = tail.toLowerCase();
|
|
62
|
+
if (!tailLower.includes("usage"))
|
|
63
|
+
return null;
|
|
64
|
+
if (!tailLower.includes("current session") && !tailLower.includes("loading usage"))
|
|
65
|
+
return null;
|
|
66
|
+
const stopMarkers = [
|
|
67
|
+
"status dialog dismissed",
|
|
68
|
+
"checking for updates",
|
|
69
|
+
"press ctrl-c again to exit",
|
|
70
|
+
];
|
|
71
|
+
let stopIndex = -1;
|
|
72
|
+
for (const marker of stopMarkers) {
|
|
73
|
+
const markerIndex = tailLower.indexOf(marker);
|
|
74
|
+
if (markerIndex >= 0 && (stopIndex === -1 || markerIndex < stopIndex)) {
|
|
75
|
+
stopIndex = markerIndex;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (stopIndex >= 0) {
|
|
79
|
+
tail = tail.slice(0, stopIndex);
|
|
80
|
+
}
|
|
81
|
+
return tail;
|
|
82
|
+
}
|
|
83
|
+
async function readClaudeTokenFromFile(credPath) {
|
|
84
|
+
let raw;
|
|
85
|
+
try {
|
|
86
|
+
raw = await fs.readFile(credPath, "utf8");
|
|
87
|
+
}
|
|
88
|
+
catch {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
let parsed;
|
|
92
|
+
try {
|
|
93
|
+
parsed = JSON.parse(raw);
|
|
94
|
+
}
|
|
95
|
+
catch {
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
98
|
+
if (typeof parsed !== "object" || parsed === null)
|
|
99
|
+
return null;
|
|
100
|
+
const obj = parsed;
|
|
101
|
+
const oauth = obj["claudeAiOauth"];
|
|
102
|
+
if (typeof oauth !== "object" || oauth === null)
|
|
103
|
+
return null;
|
|
104
|
+
const token = oauth["accessToken"];
|
|
105
|
+
return typeof token === "string" && token.length > 0 ? token : null;
|
|
106
|
+
}
|
|
107
|
+
export async function readClaudeAuthStatus() {
|
|
108
|
+
try {
|
|
109
|
+
const { stdout } = await execFileAsync("claude", ["auth", "status"], {
|
|
110
|
+
env: process.env,
|
|
111
|
+
timeout: 5_000,
|
|
112
|
+
maxBuffer: 1024 * 1024,
|
|
113
|
+
});
|
|
114
|
+
const parsed = JSON.parse(stdout);
|
|
115
|
+
return {
|
|
116
|
+
loggedIn: parsed.loggedIn === true,
|
|
117
|
+
authMethod: typeof parsed.authMethod === "string" ? parsed.authMethod : null,
|
|
118
|
+
subscriptionType: typeof parsed.subscriptionType === "string" ? parsed.subscriptionType : null,
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
catch {
|
|
122
|
+
return null;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
function describeClaudeSubscriptionAuth(status) {
|
|
126
|
+
if (!status?.loggedIn || status.authMethod !== "claude.ai")
|
|
127
|
+
return null;
|
|
128
|
+
return status.subscriptionType
|
|
129
|
+
? `Claude is logged in via claude.ai (${status.subscriptionType})`
|
|
130
|
+
: "Claude is logged in via claude.ai";
|
|
131
|
+
}
|
|
132
|
+
export async function readClaudeToken() {
|
|
133
|
+
const configDir = claudeConfigDir();
|
|
134
|
+
for (const filename of [".credentials.json", "credentials.json"]) {
|
|
135
|
+
const token = await readClaudeTokenFromFile(path.join(configDir, filename));
|
|
136
|
+
if (token)
|
|
137
|
+
return token;
|
|
138
|
+
}
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
function formatCurrencyAmount(value, currency) {
|
|
142
|
+
const code = typeof currency === "string" && currency.trim().length > 0 ? currency.trim().toUpperCase() : "USD";
|
|
143
|
+
return new Intl.NumberFormat("en-US", {
|
|
144
|
+
style: "currency",
|
|
145
|
+
currency: code,
|
|
146
|
+
maximumFractionDigits: 2,
|
|
147
|
+
}).format(value);
|
|
148
|
+
}
|
|
149
|
+
function formatExtraUsageLabel(extraUsage) {
|
|
150
|
+
const monthlyLimit = extraUsage.monthly_limit;
|
|
151
|
+
const usedCredits = extraUsage.used_credits;
|
|
152
|
+
if (typeof monthlyLimit !== "number" ||
|
|
153
|
+
!Number.isFinite(monthlyLimit) ||
|
|
154
|
+
typeof usedCredits !== "number" ||
|
|
155
|
+
!Number.isFinite(usedCredits)) {
|
|
156
|
+
return null;
|
|
157
|
+
}
|
|
158
|
+
return `${formatCurrencyAmount(usedCredits, extraUsage.currency)} / ${formatCurrencyAmount(monthlyLimit, extraUsage.currency)}`;
|
|
159
|
+
}
|
|
160
|
+
/** Convert a 0-1 utilization fraction to a 0-100 integer percent. Returns null for null/undefined input. */
|
|
161
|
+
export function toPercent(utilization) {
|
|
162
|
+
if (utilization == null)
|
|
163
|
+
return null;
|
|
164
|
+
return Math.min(100, Math.round(utilization * 100));
|
|
165
|
+
}
|
|
166
|
+
/** fetch with an abort-based timeout so a hanging provider api doesn't block the response indefinitely */
|
|
167
|
+
export async function fetchWithTimeout(url, init, ms = 8000) {
|
|
168
|
+
const controller = new AbortController();
|
|
169
|
+
const timer = setTimeout(() => controller.abort(), ms);
|
|
170
|
+
try {
|
|
171
|
+
return await fetch(url, { ...init, signal: controller.signal });
|
|
172
|
+
}
|
|
173
|
+
finally {
|
|
174
|
+
clearTimeout(timer);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
export async function fetchClaudeQuota(token) {
|
|
178
|
+
const resp = await fetchWithTimeout("https://api.anthropic.com/api/oauth/usage", {
|
|
179
|
+
headers: {
|
|
180
|
+
Authorization: `Bearer ${token}`,
|
|
181
|
+
"anthropic-beta": "oauth-2025-04-20",
|
|
182
|
+
},
|
|
183
|
+
});
|
|
184
|
+
if (!resp.ok)
|
|
185
|
+
throw new Error(`anthropic usage api returned ${resp.status}`);
|
|
186
|
+
const body = (await resp.json());
|
|
187
|
+
const windows = [];
|
|
188
|
+
if (body.five_hour != null) {
|
|
189
|
+
windows.push({
|
|
190
|
+
label: "Current session",
|
|
191
|
+
usedPercent: toPercent(body.five_hour.utilization),
|
|
192
|
+
resetsAt: body.five_hour.resets_at ?? null,
|
|
193
|
+
valueLabel: null,
|
|
194
|
+
detail: null,
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
if (body.seven_day != null) {
|
|
198
|
+
windows.push({
|
|
199
|
+
label: "Current week (all models)",
|
|
200
|
+
usedPercent: toPercent(body.seven_day.utilization),
|
|
201
|
+
resetsAt: body.seven_day.resets_at ?? null,
|
|
202
|
+
valueLabel: null,
|
|
203
|
+
detail: null,
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
if (body.seven_day_sonnet != null) {
|
|
207
|
+
windows.push({
|
|
208
|
+
label: "Current week (Sonnet only)",
|
|
209
|
+
usedPercent: toPercent(body.seven_day_sonnet.utilization),
|
|
210
|
+
resetsAt: body.seven_day_sonnet.resets_at ?? null,
|
|
211
|
+
valueLabel: null,
|
|
212
|
+
detail: null,
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
if (body.seven_day_opus != null) {
|
|
216
|
+
windows.push({
|
|
217
|
+
label: "Current week (Opus only)",
|
|
218
|
+
usedPercent: toPercent(body.seven_day_opus.utilization),
|
|
219
|
+
resetsAt: body.seven_day_opus.resets_at ?? null,
|
|
220
|
+
valueLabel: null,
|
|
221
|
+
detail: null,
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
if (body.extra_usage != null) {
|
|
225
|
+
windows.push({
|
|
226
|
+
label: "Extra usage",
|
|
227
|
+
usedPercent: body.extra_usage.is_enabled === false ? null : toPercent(body.extra_usage.utilization),
|
|
228
|
+
resetsAt: null,
|
|
229
|
+
valueLabel: body.extra_usage.is_enabled === false
|
|
230
|
+
? "Not enabled"
|
|
231
|
+
: formatExtraUsageLabel(body.extra_usage),
|
|
232
|
+
detail: body.extra_usage.is_enabled === false
|
|
233
|
+
? "Extra usage not enabled"
|
|
234
|
+
: "Monthly extra usage pool",
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
return windows;
|
|
238
|
+
}
|
|
239
|
+
function usageOutputLooksRelevant(text) {
|
|
240
|
+
const normalized = normalizeForLabelSearch(text);
|
|
241
|
+
return normalized.includes("currentsession")
|
|
242
|
+
|| normalized.includes("currentweek")
|
|
243
|
+
|| normalized.includes("loadingusage")
|
|
244
|
+
|| normalized.includes("failedtoloadusagedata")
|
|
245
|
+
|| normalized.includes("tokenexpired")
|
|
246
|
+
|| normalized.includes("authenticationerror")
|
|
247
|
+
|| normalized.includes("ratelimited");
|
|
248
|
+
}
|
|
249
|
+
function usageOutputLooksComplete(text) {
|
|
250
|
+
const normalized = normalizeForLabelSearch(text);
|
|
251
|
+
if (normalized.includes("failedtoloadusagedata")
|
|
252
|
+
|| normalized.includes("tokenexpired")
|
|
253
|
+
|| normalized.includes("authenticationerror")
|
|
254
|
+
|| normalized.includes("ratelimited")) {
|
|
255
|
+
return true;
|
|
256
|
+
}
|
|
257
|
+
return normalized.includes("currentsession")
|
|
258
|
+
&& (normalized.includes("currentweek") || normalized.includes("extrausage"))
|
|
259
|
+
&& /[0-9]{1,3}(?:\.[0-9]+)?%/i.test(text);
|
|
260
|
+
}
|
|
261
|
+
function extractUsageError(text) {
|
|
262
|
+
const lower = text.toLowerCase();
|
|
263
|
+
const compact = lower.replace(/\s+/g, "");
|
|
264
|
+
if (lower.includes("token_expired") || lower.includes("token has expired")) {
|
|
265
|
+
return "Claude CLI token expired. Run `claude login` to refresh.";
|
|
266
|
+
}
|
|
267
|
+
if (lower.includes("authentication_error")) {
|
|
268
|
+
return "Claude CLI authentication error. Run `claude login`.";
|
|
269
|
+
}
|
|
270
|
+
if (lower.includes("rate_limit_error") || lower.includes("rate limited") || compact.includes("ratelimited")) {
|
|
271
|
+
return "Claude CLI usage endpoint is rate limited right now. Please try again later.";
|
|
272
|
+
}
|
|
273
|
+
if (lower.includes("failed to load usage data") || compact.includes("failedtoloadusagedata")) {
|
|
274
|
+
return "Claude CLI could not load usage data. Open the CLI and retry `/usage`.";
|
|
275
|
+
}
|
|
276
|
+
return null;
|
|
277
|
+
}
|
|
278
|
+
function percentFromLine(line) {
|
|
279
|
+
const match = line.match(/([0-9]{1,3}(?:\.[0-9]+)?)\s*%/i);
|
|
280
|
+
if (!match)
|
|
281
|
+
return null;
|
|
282
|
+
const rawValue = Number(match[1]);
|
|
283
|
+
if (!Number.isFinite(rawValue))
|
|
284
|
+
return null;
|
|
285
|
+
const clamped = Math.min(100, Math.max(0, rawValue));
|
|
286
|
+
const lower = line.toLowerCase();
|
|
287
|
+
if (lower.includes("remaining") || lower.includes("left") || lower.includes("available")) {
|
|
288
|
+
return Math.max(0, Math.min(100, Math.round(100 - clamped)));
|
|
289
|
+
}
|
|
290
|
+
return Math.round(clamped);
|
|
291
|
+
}
|
|
292
|
+
function isQuotaLabel(line) {
|
|
293
|
+
const normalized = normalizeForLabelSearch(line);
|
|
294
|
+
return normalized === "currentsession"
|
|
295
|
+
|| normalized === "currentweekallmodels"
|
|
296
|
+
|| normalized === "currentweeksonnetonly"
|
|
297
|
+
|| normalized === "currentweeksonnet"
|
|
298
|
+
|| normalized === "currentweekopusonly"
|
|
299
|
+
|| normalized === "currentweekopus"
|
|
300
|
+
|| normalized === "extrausage";
|
|
301
|
+
}
|
|
302
|
+
function canonicalQuotaLabel(line) {
|
|
303
|
+
switch (normalizeForLabelSearch(line)) {
|
|
304
|
+
case "currentsession":
|
|
305
|
+
return "Current session";
|
|
306
|
+
case "currentweekallmodels":
|
|
307
|
+
return "Current week (all models)";
|
|
308
|
+
case "currentweeksonnetonly":
|
|
309
|
+
case "currentweeksonnet":
|
|
310
|
+
return "Current week (Sonnet only)";
|
|
311
|
+
case "currentweekopusonly":
|
|
312
|
+
case "currentweekopus":
|
|
313
|
+
return "Current week (Opus only)";
|
|
314
|
+
case "extrausage":
|
|
315
|
+
return "Extra usage";
|
|
316
|
+
default:
|
|
317
|
+
return line;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
function formatClaudeCliDetail(label, lines) {
|
|
321
|
+
const normalizedLabel = normalizeForLabelSearch(label);
|
|
322
|
+
if (normalizedLabel === "extrausage") {
|
|
323
|
+
const compact = lines.join(" ").replace(/\s+/g, "").toLowerCase();
|
|
324
|
+
if (compact.includes("extrausagenotenabled")) {
|
|
325
|
+
return "Extra usage not enabled • /extra-usage to enable";
|
|
326
|
+
}
|
|
327
|
+
const firstLine = lines.find((line) => line.trim().length > 0) ?? null;
|
|
328
|
+
return firstLine;
|
|
329
|
+
}
|
|
330
|
+
const resetLine = lines.find((line) => /^resets/i.test(line) || normalizeForLabelSearch(line).startsWith("resets"));
|
|
331
|
+
if (!resetLine)
|
|
332
|
+
return null;
|
|
333
|
+
return resetLine
|
|
334
|
+
.replace(/^Resets/i, "Resets ")
|
|
335
|
+
.replace(/([A-Z][a-z]{2})(\d)/g, "$1 $2")
|
|
336
|
+
.replace(/(\d)at(\d)/g, "$1 at $2")
|
|
337
|
+
.replace(/(am|pm)\(/gi, "$1 (")
|
|
338
|
+
.replace(/([A-Za-z])\(/g, "$1 (")
|
|
339
|
+
.replace(/\s+/g, " ")
|
|
340
|
+
.trim();
|
|
341
|
+
}
|
|
342
|
+
export function parseClaudeCliUsageText(text) {
|
|
343
|
+
const cleaned = trimToLatestUsagePanel(cleanTerminalText(text)) ?? cleanTerminalText(text);
|
|
344
|
+
const usageError = extractUsageError(cleaned);
|
|
345
|
+
if (usageError)
|
|
346
|
+
throw new Error(usageError);
|
|
347
|
+
const lines = cleaned
|
|
348
|
+
.split("\n")
|
|
349
|
+
.map((line) => line.trim())
|
|
350
|
+
.filter((line) => line.length > 0);
|
|
351
|
+
const sections = [];
|
|
352
|
+
let current = null;
|
|
353
|
+
for (const line of lines) {
|
|
354
|
+
if (isQuotaLabel(line)) {
|
|
355
|
+
if (current)
|
|
356
|
+
sections.push(current);
|
|
357
|
+
current = { label: canonicalQuotaLabel(line), lines: [] };
|
|
358
|
+
continue;
|
|
359
|
+
}
|
|
360
|
+
if (current)
|
|
361
|
+
current.lines.push(line);
|
|
362
|
+
}
|
|
363
|
+
if (current)
|
|
364
|
+
sections.push(current);
|
|
365
|
+
const windows = sections.map((section) => {
|
|
366
|
+
const usedPercent = section.lines.map(percentFromLine).find((value) => value != null) ?? null;
|
|
367
|
+
return {
|
|
368
|
+
label: section.label,
|
|
369
|
+
usedPercent,
|
|
370
|
+
resetsAt: null,
|
|
371
|
+
valueLabel: null,
|
|
372
|
+
detail: formatClaudeCliDetail(section.label, section.lines),
|
|
373
|
+
};
|
|
374
|
+
});
|
|
375
|
+
if (!windows.some((window) => normalizeForLabelSearch(window.label) === "currentsession")) {
|
|
376
|
+
throw new Error("Could not parse Claude CLI usage output.");
|
|
377
|
+
}
|
|
378
|
+
return windows;
|
|
379
|
+
}
|
|
380
|
+
function quoteForShell(value) {
|
|
381
|
+
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
382
|
+
}
|
|
383
|
+
function buildClaudeCliShellProbeCommand() {
|
|
384
|
+
const feed = "(sleep 2; printf '/usage\\r'; sleep 6; printf '\\033'; sleep 1; printf '\\003')";
|
|
385
|
+
const claudeCommand = "claude --tools \"\"";
|
|
386
|
+
if (process.platform === "darwin") {
|
|
387
|
+
return `${feed} | script -q /dev/null ${claudeCommand}`;
|
|
388
|
+
}
|
|
389
|
+
return `${feed} | script -q -e -f -c ${quoteForShell(claudeCommand)} /dev/null`;
|
|
390
|
+
}
|
|
391
|
+
export async function captureClaudeCliUsageText(timeoutMs = 12_000) {
|
|
392
|
+
const command = buildClaudeCliShellProbeCommand();
|
|
393
|
+
try {
|
|
394
|
+
const { stdout, stderr } = await execFileAsync("sh", ["-c", command], {
|
|
395
|
+
env: createClaudeQuotaEnv(),
|
|
396
|
+
timeout: timeoutMs,
|
|
397
|
+
maxBuffer: 8 * 1024 * 1024,
|
|
398
|
+
});
|
|
399
|
+
const output = `${stdout}${stderr}`;
|
|
400
|
+
const cleaned = cleanTerminalText(output);
|
|
401
|
+
if (usageOutputLooksComplete(cleaned))
|
|
402
|
+
return output;
|
|
403
|
+
throw new Error("Claude CLI usage probe ended before rendering usage.");
|
|
404
|
+
}
|
|
405
|
+
catch (error) {
|
|
406
|
+
const stdout = typeof error === "object" && error !== null && "stdout" in error && typeof error.stdout === "string"
|
|
407
|
+
? error.stdout
|
|
408
|
+
: "";
|
|
409
|
+
const stderr = typeof error === "object" && error !== null && "stderr" in error && typeof error.stderr === "string"
|
|
410
|
+
? error.stderr
|
|
411
|
+
: "";
|
|
412
|
+
const output = `${stdout}${stderr}`;
|
|
413
|
+
const cleaned = cleanTerminalText(output);
|
|
414
|
+
if (usageOutputLooksComplete(cleaned))
|
|
415
|
+
return output;
|
|
416
|
+
if (usageOutputLooksRelevant(cleaned)) {
|
|
417
|
+
throw new Error("Claude CLI usage probe ended before rendering usage.");
|
|
418
|
+
}
|
|
419
|
+
throw error instanceof Error ? error : new Error(String(error));
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
export async function fetchClaudeCliQuota() {
|
|
423
|
+
const rawText = await captureClaudeCliUsageText();
|
|
424
|
+
return parseClaudeCliUsageText(rawText);
|
|
425
|
+
}
|
|
426
|
+
function formatProviderError(source, error) {
|
|
427
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
428
|
+
return `${source}: ${message}`;
|
|
429
|
+
}
|
|
430
|
+
export async function getQuotaWindows() {
|
|
431
|
+
const authStatus = await readClaudeAuthStatus();
|
|
432
|
+
const authDescription = describeClaudeSubscriptionAuth(authStatus);
|
|
433
|
+
const token = await readClaudeToken();
|
|
434
|
+
const errors = [];
|
|
435
|
+
if (token) {
|
|
436
|
+
try {
|
|
437
|
+
const windows = await fetchClaudeQuota(token);
|
|
438
|
+
return { provider: "anthropic", source: CLAUDE_USAGE_SOURCE_OAUTH, ok: true, windows };
|
|
439
|
+
}
|
|
440
|
+
catch (error) {
|
|
441
|
+
errors.push(formatProviderError("Anthropic OAuth usage", error));
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
try {
|
|
445
|
+
const windows = await fetchClaudeCliQuota();
|
|
446
|
+
return { provider: "anthropic", source: CLAUDE_USAGE_SOURCE_CLI, ok: true, windows };
|
|
447
|
+
}
|
|
448
|
+
catch (error) {
|
|
449
|
+
errors.push(formatProviderError("Claude CLI /usage", error));
|
|
450
|
+
}
|
|
451
|
+
if (hasNonEmptyProcessEnv("ANTHROPIC_API_KEY") && !authDescription) {
|
|
452
|
+
return {
|
|
453
|
+
provider: "anthropic",
|
|
454
|
+
ok: false,
|
|
455
|
+
error: errors[0]
|
|
456
|
+
?? "ANTHROPIC_API_KEY is set and no local Claude subscription session is available for quota polling",
|
|
457
|
+
windows: [],
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
if (authDescription) {
|
|
461
|
+
return {
|
|
462
|
+
provider: "anthropic",
|
|
463
|
+
ok: false,
|
|
464
|
+
error: errors.length > 0
|
|
465
|
+
? `${authDescription}, but quota polling failed (${errors.join("; ")})`
|
|
466
|
+
: `${authDescription}, but Paperclip could not load subscription quota data`,
|
|
467
|
+
windows: [],
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
return {
|
|
471
|
+
provider: "anthropic",
|
|
472
|
+
ok: false,
|
|
473
|
+
error: errors[0] ?? "no local claude auth token",
|
|
474
|
+
windows: [],
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
//# sourceMappingURL=quota.js.map
|