@kortix/sdk 0.13.21 → 0.13.23
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/README.md +54 -10
- package/dist/core/client/kortix.d.ts +8 -3
- package/dist/core/client/kortix.d.ts.map +1 -1
- package/dist/core/client/kortix.js +3 -0
- package/dist/core/client/kortix.js.map +1 -1
- package/dist/core/rest/projects-client/account-secret-resources.d.ts +9 -1
- package/dist/core/rest/projects-client/account-secret-resources.d.ts.map +1 -1
- package/dist/core/rest/projects-client/account-secret-resources.js +6 -2
- package/dist/core/rest/projects-client/account-secret-resources.js.map +1 -1
- package/dist/core/rest/projects-client/connectors.d.ts +86 -3
- package/dist/core/rest/projects-client/connectors.d.ts.map +1 -1
- package/dist/core/rest/projects-client/connectors.js +27 -4
- package/dist/core/rest/projects-client/connectors.js.map +1 -1
- package/dist/core/rest/projects-client/sessions.d.ts +18 -5
- package/dist/core/rest/projects-client/sessions.d.ts.map +1 -1
- package/dist/core/rest/projects-client/sessions.js.map +1 -1
- package/dist/core/rest/projects-client/setup-links.d.ts +7 -0
- package/dist/core/rest/projects-client/setup-links.d.ts.map +1 -1
- package/dist/core/rest/projects-client/setup-links.js +3 -0
- package/dist/core/rest/projects-client/setup-links.js.map +1 -1
- package/dist/core/turns/open-turn.d.ts +3 -2
- package/dist/core/turns/open-turn.d.ts.map +1 -1
- package/dist/core/turns/open-turn.js +3 -2
- package/dist/core/turns/open-turn.js.map +1 -1
- package/dist/kortix.esm.min.js +22 -22
- package/dist/kortix.global.js +22 -22
- package/dist/react/teams-install-polling.d.ts +10 -0
- package/dist/react/teams-install-polling.d.ts.map +1 -0
- package/dist/react/teams-install-polling.js +11 -0
- package/dist/react/teams-install-polling.js.map +1 -0
- package/dist/react/use-provider-secrets.d.ts +1 -1
- package/dist/react/use-provider-secrets.d.ts.map +1 -1
- package/dist/react/use-provider-secrets.js +3 -3
- package/dist/react/use-provider-secrets.js.map +1 -1
- package/dist/react/use-teams-installations.d.ts +11 -0
- package/dist/react/use-teams-installations.d.ts.map +1 -1
- package/dist/react/use-teams-installations.js +4 -0
- package/dist/react/use-teams-installations.js.map +1 -1
- package/package.json +2 -2
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
* This existed twice, and the two copies disagreed:
|
|
5
5
|
*
|
|
6
6
|
* - The sandbox daemon
|
|
7
|
-
* (`
|
|
8
|
-
* turn
|
|
7
|
+
* (`lastTurnIncomplete` in `inspectOpencodeRoot`,
|
|
8
|
+
* `apps/kortix-sandbox-agent-server/src/harness/open-code/opencode-turn-state.ts`)
|
|
9
|
+
* keeps a turn open through a RETRYABLE error:
|
|
9
10
|
* `role === 'assistant' && !time.completed && (!error || error.data?.isRetryable === true)`.
|
|
10
11
|
* - `apps/web`'s copy ended the turn on ANY `info.error`. That was the wrong one.
|
|
11
12
|
* During a provider 429 backoff OpenCode stamps `info.error` and keeps writing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-turn.d.ts","sourceRoot":"","sources":["../../../src/core/turns/open-turn.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"open-turn.d.ts","sourceRoot":"","sources":["../../../src/core/turns/open-turn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE;YAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,IAAI,CAAC;QACpE,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;CACH;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAI5D;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,GACnD,OAAO,CAQT"}
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
* This existed twice, and the two copies disagreed:
|
|
5
5
|
*
|
|
6
6
|
* - The sandbox daemon
|
|
7
|
-
* (`
|
|
8
|
-
* turn
|
|
7
|
+
* (`lastTurnIncomplete` in `inspectOpencodeRoot`,
|
|
8
|
+
* `apps/kortix-sandbox-agent-server/src/harness/open-code/opencode-turn-state.ts`)
|
|
9
|
+
* keeps a turn open through a RETRYABLE error:
|
|
9
10
|
* `role === 'assistant' && !time.completed && (!error || error.data?.isRetryable === true)`.
|
|
10
11
|
* - `apps/web`'s copy ended the turn on ANY `info.error`. That was the wrong one.
|
|
11
12
|
* During a provider 429 backoff OpenCode stamps `info.error` and keeps writing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-turn.js","sourceRoot":"","sources":["../../../src/core/turns/open-turn.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"open-turn.js","sourceRoot":"","sources":["../../../src/core/turns/open-turn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAmBH;;;;;;;;;;GAUG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAAc;IACjD,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACtD,MAAM,IAAI,GAAI,KAA8C,CAAC,IAAI,CAAC;IAClE,OAAO,CAAC,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,CAAC;AACzE,CAAC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,UAAU,wBAAwB,CACtC,QAAoD;IAEpD,IAAI,CAAC,QAAQ,EAAE,MAAM;QAAE,OAAO,KAAK,CAAC;IACpC,KAAK,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC9C,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9B,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW;YAAE,SAAS;QACxC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,IAAI,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACnE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|