casedev 0.68.0 → 0.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/client.d.mts +6 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -15
- package/client.d.ts.map +1 -1
- package/client.js +15 -16
- package/client.js.map +1 -1
- package/client.mjs +15 -16
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +0 -10
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +0 -10
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +0 -2
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +0 -2
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/package.json +9 -25
- package/resources/connectors/connectors.d.mts +10 -0
- package/resources/connectors/connectors.d.mts.map +1 -0
- package/resources/connectors/connectors.d.ts +10 -0
- package/resources/connectors/connectors.d.ts.map +1 -0
- package/resources/{format/format.js → connectors/connectors.js} +5 -5
- package/resources/connectors/connectors.js.map +1 -0
- package/resources/{agent/agent.mjs → connectors/connectors.mjs} +3 -3
- package/resources/connectors/connectors.mjs.map +1 -0
- package/resources/connectors/index.d.mts +3 -0
- package/resources/connectors/index.d.mts.map +1 -0
- package/resources/connectors/index.d.ts +3 -0
- package/resources/connectors/index.d.ts.map +1 -0
- package/resources/{database → connectors}/index.js +3 -3
- package/resources/connectors/index.js.map +1 -0
- package/resources/connectors/index.mjs +4 -0
- package/resources/connectors/index.mjs.map +1 -0
- package/resources/connectors/v1/connections.d.mts +109 -0
- package/resources/connectors/v1/connections.d.mts.map +1 -0
- package/resources/connectors/v1/connections.d.ts +109 -0
- package/resources/connectors/v1/connections.d.ts.map +1 -0
- package/resources/connectors/v1/connections.js +58 -0
- package/resources/connectors/v1/connections.js.map +1 -0
- package/resources/connectors/v1/connections.mjs +54 -0
- package/resources/connectors/v1/connections.mjs.map +1 -0
- package/resources/connectors/v1/index.d.mts +5 -0
- package/resources/connectors/v1/index.d.mts.map +1 -0
- package/resources/connectors/v1/index.d.ts +5 -0
- package/resources/connectors/v1/index.d.ts.map +1 -0
- package/resources/connectors/v1/index.js +13 -0
- package/resources/connectors/v1/index.js.map +1 -0
- package/resources/connectors/v1/index.mjs +6 -0
- package/resources/connectors/v1/index.mjs.map +1 -0
- package/resources/connectors/v1/installations/index.d.mts +3 -0
- package/resources/connectors/v1/installations/index.d.mts.map +1 -0
- package/resources/connectors/v1/installations/index.d.ts +3 -0
- package/resources/connectors/v1/installations/index.d.ts.map +1 -0
- package/resources/connectors/v1/installations/index.js +9 -0
- package/resources/connectors/v1/installations/index.js.map +1 -0
- package/resources/connectors/v1/installations/index.mjs +4 -0
- package/resources/connectors/v1/installations/index.mjs.map +1 -0
- package/resources/connectors/v1/installations/installations.d.mts +40 -0
- package/resources/connectors/v1/installations/installations.d.mts.map +1 -0
- package/resources/connectors/v1/installations/installations.d.ts +40 -0
- package/resources/connectors/v1/installations/installations.d.ts.map +1 -0
- package/resources/connectors/v1/installations/installations.js +43 -0
- package/resources/connectors/v1/installations/installations.js.map +1 -0
- package/resources/connectors/v1/installations/installations.mjs +38 -0
- package/resources/connectors/v1/installations/installations.mjs.map +1 -0
- package/resources/connectors/v1/installations/vaults.d.mts +56 -0
- package/resources/connectors/v1/installations/vaults.d.mts.map +1 -0
- package/resources/connectors/v1/installations/vaults.d.ts +56 -0
- package/resources/connectors/v1/installations/vaults.d.ts.map +1 -0
- package/resources/connectors/v1/installations/vaults.js +47 -0
- package/resources/connectors/v1/installations/vaults.js.map +1 -0
- package/resources/connectors/v1/installations/vaults.mjs +43 -0
- package/resources/connectors/v1/installations/vaults.mjs.map +1 -0
- package/resources/connectors/v1/installations.d.mts +2 -0
- package/resources/connectors/v1/installations.d.mts.map +1 -0
- package/resources/connectors/v1/installations.d.ts +2 -0
- package/resources/connectors/v1/installations.d.ts.map +1 -0
- package/resources/{database.js → connectors/v1/installations.js} +3 -3
- package/resources/connectors/v1/installations.js.map +1 -0
- package/resources/{database.mjs → connectors/v1/installations.mjs} +2 -2
- package/resources/connectors/v1/installations.mjs.map +1 -0
- package/resources/connectors/v1/links.d.mts +57 -0
- package/resources/connectors/v1/links.d.mts.map +1 -0
- package/resources/connectors/v1/links.d.ts +57 -0
- package/resources/connectors/v1/links.d.ts.map +1 -0
- package/resources/connectors/v1/links.js +69 -0
- package/resources/connectors/v1/links.js.map +1 -0
- package/resources/connectors/v1/links.mjs +65 -0
- package/resources/connectors/v1/links.mjs.map +1 -0
- package/resources/connectors/v1/v1.d.mts +100 -0
- package/resources/connectors/v1/v1.d.mts.map +1 -0
- package/resources/connectors/v1/v1.d.ts +100 -0
- package/resources/connectors/v1/v1.d.ts.map +1 -0
- package/resources/connectors/v1/v1.js +47 -0
- package/resources/connectors/v1/v1.js.map +1 -0
- package/resources/connectors/v1/v1.mjs +42 -0
- package/resources/connectors/v1/v1.mjs.map +1 -0
- package/resources/connectors/v1.d.mts.map +1 -0
- package/resources/connectors/v1.d.ts.map +1 -0
- package/resources/connectors/v1.js.map +1 -0
- package/resources/connectors/v1.mjs.map +1 -0
- package/resources/connectors.d.mts +2 -0
- package/resources/connectors.d.mts.map +1 -0
- package/resources/connectors.d.ts +2 -0
- package/resources/connectors.d.ts.map +1 -0
- package/resources/{agent.js → connectors.js} +2 -2
- package/resources/connectors.js.map +1 -0
- package/resources/{agent.mjs → connectors.mjs} +2 -2
- package/resources/connectors.mjs.map +1 -0
- package/resources/index.d.mts +2 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -5
- package/resources/index.mjs.map +1 -1
- package/resources/legal/index.d.mts +1 -1
- package/resources/legal/index.d.mts.map +1 -1
- package/resources/legal/index.d.ts +1 -1
- package/resources/legal/index.d.ts.map +1 -1
- package/resources/legal/index.js.map +1 -1
- package/resources/legal/index.mjs.map +1 -1
- package/resources/legal/legal.d.mts +2 -2
- package/resources/legal/legal.d.mts.map +1 -1
- package/resources/legal/legal.d.ts +2 -2
- package/resources/legal/legal.d.ts.map +1 -1
- package/resources/legal/legal.js.map +1 -1
- package/resources/legal/legal.mjs.map +1 -1
- package/resources/legal/v1.d.mts +3 -80
- package/resources/legal/v1.d.mts.map +1 -1
- package/resources/legal/v1.d.ts +3 -80
- package/resources/legal/v1.d.ts.map +1 -1
- package/resources/legal/v1.js +0 -8
- package/resources/legal/v1.js.map +1 -1
- package/resources/legal/v1.mjs +0 -8
- package/resources/legal/v1.mjs.map +1 -1
- package/resources/linc/index.d.mts +3 -0
- package/resources/linc/index.d.mts.map +1 -0
- package/resources/linc/index.d.ts +3 -0
- package/resources/linc/index.d.ts.map +1 -0
- package/resources/{mail → linc}/index.js +3 -3
- package/resources/{mail → linc}/index.js.map +1 -1
- package/resources/{mail → linc}/index.mjs +1 -1
- package/resources/{mail → linc}/index.mjs.map +1 -1
- package/resources/{mail/mail.d.mts → linc/linc.d.mts} +3 -3
- package/resources/{mail/mail.d.mts.map → linc/linc.d.mts.map} +1 -1
- package/resources/{mail/mail.d.ts → linc/linc.d.ts} +3 -3
- package/resources/{mail/mail.d.ts.map → linc/linc.d.ts.map} +1 -1
- package/resources/{mail/mail.js → linc/linc.js} +5 -5
- package/resources/{mail/mail.js.map → linc/linc.js.map} +1 -1
- package/resources/{mail/mail.mjs → linc/linc.mjs} +3 -3
- package/resources/{mail/mail.mjs.map → linc/linc.mjs.map} +1 -1
- package/resources/linc/v1/index.d.mts +3 -0
- package/resources/linc/v1/index.d.mts.map +1 -0
- package/resources/linc/v1/index.d.ts +3 -0
- package/resources/linc/v1/index.d.ts.map +1 -0
- package/resources/{mail → linc}/v1/index.js +3 -3
- package/resources/linc/v1/index.js.map +1 -0
- package/resources/{database → linc}/v1/index.mjs +1 -1
- package/resources/linc/v1/index.mjs.map +1 -0
- package/resources/linc/v1/sessions.d.mts +169 -0
- package/resources/linc/v1/sessions.d.mts.map +1 -0
- package/resources/linc/v1/sessions.d.ts +169 -0
- package/resources/linc/v1/sessions.d.ts.map +1 -0
- package/resources/linc/v1/sessions.js +103 -0
- package/resources/linc/v1/sessions.js.map +1 -0
- package/resources/linc/v1/sessions.mjs +99 -0
- package/resources/linc/v1/sessions.mjs.map +1 -0
- package/resources/linc/v1/v1.d.mts +10 -0
- package/resources/linc/v1/v1.d.mts.map +1 -0
- package/resources/linc/v1/v1.d.ts +10 -0
- package/resources/linc/v1/v1.d.ts.map +1 -0
- package/resources/{mail → linc}/v1/v1.js +4 -4
- package/resources/linc/v1/v1.js.map +1 -0
- package/resources/{mail → linc}/v1/v1.mjs +4 -4
- package/resources/linc/v1/v1.mjs.map +1 -0
- package/resources/{mail → linc}/v1.d.mts.map +1 -1
- package/resources/{mail → linc}/v1.d.ts.map +1 -1
- package/resources/linc/v1.js.map +1 -0
- package/resources/linc/v1.mjs.map +1 -0
- package/resources/linc.d.mts +2 -0
- package/resources/linc.d.mts.map +1 -0
- package/resources/linc.d.ts +2 -0
- package/resources/linc.d.ts.map +1 -0
- package/resources/{mail.js → linc.js} +2 -2
- package/resources/linc.js.map +1 -0
- package/resources/{mail.mjs → linc.mjs} +2 -2
- package/resources/linc.mjs.map +1 -0
- package/resources/llm/v1/chat.d.mts +3 -2
- package/resources/llm/v1/chat.d.mts.map +1 -1
- package/resources/llm/v1/chat.d.ts +3 -2
- package/resources/llm/v1/chat.d.ts.map +1 -1
- package/resources/matters/v1/index.d.mts +1 -1
- package/resources/matters/v1/index.d.mts.map +1 -1
- package/resources/matters/v1/index.d.ts +1 -1
- package/resources/matters/v1/index.d.ts.map +1 -1
- package/resources/matters/v1/index.js.map +1 -1
- package/resources/matters/v1/index.mjs.map +1 -1
- package/resources/matters/v1/v1.d.mts +2 -2
- package/resources/matters/v1/v1.d.mts.map +1 -1
- package/resources/matters/v1/v1.d.ts +2 -2
- package/resources/matters/v1/v1.d.ts.map +1 -1
- package/resources/matters/v1/v1.js.map +1 -1
- package/resources/matters/v1/v1.mjs.map +1 -1
- package/resources/matters/v1/work-items.d.mts +3 -15
- package/resources/matters/v1/work-items.d.mts.map +1 -1
- package/resources/matters/v1/work-items.d.ts +3 -15
- package/resources/matters/v1/work-items.d.ts.map +1 -1
- package/resources/matters/v1/work-items.js +1 -12
- package/resources/matters/v1/work-items.js.map +1 -1
- package/resources/matters/v1/work-items.mjs +1 -12
- package/resources/matters/v1/work-items.mjs.map +1 -1
- package/resources/media/v1/clips.d.mts +3 -0
- package/resources/media/v1/clips.d.mts.map +1 -1
- package/resources/media/v1/clips.d.ts +3 -0
- package/resources/media/v1/clips.d.ts.map +1 -1
- package/resources/media/v1/clips.js +3 -0
- package/resources/media/v1/clips.js.map +1 -1
- package/resources/media/v1/clips.mjs +3 -0
- package/resources/media/v1/clips.mjs.map +1 -1
- package/resources/media/v1/transcripts/index.d.mts +1 -0
- package/resources/media/v1/transcripts/index.d.mts.map +1 -1
- package/resources/media/v1/transcripts/index.d.ts +1 -0
- package/resources/media/v1/transcripts/index.d.ts.map +1 -1
- package/resources/media/v1/transcripts/index.js +3 -1
- package/resources/media/v1/transcripts/index.js.map +1 -1
- package/resources/media/v1/transcripts/index.mjs +1 -0
- package/resources/media/v1/transcripts/index.mjs.map +1 -1
- package/resources/media/v1/transcripts/retrieve.d.mts +70 -0
- package/resources/media/v1/transcripts/retrieve.d.mts.map +1 -0
- package/resources/media/v1/transcripts/retrieve.d.ts +70 -0
- package/resources/media/v1/transcripts/retrieve.d.ts.map +1 -0
- package/resources/media/v1/transcripts/retrieve.js +21 -0
- package/resources/media/v1/transcripts/retrieve.js.map +1 -0
- package/resources/media/v1/transcripts/retrieve.mjs +17 -0
- package/resources/media/v1/transcripts/retrieve.mjs.map +1 -0
- package/resources/media/v1/transcripts/search.d.mts +3 -0
- package/resources/media/v1/transcripts/search.d.mts.map +1 -1
- package/resources/media/v1/transcripts/search.d.ts +3 -0
- package/resources/media/v1/transcripts/search.d.ts.map +1 -1
- package/resources/media/v1/transcripts/search.js +3 -0
- package/resources/media/v1/transcripts/search.js.map +1 -1
- package/resources/media/v1/transcripts/search.mjs +3 -0
- package/resources/media/v1/transcripts/search.mjs.map +1 -1
- package/resources/media/v1/transcripts/transcripts.d.mts +4 -0
- package/resources/media/v1/transcripts/transcripts.d.mts.map +1 -1
- package/resources/media/v1/transcripts/transcripts.d.ts +4 -0
- package/resources/media/v1/transcripts/transcripts.d.ts.map +1 -1
- package/resources/media/v1/transcripts/transcripts.js +4 -0
- package/resources/media/v1/transcripts/transcripts.js.map +1 -1
- package/resources/media/v1/transcripts/transcripts.mjs +4 -0
- package/resources/media/v1/transcripts/transcripts.mjs.map +1 -1
- package/resources/ocr/v1.d.mts +4 -4
- package/resources/ocr/v1.d.ts +4 -4
- package/resources/ocr/v1.js +2 -2
- package/resources/ocr/v1.mjs +2 -2
- package/resources/search/index.d.mts +1 -1
- package/resources/search/index.d.mts.map +1 -1
- package/resources/search/index.d.ts +1 -1
- package/resources/search/index.d.ts.map +1 -1
- package/resources/search/index.js.map +1 -1
- package/resources/search/index.mjs.map +1 -1
- package/resources/search/search.d.mts +2 -2
- package/resources/search/search.d.mts.map +1 -1
- package/resources/search/search.d.ts +2 -2
- package/resources/search/search.d.ts.map +1 -1
- package/resources/search/search.js.map +1 -1
- package/resources/search/search.mjs.map +1 -1
- package/resources/search/v1.d.mts +2 -129
- package/resources/search/v1.d.mts.map +1 -1
- package/resources/search/v1.d.ts +2 -129
- package/resources/search/v1.d.ts.map +1 -1
- package/resources/search/v1.js +1 -19
- package/resources/search/v1.js.map +1 -1
- package/resources/search/v1.mjs +1 -19
- package/resources/search/v1.mjs.map +1 -1
- package/resources/translate/index.d.mts +1 -1
- package/resources/translate/index.d.mts.map +1 -1
- package/resources/translate/index.d.ts +1 -1
- package/resources/translate/index.d.ts.map +1 -1
- package/resources/translate/index.js.map +1 -1
- package/resources/translate/index.mjs.map +1 -1
- package/resources/translate/translate.d.mts +2 -2
- package/resources/translate/translate.d.mts.map +1 -1
- package/resources/translate/translate.d.ts +2 -2
- package/resources/translate/translate.d.ts.map +1 -1
- package/resources/translate/translate.js.map +1 -1
- package/resources/translate/translate.mjs.map +1 -1
- package/resources/translate/v1.d.mts +37 -1
- package/resources/translate/v1.d.mts.map +1 -1
- package/resources/translate/v1.d.ts +37 -1
- package/resources/translate/v1.d.ts.map +1 -1
- package/resources/translate/v1.js +30 -0
- package/resources/translate/v1.js.map +1 -1
- package/resources/translate/v1.mjs +30 -0
- package/resources/translate/v1.mjs.map +1 -1
- package/resources/usage/v1/v1.d.mts +10 -0
- package/resources/usage/v1/v1.d.mts.map +1 -1
- package/resources/usage/v1/v1.d.ts +10 -0
- package/resources/usage/v1/v1.d.ts.map +1 -1
- package/resources/usage/v1/v1.js.map +1 -1
- package/resources/usage/v1/v1.mjs.map +1 -1
- package/resources/vault/events/subscriptions.d.mts +1 -1
- package/resources/vault/events/subscriptions.d.ts +1 -1
- package/resources/vault/events/subscriptions.js +1 -1
- package/resources/vault/events/subscriptions.mjs +1 -1
- package/resources/vault/index.d.mts +2 -3
- package/resources/vault/index.d.mts.map +1 -1
- package/resources/vault/index.d.ts +2 -3
- package/resources/vault/index.d.ts.map +1 -1
- package/resources/vault/index.js +1 -3
- package/resources/vault/index.js.map +1 -1
- package/resources/vault/index.mjs +0 -1
- package/resources/vault/index.mjs.map +1 -1
- package/resources/vault/memory.d.mts +1 -1
- package/resources/vault/memory.d.ts +1 -1
- package/resources/vault/memory.js +1 -1
- package/resources/vault/memory.mjs +1 -1
- package/resources/vault/multipart.d.mts +94 -1
- package/resources/vault/multipart.d.mts.map +1 -1
- package/resources/vault/multipart.d.ts +94 -1
- package/resources/vault/multipart.d.ts.map +1 -1
- package/resources/vault/multipart.js +40 -0
- package/resources/vault/multipart.js.map +1 -1
- package/resources/vault/multipart.mjs +40 -0
- package/resources/vault/multipart.mjs.map +1 -1
- package/resources/vault/objects.d.mts +151 -62
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +151 -62
- package/resources/vault/objects.d.ts.map +1 -1
- package/resources/vault/objects.js +48 -20
- package/resources/vault/objects.js.map +1 -1
- package/resources/vault/objects.mjs +48 -20
- package/resources/vault/objects.mjs.map +1 -1
- package/resources/vault/vault.d.mts +93 -75
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +93 -75
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js +22 -20
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs +22 -20
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/transcription.d.mts +19 -7
- package/resources/voice/transcription.d.mts.map +1 -1
- package/resources/voice/transcription.d.ts +19 -7
- package/resources/voice/transcription.d.ts.map +1 -1
- package/resources/voice/transcription.js +5 -3
- package/resources/voice/transcription.js.map +1 -1
- package/resources/voice/transcription.mjs +5 -3
- package/resources/voice/transcription.mjs.map +1 -1
- package/src/client.ts +18 -25
- package/src/internal/parse.ts +0 -14
- package/src/internal/request-options.ts +0 -2
- package/src/resources/connectors/connectors.ts +21 -0
- package/src/resources/connectors/index.ts +10 -0
- package/src/resources/connectors/v1/connections.ts +186 -0
- package/src/resources/connectors/v1/index.ts +31 -0
- package/src/resources/connectors/v1/installations/index.ts +4 -0
- package/src/resources/connectors/v1/installations/installations.ts +72 -0
- package/src/resources/connectors/v1/installations/vaults.ts +88 -0
- package/src/resources/{database.ts → connectors/v1/installations.ts} +1 -1
- package/src/resources/connectors/v1/links.ts +121 -0
- package/src/resources/connectors/v1/v1.ts +186 -0
- package/src/resources/{agent.ts → connectors.ts} +1 -1
- package/src/resources/index.ts +2 -5
- package/src/resources/legal/index.ts +0 -2
- package/src/resources/legal/legal.ts +0 -4
- package/src/resources/legal/v1.ts +2 -100
- package/src/resources/{mail → linc}/index.ts +1 -1
- package/src/resources/{mail/mail.ts → linc/linc.ts} +3 -3
- package/src/resources/linc/v1/index.ts +12 -0
- package/src/resources/linc/v1/sessions.ts +270 -0
- package/src/resources/linc/v1/v1.ts +31 -0
- package/src/resources/{mail.ts → linc.ts} +1 -1
- package/src/resources/llm/v1/chat.ts +3 -2
- package/src/resources/matters/v1/index.ts +0 -1
- package/src/resources/matters/v1/v1.ts +0 -2
- package/src/resources/matters/v1/work-items.ts +2 -28
- package/src/resources/media/v1/clips.ts +3 -0
- package/src/resources/media/v1/transcripts/index.ts +1 -0
- package/src/resources/media/v1/transcripts/retrieve.ts +94 -0
- package/src/resources/media/v1/transcripts/search.ts +3 -0
- package/src/resources/media/v1/transcripts/transcripts.ts +10 -0
- package/src/resources/ocr/v1.ts +4 -4
- package/src/resources/search/index.ts +0 -4
- package/src/resources/search/search.ts +0 -8
- package/src/resources/search/v1.ts +1 -172
- package/src/resources/translate/index.ts +1 -0
- package/src/resources/translate/translate.ts +2 -0
- package/src/resources/translate/v1.ts +56 -0
- package/src/resources/usage/v1/v1.ts +12 -0
- package/src/resources/vault/events/subscriptions.ts +1 -1
- package/src/resources/vault/index.ts +8 -9
- package/src/resources/vault/memory.ts +1 -1
- package/src/resources/vault/multipart.ts +126 -0
- package/src/resources/vault/objects.ts +218 -83
- package/src/resources/vault/vault.ts +123 -94
- package/src/resources/voice/transcription.ts +21 -7
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/core/streaming.d.mts +0 -33
- package/core/streaming.d.mts.map +0 -1
- package/core/streaming.d.ts +0 -33
- package/core/streaming.d.ts.map +0 -1
- package/core/streaming.js +0 -263
- package/core/streaming.js.map +0 -1
- package/core/streaming.mjs +0 -258
- package/core/streaming.mjs.map +0 -1
- package/internal/decoders/line.d.mts +0 -17
- package/internal/decoders/line.d.mts.map +0 -1
- package/internal/decoders/line.d.ts +0 -17
- package/internal/decoders/line.d.ts.map +0 -1
- package/internal/decoders/line.js +0 -113
- package/internal/decoders/line.js.map +0 -1
- package/internal/decoders/line.mjs +0 -108
- package/internal/decoders/line.mjs.map +0 -1
- package/resources/agent/agent.d.mts +0 -10
- package/resources/agent/agent.d.mts.map +0 -1
- package/resources/agent/agent.d.ts +0 -10
- package/resources/agent/agent.d.ts.map +0 -1
- package/resources/agent/agent.js +0 -17
- package/resources/agent/agent.js.map +0 -1
- package/resources/agent/agent.mjs.map +0 -1
- package/resources/agent/index.d.mts +0 -3
- package/resources/agent/index.d.mts.map +0 -1
- package/resources/agent/index.d.ts +0 -3
- package/resources/agent/index.d.ts.map +0 -1
- package/resources/agent/index.js +0 -9
- package/resources/agent/index.js.map +0 -1
- package/resources/agent/index.mjs +0 -4
- package/resources/agent/index.mjs.map +0 -1
- package/resources/agent/v1/agents.d.mts +0 -205
- package/resources/agent/v1/agents.d.mts.map +0 -1
- package/resources/agent/v1/agents.d.ts +0 -205
- package/resources/agent/v1/agents.d.ts.map +0 -1
- package/resources/agent/v1/agents.js +0 -44
- package/resources/agent/v1/agents.js.map +0 -1
- package/resources/agent/v1/agents.mjs +0 -40
- package/resources/agent/v1/agents.mjs.map +0 -1
- package/resources/agent/v1/execute.d.mts +0 -95
- package/resources/agent/v1/execute.d.mts.map +0 -1
- package/resources/agent/v1/execute.d.ts +0 -95
- package/resources/agent/v1/execute.d.ts.map +0 -1
- package/resources/agent/v1/execute.js +0 -27
- package/resources/agent/v1/execute.js.map +0 -1
- package/resources/agent/v1/execute.mjs +0 -23
- package/resources/agent/v1/execute.mjs.map +0 -1
- package/resources/agent/v1/index.d.mts +0 -5
- package/resources/agent/v1/index.d.mts.map +0 -1
- package/resources/agent/v1/index.d.ts +0 -5
- package/resources/agent/v1/index.d.ts.map +0 -1
- package/resources/agent/v1/index.js +0 -13
- package/resources/agent/v1/index.js.map +0 -1
- package/resources/agent/v1/index.mjs +0 -6
- package/resources/agent/v1/index.mjs.map +0 -1
- package/resources/agent/v1/run.d.mts +0 -304
- package/resources/agent/v1/run.d.mts.map +0 -1
- package/resources/agent/v1/run.d.ts +0 -304
- package/resources/agent/v1/run.d.ts.map +0 -1
- package/resources/agent/v1/run.js +0 -74
- package/resources/agent/v1/run.js.map +0 -1
- package/resources/agent/v1/run.mjs +0 -70
- package/resources/agent/v1/run.mjs.map +0 -1
- package/resources/agent/v1/v1.d.mts +0 -18
- package/resources/agent/v1/v1.d.mts.map +0 -1
- package/resources/agent/v1/v1.d.ts +0 -18
- package/resources/agent/v1/v1.d.ts.map +0 -1
- package/resources/agent/v1/v1.js +0 -25
- package/resources/agent/v1/v1.js.map +0 -1
- package/resources/agent/v1/v1.mjs +0 -20
- package/resources/agent/v1/v1.mjs.map +0 -1
- package/resources/agent/v1.d.mts.map +0 -1
- package/resources/agent/v1.d.ts.map +0 -1
- package/resources/agent/v1.js.map +0 -1
- package/resources/agent/v1.mjs.map +0 -1
- package/resources/agent.d.mts +0 -2
- package/resources/agent.d.mts.map +0 -1
- package/resources/agent.d.ts +0 -2
- package/resources/agent.d.ts.map +0 -1
- package/resources/agent.js.map +0 -1
- package/resources/agent.mjs.map +0 -1
- package/resources/database/database.d.mts +0 -10
- package/resources/database/database.d.mts.map +0 -1
- package/resources/database/database.d.ts +0 -10
- package/resources/database/database.d.ts.map +0 -1
- package/resources/database/database.js +0 -17
- package/resources/database/database.js.map +0 -1
- package/resources/database/database.mjs +0 -12
- package/resources/database/database.mjs.map +0 -1
- package/resources/database/index.d.mts +0 -3
- package/resources/database/index.d.mts.map +0 -1
- package/resources/database/index.d.ts +0 -3
- package/resources/database/index.d.ts.map +0 -1
- package/resources/database/index.js.map +0 -1
- package/resources/database/index.mjs +0 -4
- package/resources/database/index.mjs.map +0 -1
- package/resources/database/v1/index.d.mts +0 -3
- package/resources/database/v1/index.d.mts.map +0 -1
- package/resources/database/v1/index.d.ts +0 -3
- package/resources/database/v1/index.d.ts.map +0 -1
- package/resources/database/v1/index.js +0 -9
- package/resources/database/v1/index.js.map +0 -1
- package/resources/database/v1/index.mjs.map +0 -1
- package/resources/database/v1/projects.d.mts +0 -467
- package/resources/database/v1/projects.d.mts.map +0 -1
- package/resources/database/v1/projects.d.ts +0 -467
- package/resources/database/v1/projects.d.ts.map +0 -1
- package/resources/database/v1/projects.js +0 -125
- package/resources/database/v1/projects.js.map +0 -1
- package/resources/database/v1/projects.mjs +0 -121
- package/resources/database/v1/projects.mjs.map +0 -1
- package/resources/database/v1/v1.d.mts +0 -144
- package/resources/database/v1/v1.d.mts.map +0 -1
- package/resources/database/v1/v1.d.ts +0 -144
- package/resources/database/v1/v1.d.ts.map +0 -1
- package/resources/database/v1/v1.js +0 -33
- package/resources/database/v1/v1.js.map +0 -1
- package/resources/database/v1/v1.mjs +0 -28
- package/resources/database/v1/v1.mjs.map +0 -1
- package/resources/database/v1.d.mts.map +0 -1
- package/resources/database/v1.d.ts.map +0 -1
- package/resources/database/v1.js.map +0 -1
- package/resources/database/v1.mjs.map +0 -1
- package/resources/database.d.mts +0 -2
- package/resources/database.d.mts.map +0 -1
- package/resources/database.d.ts +0 -2
- package/resources/database.d.ts.map +0 -1
- package/resources/database.js.map +0 -1
- package/resources/database.mjs.map +0 -1
- package/resources/format/format.d.mts +0 -10
- package/resources/format/format.d.mts.map +0 -1
- package/resources/format/format.d.ts +0 -10
- package/resources/format/format.d.ts.map +0 -1
- package/resources/format/format.js.map +0 -1
- package/resources/format/format.mjs +0 -12
- package/resources/format/format.mjs.map +0 -1
- package/resources/format/index.d.mts +0 -3
- package/resources/format/index.d.mts.map +0 -1
- package/resources/format/index.d.ts +0 -3
- package/resources/format/index.d.ts.map +0 -1
- package/resources/format/index.js +0 -9
- package/resources/format/index.js.map +0 -1
- package/resources/format/index.mjs +0 -4
- package/resources/format/index.mjs.map +0 -1
- package/resources/format/v1/index.d.mts +0 -3
- package/resources/format/v1/index.d.mts.map +0 -1
- package/resources/format/v1/index.d.ts +0 -3
- package/resources/format/v1/index.d.ts.map +0 -1
- package/resources/format/v1/index.js +0 -9
- package/resources/format/v1/index.js.map +0 -1
- package/resources/format/v1/index.mjs +0 -4
- package/resources/format/v1/index.mjs.map +0 -1
- package/resources/format/v1/templates.d.mts +0 -160
- package/resources/format/v1/templates.d.mts.map +0 -1
- package/resources/format/v1/templates.d.ts +0 -160
- package/resources/format/v1/templates.d.ts.map +0 -1
- package/resources/format/v1/templates.js +0 -40
- package/resources/format/v1/templates.js.map +0 -1
- package/resources/format/v1/templates.mjs +0 -36
- package/resources/format/v1/templates.mjs.map +0 -1
- package/resources/format/v1/v1.d.mts +0 -73
- package/resources/format/v1/v1.d.mts.map +0 -1
- package/resources/format/v1/v1.d.ts +0 -73
- package/resources/format/v1/v1.d.ts.map +0 -1
- package/resources/format/v1/v1.js +0 -34
- package/resources/format/v1/v1.js.map +0 -1
- package/resources/format/v1/v1.mjs +0 -29
- package/resources/format/v1/v1.mjs.map +0 -1
- package/resources/format/v1.d.mts +0 -2
- package/resources/format/v1.d.mts.map +0 -1
- package/resources/format/v1.d.ts +0 -2
- package/resources/format/v1.d.ts.map +0 -1
- package/resources/format/v1.js +0 -6
- package/resources/format/v1.js.map +0 -1
- package/resources/format/v1.mjs +0 -3
- package/resources/format/v1.mjs.map +0 -1
- package/resources/format.d.mts +0 -2
- package/resources/format.d.mts.map +0 -1
- package/resources/format.d.ts +0 -2
- package/resources/format.d.ts.map +0 -1
- package/resources/format.js +0 -6
- package/resources/format.js.map +0 -1
- package/resources/format.mjs +0 -3
- package/resources/format.mjs.map +0 -1
- package/resources/mail/index.d.mts +0 -3
- package/resources/mail/index.d.mts.map +0 -1
- package/resources/mail/index.d.ts +0 -3
- package/resources/mail/index.d.ts.map +0 -1
- package/resources/mail/v1/inboxes.d.mts +0 -94
- package/resources/mail/v1/inboxes.d.mts.map +0 -1
- package/resources/mail/v1/inboxes.d.ts +0 -94
- package/resources/mail/v1/inboxes.d.ts.map +0 -1
- package/resources/mail/v1/inboxes.js +0 -118
- package/resources/mail/v1/inboxes.js.map +0 -1
- package/resources/mail/v1/inboxes.mjs +0 -114
- package/resources/mail/v1/inboxes.mjs.map +0 -1
- package/resources/mail/v1/index.d.mts +0 -3
- package/resources/mail/v1/index.d.mts.map +0 -1
- package/resources/mail/v1/index.d.ts +0 -3
- package/resources/mail/v1/index.d.ts.map +0 -1
- package/resources/mail/v1/index.js.map +0 -1
- package/resources/mail/v1/index.mjs +0 -4
- package/resources/mail/v1/index.mjs.map +0 -1
- package/resources/mail/v1/v1.d.mts +0 -10
- package/resources/mail/v1/v1.d.mts.map +0 -1
- package/resources/mail/v1/v1.d.ts +0 -10
- package/resources/mail/v1/v1.d.ts.map +0 -1
- package/resources/mail/v1/v1.js.map +0 -1
- package/resources/mail/v1/v1.mjs.map +0 -1
- package/resources/mail/v1.d.mts +0 -2
- package/resources/mail/v1.d.ts +0 -2
- package/resources/mail/v1.js +0 -6
- package/resources/mail/v1.js.map +0 -1
- package/resources/mail/v1.mjs +0 -3
- package/resources/mail/v1.mjs.map +0 -1
- package/resources/mail.d.mts +0 -2
- package/resources/mail.d.mts.map +0 -1
- package/resources/mail.d.ts +0 -2
- package/resources/mail.d.ts.map +0 -1
- package/resources/mail.js.map +0 -1
- package/resources/mail.mjs.map +0 -1
- package/resources/superdoc/index.d.mts +0 -3
- package/resources/superdoc/index.d.mts.map +0 -1
- package/resources/superdoc/index.d.ts +0 -3
- package/resources/superdoc/index.d.ts.map +0 -1
- package/resources/superdoc/index.js +0 -9
- package/resources/superdoc/index.js.map +0 -1
- package/resources/superdoc/index.mjs +0 -4
- package/resources/superdoc/index.mjs.map +0 -1
- package/resources/superdoc/superdoc.d.mts +0 -10
- package/resources/superdoc/superdoc.d.mts.map +0 -1
- package/resources/superdoc/superdoc.d.ts +0 -10
- package/resources/superdoc/superdoc.d.ts.map +0 -1
- package/resources/superdoc/superdoc.js +0 -17
- package/resources/superdoc/superdoc.js.map +0 -1
- package/resources/superdoc/superdoc.mjs +0 -12
- package/resources/superdoc/superdoc.mjs.map +0 -1
- package/resources/superdoc/v1.d.mts +0 -107
- package/resources/superdoc/v1.d.mts.map +0 -1
- package/resources/superdoc/v1.d.ts +0 -107
- package/resources/superdoc/v1.d.ts.map +0 -1
- package/resources/superdoc/v1.js +0 -39
- package/resources/superdoc/v1.js.map +0 -1
- package/resources/superdoc/v1.mjs +0 -35
- package/resources/superdoc/v1.mjs.map +0 -1
- package/resources/superdoc.d.mts +0 -2
- package/resources/superdoc.d.mts.map +0 -1
- package/resources/superdoc.d.ts +0 -2
- package/resources/superdoc.d.ts.map +0 -1
- package/resources/superdoc.js +0 -6
- package/resources/superdoc.js.map +0 -1
- package/resources/superdoc.mjs +0 -3
- package/resources/superdoc.mjs.map +0 -1
- package/resources/vault/graphrag.d.mts +0 -132
- package/resources/vault/graphrag.d.mts.map +0 -1
- package/resources/vault/graphrag.d.ts +0 -132
- package/resources/vault/graphrag.d.ts.map +0 -1
- package/resources/vault/graphrag.js +0 -58
- package/resources/vault/graphrag.js.map +0 -1
- package/resources/vault/graphrag.mjs +0 -54
- package/resources/vault/graphrag.mjs.map +0 -1
- package/src/core/streaming.ts +0 -315
- package/src/internal/decoders/line.ts +0 -135
- package/src/resources/agent/agent.ts +0 -15
- package/src/resources/agent/index.ts +0 -4
- package/src/resources/agent/v1/agents.ts +0 -305
- package/src/resources/agent/v1/execute.ts +0 -118
- package/src/resources/agent/v1/index.ts +0 -30
- package/src/resources/agent/v1/run.ts +0 -456
- package/src/resources/agent/v1/v1.ts +0 -79
- package/src/resources/database/database.ts +0 -15
- package/src/resources/database/index.ts +0 -4
- package/src/resources/database/v1/index.ts +0 -16
- package/src/resources/database/v1/projects.ts +0 -597
- package/src/resources/database/v1/v1.ts +0 -212
- package/src/resources/format/format.ts +0 -15
- package/src/resources/format/index.ts +0 -4
- package/src/resources/format/v1/index.ts +0 -11
- package/src/resources/format/v1/templates.ts +0 -210
- package/src/resources/format/v1/v1.ts +0 -111
- package/src/resources/format/v1.ts +0 -3
- package/src/resources/format.ts +0 -3
- package/src/resources/mail/v1/inboxes.ts +0 -190
- package/src/resources/mail/v1/index.ts +0 -11
- package/src/resources/mail/v1/v1.ts +0 -29
- package/src/resources/mail/v1.ts +0 -3
- package/src/resources/superdoc/index.ts +0 -4
- package/src/resources/superdoc/superdoc.ts +0 -15
- package/src/resources/superdoc/v1.ts +0 -149
- package/src/resources/superdoc.ts +0 -3
- package/src/resources/vault/graphrag.ts +0 -176
- package/src/streaming.ts +0 -2
- package/streaming.d.mts +0 -3
- package/streaming.d.mts.map +0 -1
- package/streaming.d.ts +0 -3
- package/streaming.d.ts.map +0 -1
- package/streaming.js +0 -6
- package/streaming.js.map +0 -1
- package/streaming.mjs +0 -3
- package/streaming.mjs.map +0 -1
- /package/resources/{agent → connectors}/v1.d.mts +0 -0
- /package/resources/{agent → connectors}/v1.d.ts +0 -0
- /package/resources/{agent → connectors}/v1.js +0 -0
- /package/resources/{agent → connectors}/v1.mjs +0 -0
- /package/resources/{database → linc}/v1.d.mts +0 -0
- /package/resources/{database → linc}/v1.d.ts +0 -0
- /package/resources/{database → linc}/v1.js +0 -0
- /package/resources/{database → linc}/v1.mjs +0 -0
- /package/src/resources/{agent → connectors}/v1.ts +0 -0
- /package/src/resources/{database → linc}/v1.ts +0 -0
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
-
import { Stream } from "../../../core/streaming.mjs";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
|
|
7
|
-
*/
|
|
8
|
-
export declare class Run extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Creates a run in queued state. Call POST /agent/v1/run/:id/exec to start
|
|
11
|
-
* execution.
|
|
12
|
-
*/
|
|
13
|
-
create(body: RunCreateParams, options?: RequestOptions): APIPromise<RunCreateResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Lists agent runs for the authenticated organization. Supports filtering by
|
|
16
|
-
* agent, status, and cursor-based pagination.
|
|
17
|
-
*/
|
|
18
|
-
list(query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<RunListResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* Cancels a running or queued run. Idempotent — cancelling a finished run returns
|
|
21
|
-
* its current status.
|
|
22
|
-
*/
|
|
23
|
-
cancel(id: string, options?: RequestOptions): APIPromise<RunCancelResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* Streams real-time run events over SSE. Supports replay using Last-Event-ID.
|
|
26
|
-
*/
|
|
27
|
-
events(id: string, query?: RunEventsParams | undefined, options?: RequestOptions): APIPromise<Stream<RunEventsResponse>>;
|
|
28
|
-
/**
|
|
29
|
-
* Starts execution of a queued run. The agent runs in a durable workflow — poll
|
|
30
|
-
* /run/:id/status for progress.
|
|
31
|
-
*/
|
|
32
|
-
exec(id: string, options?: RequestOptions): APIPromise<RunExecResponse>;
|
|
33
|
-
/**
|
|
34
|
-
* Full audit trail for a run including output, steps (tool calls, text), and token
|
|
35
|
-
* usage.
|
|
36
|
-
*/
|
|
37
|
-
getDetails(id: string, options?: RequestOptions): APIPromise<RunGetDetailsResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* Lightweight status poll for a run. Use /run/:id/details for the full audit
|
|
40
|
-
* trail.
|
|
41
|
-
*/
|
|
42
|
-
getStatus(id: string, options?: RequestOptions): APIPromise<RunGetStatusResponse>;
|
|
43
|
-
/**
|
|
44
|
-
* Register a callback URL to receive notifications when the run completes. URL
|
|
45
|
-
* must use https and must not point to a private network.
|
|
46
|
-
*/
|
|
47
|
-
watch(id: string, body: RunWatchParams, options?: RequestOptions): APIPromise<RunWatchResponse>;
|
|
48
|
-
}
|
|
49
|
-
export interface RunCreateResponse {
|
|
50
|
-
id?: string;
|
|
51
|
-
agentId?: string;
|
|
52
|
-
createdAt?: string;
|
|
53
|
-
objectIds?: Array<string> | null;
|
|
54
|
-
status?: 'queued';
|
|
55
|
-
}
|
|
56
|
-
export interface RunListResponse {
|
|
57
|
-
hasMore?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Pass as cursor to fetch the next page
|
|
60
|
-
*/
|
|
61
|
-
nextCursor?: string | null;
|
|
62
|
-
runs?: Array<RunListResponse.Run>;
|
|
63
|
-
}
|
|
64
|
-
export declare namespace RunListResponse {
|
|
65
|
-
interface Run {
|
|
66
|
-
id?: string;
|
|
67
|
-
agentId?: string;
|
|
68
|
-
completedAt?: string | null;
|
|
69
|
-
createdAt?: string;
|
|
70
|
-
model?: string | null;
|
|
71
|
-
/**
|
|
72
|
-
* Truncated to first 200 characters
|
|
73
|
-
*/
|
|
74
|
-
prompt?: string;
|
|
75
|
-
startedAt?: string | null;
|
|
76
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
export interface RunCancelResponse {
|
|
80
|
-
id?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Present if run was already finished
|
|
83
|
-
*/
|
|
84
|
-
message?: string;
|
|
85
|
-
status?: 'cancelled' | 'completed' | 'failed';
|
|
86
|
-
}
|
|
87
|
-
export type RunEventsResponse = string;
|
|
88
|
-
export interface RunExecResponse {
|
|
89
|
-
id?: string;
|
|
90
|
-
message?: string;
|
|
91
|
-
status?: 'running';
|
|
92
|
-
/**
|
|
93
|
-
* Durable workflow run ID
|
|
94
|
-
*/
|
|
95
|
-
workflowId?: string;
|
|
96
|
-
}
|
|
97
|
-
export interface RunGetDetailsResponse {
|
|
98
|
-
id?: string;
|
|
99
|
-
agentId?: string;
|
|
100
|
-
completedAt?: string | null;
|
|
101
|
-
createdAt?: string;
|
|
102
|
-
guidance?: string | null;
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated Deprecated legacy Modal sandbox ID. Prefer `provider` and
|
|
105
|
-
* `runtimeId`.
|
|
106
|
-
*/
|
|
107
|
-
modalSandboxId?: string | null;
|
|
108
|
-
model?: string | null;
|
|
109
|
-
prompt?: string;
|
|
110
|
-
/**
|
|
111
|
-
* Runtime provider for this run
|
|
112
|
-
*/
|
|
113
|
-
provider?: 'daytona' | 'vercel' | null;
|
|
114
|
-
/**
|
|
115
|
-
* Final output from the agent
|
|
116
|
-
*/
|
|
117
|
-
result?: RunGetDetailsResponse.Result | null;
|
|
118
|
-
/**
|
|
119
|
-
* Provider-specific runtime identifier
|
|
120
|
-
*/
|
|
121
|
-
runtimeId?: string | null;
|
|
122
|
-
/**
|
|
123
|
-
* Current runtime state, when available
|
|
124
|
-
*/
|
|
125
|
-
runtimeState?: 'running' | 'stopped' | 'archived' | 'ended' | 'error' | null;
|
|
126
|
-
startedAt?: string | null;
|
|
127
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
128
|
-
steps?: Array<RunGetDetailsResponse.Step>;
|
|
129
|
-
/**
|
|
130
|
-
* Token usage statistics
|
|
131
|
-
*/
|
|
132
|
-
usage?: RunGetDetailsResponse.Usage | null;
|
|
133
|
-
/**
|
|
134
|
-
* Durable workflow run ID
|
|
135
|
-
*/
|
|
136
|
-
workflowId?: string | null;
|
|
137
|
-
}
|
|
138
|
-
export declare namespace RunGetDetailsResponse {
|
|
139
|
-
/**
|
|
140
|
-
* Final output from the agent
|
|
141
|
-
*/
|
|
142
|
-
interface Result {
|
|
143
|
-
/**
|
|
144
|
-
* Compact agent-facing result summary and execution issues
|
|
145
|
-
*/
|
|
146
|
-
finalResponse?: Result.FinalResponse | null;
|
|
147
|
-
/**
|
|
148
|
-
* Sandbox execution logs (runtime server + runner script)
|
|
149
|
-
*/
|
|
150
|
-
logs?: Result.Logs | null;
|
|
151
|
-
output?: string;
|
|
152
|
-
outputObjectIds?: Array<string>;
|
|
153
|
-
}
|
|
154
|
-
namespace Result {
|
|
155
|
-
/**
|
|
156
|
-
* Compact agent-facing result summary and execution issues
|
|
157
|
-
*/
|
|
158
|
-
interface FinalResponse {
|
|
159
|
-
createdObjectIds?: Array<string>;
|
|
160
|
-
issues?: Array<string>;
|
|
161
|
-
summary?: string;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Sandbox execution logs (runtime server + runner script)
|
|
165
|
-
*/
|
|
166
|
-
interface Logs {
|
|
167
|
-
/**
|
|
168
|
-
* Legacy runtime server stdout/stderr
|
|
169
|
-
*/
|
|
170
|
-
opencode?: string;
|
|
171
|
-
/**
|
|
172
|
-
* Runner script stdout/stderr
|
|
173
|
-
*/
|
|
174
|
-
runner?: string;
|
|
175
|
-
/**
|
|
176
|
-
* Runtime server stdout/stderr
|
|
177
|
-
*/
|
|
178
|
-
runtime?: string;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
interface Step {
|
|
182
|
-
id?: string;
|
|
183
|
-
content?: string | null;
|
|
184
|
-
durationMs?: number | null;
|
|
185
|
-
timestamp?: string;
|
|
186
|
-
toolInput?: unknown;
|
|
187
|
-
toolName?: string | null;
|
|
188
|
-
toolOutput?: unknown;
|
|
189
|
-
type?: 'output' | 'thinking' | 'tool_call' | 'tool_result';
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Token usage statistics
|
|
193
|
-
*/
|
|
194
|
-
interface Usage {
|
|
195
|
-
durationMs?: number;
|
|
196
|
-
entries?: Array<Usage.Entry>;
|
|
197
|
-
inputTokens?: number;
|
|
198
|
-
model?: string;
|
|
199
|
-
outputTokens?: number;
|
|
200
|
-
summary?: Usage.Summary | null;
|
|
201
|
-
toolCalls?: number;
|
|
202
|
-
}
|
|
203
|
-
namespace Usage {
|
|
204
|
-
interface Entry {
|
|
205
|
-
id?: string;
|
|
206
|
-
completionTokens?: number | null;
|
|
207
|
-
costMicros?: number;
|
|
208
|
-
endpoint?: string | null;
|
|
209
|
-
kind?: 'llm' | 'api';
|
|
210
|
-
metadata?: unknown;
|
|
211
|
-
method?: string | null;
|
|
212
|
-
model?: string | null;
|
|
213
|
-
promptTokens?: number | null;
|
|
214
|
-
service?: string;
|
|
215
|
-
statusCode?: number | null;
|
|
216
|
-
timestamp?: string;
|
|
217
|
-
totalTokens?: number | null;
|
|
218
|
-
}
|
|
219
|
-
interface Summary {
|
|
220
|
-
costMicros?: number;
|
|
221
|
-
totalInputTokens?: number;
|
|
222
|
-
totalOutputTokens?: number;
|
|
223
|
-
totalTokens?: number;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
export interface RunGetStatusResponse {
|
|
228
|
-
id?: string;
|
|
229
|
-
completedAt?: string | null;
|
|
230
|
-
/**
|
|
231
|
-
* Elapsed time in milliseconds
|
|
232
|
-
*/
|
|
233
|
-
durationMs?: number | null;
|
|
234
|
-
startedAt?: string | null;
|
|
235
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
236
|
-
}
|
|
237
|
-
export interface RunWatchResponse {
|
|
238
|
-
callbackUrl?: string;
|
|
239
|
-
ok?: boolean;
|
|
240
|
-
}
|
|
241
|
-
export interface RunCreateParams {
|
|
242
|
-
/**
|
|
243
|
-
* ID of the agent to run
|
|
244
|
-
*/
|
|
245
|
-
agentId: string;
|
|
246
|
-
/**
|
|
247
|
-
* Task prompt for the agent
|
|
248
|
-
*/
|
|
249
|
-
prompt: string;
|
|
250
|
-
/**
|
|
251
|
-
* HTTPS callback URL to receive a notification when the run completes. Registered
|
|
252
|
-
* atomically with the run — eliminates the race condition of calling /watch after
|
|
253
|
-
* /exec. Additional watchers can still be added via POST /run/:id/watch.
|
|
254
|
-
*/
|
|
255
|
-
callbackUrl?: string | null;
|
|
256
|
-
/**
|
|
257
|
-
* Additional guidance for this run
|
|
258
|
-
*/
|
|
259
|
-
guidance?: string | null;
|
|
260
|
-
/**
|
|
261
|
-
* Override the agent default model for this run
|
|
262
|
-
*/
|
|
263
|
-
model?: string | null;
|
|
264
|
-
/**
|
|
265
|
-
* Scope this run to specific vault object IDs. The agent will only be able to
|
|
266
|
-
* access these objects during execution.
|
|
267
|
-
*/
|
|
268
|
-
objectIds?: Array<string> | null;
|
|
269
|
-
}
|
|
270
|
-
export interface RunListParams {
|
|
271
|
-
/**
|
|
272
|
-
* Filter by agent ID
|
|
273
|
-
*/
|
|
274
|
-
agentId?: string;
|
|
275
|
-
/**
|
|
276
|
-
* Pagination cursor (run ID from previous page). Returns runs created before this
|
|
277
|
-
* run.
|
|
278
|
-
*/
|
|
279
|
-
cursor?: string;
|
|
280
|
-
/**
|
|
281
|
-
* Maximum number of runs to return (default 50, max 250)
|
|
282
|
-
*/
|
|
283
|
-
limit?: number;
|
|
284
|
-
/**
|
|
285
|
-
* Filter by run status
|
|
286
|
-
*/
|
|
287
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
288
|
-
}
|
|
289
|
-
export interface RunEventsParams {
|
|
290
|
-
/**
|
|
291
|
-
* Replay events after this sequence number
|
|
292
|
-
*/
|
|
293
|
-
lastEventId?: number;
|
|
294
|
-
}
|
|
295
|
-
export interface RunWatchParams {
|
|
296
|
-
/**
|
|
297
|
-
* HTTPS URL to receive completion callback
|
|
298
|
-
*/
|
|
299
|
-
callbackUrl: string;
|
|
300
|
-
}
|
|
301
|
-
export declare namespace Run {
|
|
302
|
-
export { type RunCreateResponse as RunCreateResponse, type RunListResponse as RunListResponse, type RunCancelResponse as RunCancelResponse, type RunEventsResponse as RunEventsResponse, type RunExecResponse as RunExecResponse, type RunGetDetailsResponse as RunGetDetailsResponse, type RunGetStatusResponse as RunGetStatusResponse, type RunWatchResponse as RunWatchResponse, type RunCreateParams as RunCreateParams, type RunListParams as RunListParams, type RunEventsParams as RunEventsParams, type RunWatchParams as RunWatchParams, };
|
|
303
|
-
}
|
|
304
|
-
//# sourceMappingURL=run.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.mts","sourceRoot":"","sources":["../../../src/resources/agent/v1/run.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE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AK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { Stream } from "../../../core/streaming.js";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
-
/**
|
|
6
|
-
* Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
|
|
7
|
-
*/
|
|
8
|
-
export declare class Run extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Creates a run in queued state. Call POST /agent/v1/run/:id/exec to start
|
|
11
|
-
* execution.
|
|
12
|
-
*/
|
|
13
|
-
create(body: RunCreateParams, options?: RequestOptions): APIPromise<RunCreateResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Lists agent runs for the authenticated organization. Supports filtering by
|
|
16
|
-
* agent, status, and cursor-based pagination.
|
|
17
|
-
*/
|
|
18
|
-
list(query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<RunListResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* Cancels a running or queued run. Idempotent — cancelling a finished run returns
|
|
21
|
-
* its current status.
|
|
22
|
-
*/
|
|
23
|
-
cancel(id: string, options?: RequestOptions): APIPromise<RunCancelResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* Streams real-time run events over SSE. Supports replay using Last-Event-ID.
|
|
26
|
-
*/
|
|
27
|
-
events(id: string, query?: RunEventsParams | undefined, options?: RequestOptions): APIPromise<Stream<RunEventsResponse>>;
|
|
28
|
-
/**
|
|
29
|
-
* Starts execution of a queued run. The agent runs in a durable workflow — poll
|
|
30
|
-
* /run/:id/status for progress.
|
|
31
|
-
*/
|
|
32
|
-
exec(id: string, options?: RequestOptions): APIPromise<RunExecResponse>;
|
|
33
|
-
/**
|
|
34
|
-
* Full audit trail for a run including output, steps (tool calls, text), and token
|
|
35
|
-
* usage.
|
|
36
|
-
*/
|
|
37
|
-
getDetails(id: string, options?: RequestOptions): APIPromise<RunGetDetailsResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* Lightweight status poll for a run. Use /run/:id/details for the full audit
|
|
40
|
-
* trail.
|
|
41
|
-
*/
|
|
42
|
-
getStatus(id: string, options?: RequestOptions): APIPromise<RunGetStatusResponse>;
|
|
43
|
-
/**
|
|
44
|
-
* Register a callback URL to receive notifications when the run completes. URL
|
|
45
|
-
* must use https and must not point to a private network.
|
|
46
|
-
*/
|
|
47
|
-
watch(id: string, body: RunWatchParams, options?: RequestOptions): APIPromise<RunWatchResponse>;
|
|
48
|
-
}
|
|
49
|
-
export interface RunCreateResponse {
|
|
50
|
-
id?: string;
|
|
51
|
-
agentId?: string;
|
|
52
|
-
createdAt?: string;
|
|
53
|
-
objectIds?: Array<string> | null;
|
|
54
|
-
status?: 'queued';
|
|
55
|
-
}
|
|
56
|
-
export interface RunListResponse {
|
|
57
|
-
hasMore?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Pass as cursor to fetch the next page
|
|
60
|
-
*/
|
|
61
|
-
nextCursor?: string | null;
|
|
62
|
-
runs?: Array<RunListResponse.Run>;
|
|
63
|
-
}
|
|
64
|
-
export declare namespace RunListResponse {
|
|
65
|
-
interface Run {
|
|
66
|
-
id?: string;
|
|
67
|
-
agentId?: string;
|
|
68
|
-
completedAt?: string | null;
|
|
69
|
-
createdAt?: string;
|
|
70
|
-
model?: string | null;
|
|
71
|
-
/**
|
|
72
|
-
* Truncated to first 200 characters
|
|
73
|
-
*/
|
|
74
|
-
prompt?: string;
|
|
75
|
-
startedAt?: string | null;
|
|
76
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
export interface RunCancelResponse {
|
|
80
|
-
id?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Present if run was already finished
|
|
83
|
-
*/
|
|
84
|
-
message?: string;
|
|
85
|
-
status?: 'cancelled' | 'completed' | 'failed';
|
|
86
|
-
}
|
|
87
|
-
export type RunEventsResponse = string;
|
|
88
|
-
export interface RunExecResponse {
|
|
89
|
-
id?: string;
|
|
90
|
-
message?: string;
|
|
91
|
-
status?: 'running';
|
|
92
|
-
/**
|
|
93
|
-
* Durable workflow run ID
|
|
94
|
-
*/
|
|
95
|
-
workflowId?: string;
|
|
96
|
-
}
|
|
97
|
-
export interface RunGetDetailsResponse {
|
|
98
|
-
id?: string;
|
|
99
|
-
agentId?: string;
|
|
100
|
-
completedAt?: string | null;
|
|
101
|
-
createdAt?: string;
|
|
102
|
-
guidance?: string | null;
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated Deprecated legacy Modal sandbox ID. Prefer `provider` and
|
|
105
|
-
* `runtimeId`.
|
|
106
|
-
*/
|
|
107
|
-
modalSandboxId?: string | null;
|
|
108
|
-
model?: string | null;
|
|
109
|
-
prompt?: string;
|
|
110
|
-
/**
|
|
111
|
-
* Runtime provider for this run
|
|
112
|
-
*/
|
|
113
|
-
provider?: 'daytona' | 'vercel' | null;
|
|
114
|
-
/**
|
|
115
|
-
* Final output from the agent
|
|
116
|
-
*/
|
|
117
|
-
result?: RunGetDetailsResponse.Result | null;
|
|
118
|
-
/**
|
|
119
|
-
* Provider-specific runtime identifier
|
|
120
|
-
*/
|
|
121
|
-
runtimeId?: string | null;
|
|
122
|
-
/**
|
|
123
|
-
* Current runtime state, when available
|
|
124
|
-
*/
|
|
125
|
-
runtimeState?: 'running' | 'stopped' | 'archived' | 'ended' | 'error' | null;
|
|
126
|
-
startedAt?: string | null;
|
|
127
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
128
|
-
steps?: Array<RunGetDetailsResponse.Step>;
|
|
129
|
-
/**
|
|
130
|
-
* Token usage statistics
|
|
131
|
-
*/
|
|
132
|
-
usage?: RunGetDetailsResponse.Usage | null;
|
|
133
|
-
/**
|
|
134
|
-
* Durable workflow run ID
|
|
135
|
-
*/
|
|
136
|
-
workflowId?: string | null;
|
|
137
|
-
}
|
|
138
|
-
export declare namespace RunGetDetailsResponse {
|
|
139
|
-
/**
|
|
140
|
-
* Final output from the agent
|
|
141
|
-
*/
|
|
142
|
-
interface Result {
|
|
143
|
-
/**
|
|
144
|
-
* Compact agent-facing result summary and execution issues
|
|
145
|
-
*/
|
|
146
|
-
finalResponse?: Result.FinalResponse | null;
|
|
147
|
-
/**
|
|
148
|
-
* Sandbox execution logs (runtime server + runner script)
|
|
149
|
-
*/
|
|
150
|
-
logs?: Result.Logs | null;
|
|
151
|
-
output?: string;
|
|
152
|
-
outputObjectIds?: Array<string>;
|
|
153
|
-
}
|
|
154
|
-
namespace Result {
|
|
155
|
-
/**
|
|
156
|
-
* Compact agent-facing result summary and execution issues
|
|
157
|
-
*/
|
|
158
|
-
interface FinalResponse {
|
|
159
|
-
createdObjectIds?: Array<string>;
|
|
160
|
-
issues?: Array<string>;
|
|
161
|
-
summary?: string;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Sandbox execution logs (runtime server + runner script)
|
|
165
|
-
*/
|
|
166
|
-
interface Logs {
|
|
167
|
-
/**
|
|
168
|
-
* Legacy runtime server stdout/stderr
|
|
169
|
-
*/
|
|
170
|
-
opencode?: string;
|
|
171
|
-
/**
|
|
172
|
-
* Runner script stdout/stderr
|
|
173
|
-
*/
|
|
174
|
-
runner?: string;
|
|
175
|
-
/**
|
|
176
|
-
* Runtime server stdout/stderr
|
|
177
|
-
*/
|
|
178
|
-
runtime?: string;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
interface Step {
|
|
182
|
-
id?: string;
|
|
183
|
-
content?: string | null;
|
|
184
|
-
durationMs?: number | null;
|
|
185
|
-
timestamp?: string;
|
|
186
|
-
toolInput?: unknown;
|
|
187
|
-
toolName?: string | null;
|
|
188
|
-
toolOutput?: unknown;
|
|
189
|
-
type?: 'output' | 'thinking' | 'tool_call' | 'tool_result';
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Token usage statistics
|
|
193
|
-
*/
|
|
194
|
-
interface Usage {
|
|
195
|
-
durationMs?: number;
|
|
196
|
-
entries?: Array<Usage.Entry>;
|
|
197
|
-
inputTokens?: number;
|
|
198
|
-
model?: string;
|
|
199
|
-
outputTokens?: number;
|
|
200
|
-
summary?: Usage.Summary | null;
|
|
201
|
-
toolCalls?: number;
|
|
202
|
-
}
|
|
203
|
-
namespace Usage {
|
|
204
|
-
interface Entry {
|
|
205
|
-
id?: string;
|
|
206
|
-
completionTokens?: number | null;
|
|
207
|
-
costMicros?: number;
|
|
208
|
-
endpoint?: string | null;
|
|
209
|
-
kind?: 'llm' | 'api';
|
|
210
|
-
metadata?: unknown;
|
|
211
|
-
method?: string | null;
|
|
212
|
-
model?: string | null;
|
|
213
|
-
promptTokens?: number | null;
|
|
214
|
-
service?: string;
|
|
215
|
-
statusCode?: number | null;
|
|
216
|
-
timestamp?: string;
|
|
217
|
-
totalTokens?: number | null;
|
|
218
|
-
}
|
|
219
|
-
interface Summary {
|
|
220
|
-
costMicros?: number;
|
|
221
|
-
totalInputTokens?: number;
|
|
222
|
-
totalOutputTokens?: number;
|
|
223
|
-
totalTokens?: number;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
export interface RunGetStatusResponse {
|
|
228
|
-
id?: string;
|
|
229
|
-
completedAt?: string | null;
|
|
230
|
-
/**
|
|
231
|
-
* Elapsed time in milliseconds
|
|
232
|
-
*/
|
|
233
|
-
durationMs?: number | null;
|
|
234
|
-
startedAt?: string | null;
|
|
235
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
236
|
-
}
|
|
237
|
-
export interface RunWatchResponse {
|
|
238
|
-
callbackUrl?: string;
|
|
239
|
-
ok?: boolean;
|
|
240
|
-
}
|
|
241
|
-
export interface RunCreateParams {
|
|
242
|
-
/**
|
|
243
|
-
* ID of the agent to run
|
|
244
|
-
*/
|
|
245
|
-
agentId: string;
|
|
246
|
-
/**
|
|
247
|
-
* Task prompt for the agent
|
|
248
|
-
*/
|
|
249
|
-
prompt: string;
|
|
250
|
-
/**
|
|
251
|
-
* HTTPS callback URL to receive a notification when the run completes. Registered
|
|
252
|
-
* atomically with the run — eliminates the race condition of calling /watch after
|
|
253
|
-
* /exec. Additional watchers can still be added via POST /run/:id/watch.
|
|
254
|
-
*/
|
|
255
|
-
callbackUrl?: string | null;
|
|
256
|
-
/**
|
|
257
|
-
* Additional guidance for this run
|
|
258
|
-
*/
|
|
259
|
-
guidance?: string | null;
|
|
260
|
-
/**
|
|
261
|
-
* Override the agent default model for this run
|
|
262
|
-
*/
|
|
263
|
-
model?: string | null;
|
|
264
|
-
/**
|
|
265
|
-
* Scope this run to specific vault object IDs. The agent will only be able to
|
|
266
|
-
* access these objects during execution.
|
|
267
|
-
*/
|
|
268
|
-
objectIds?: Array<string> | null;
|
|
269
|
-
}
|
|
270
|
-
export interface RunListParams {
|
|
271
|
-
/**
|
|
272
|
-
* Filter by agent ID
|
|
273
|
-
*/
|
|
274
|
-
agentId?: string;
|
|
275
|
-
/**
|
|
276
|
-
* Pagination cursor (run ID from previous page). Returns runs created before this
|
|
277
|
-
* run.
|
|
278
|
-
*/
|
|
279
|
-
cursor?: string;
|
|
280
|
-
/**
|
|
281
|
-
* Maximum number of runs to return (default 50, max 250)
|
|
282
|
-
*/
|
|
283
|
-
limit?: number;
|
|
284
|
-
/**
|
|
285
|
-
* Filter by run status
|
|
286
|
-
*/
|
|
287
|
-
status?: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
288
|
-
}
|
|
289
|
-
export interface RunEventsParams {
|
|
290
|
-
/**
|
|
291
|
-
* Replay events after this sequence number
|
|
292
|
-
*/
|
|
293
|
-
lastEventId?: number;
|
|
294
|
-
}
|
|
295
|
-
export interface RunWatchParams {
|
|
296
|
-
/**
|
|
297
|
-
* HTTPS URL to receive completion callback
|
|
298
|
-
*/
|
|
299
|
-
callbackUrl: string;
|
|
300
|
-
}
|
|
301
|
-
export declare namespace Run {
|
|
302
|
-
export { type RunCreateResponse as RunCreateResponse, type RunListResponse as RunListResponse, type RunCancelResponse as RunCancelResponse, type RunEventsResponse as RunEventsResponse, type RunExecResponse as RunExecResponse, type RunGetDetailsResponse as RunGetDetailsResponse, type RunGetStatusResponse as RunGetStatusResponse, type RunWatchResponse as RunWatchResponse, type RunCreateParams as RunCreateParams, type RunListParams as RunListParams, type RunEventsParams as RunEventsParams, type RunWatchParams as RunWatchParams, };
|
|
303
|
-
}
|
|
304
|
-
//# sourceMappingURL=run.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/resources/agent/v1/run.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,MAAM,EAAE,mCAAgC;AAEjD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAItF;;;OAGG;IACH,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIzG;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAI3E;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,eAAe,GAAG,SAAc,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IASxC;;;OAGG;IACH,IAAI,C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