@jskit-ai/assistant-core 0.1.203 → 0.1.204
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.
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
"build": "vite build"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@jskit-ai/assistant-core": "0.1.
|
|
12
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
13
|
-
"@jskit-ai/kernel": "0.1.
|
|
11
|
+
"@jskit-ai/assistant-core": "0.1.204",
|
|
12
|
+
"@jskit-ai/http-runtime": "0.1.224",
|
|
13
|
+
"@jskit-ai/kernel": "0.1.226",
|
|
14
14
|
"@mdi/js": "^7.4.47",
|
|
15
15
|
"vue": "^3.5.13",
|
|
16
16
|
"vuetify": "^4.0.0",
|
|
17
|
-
"@jskit-ai/connectors-core": "0.1.
|
|
18
|
-
"@jskit-ai/connectors-catalog": "0.1.
|
|
17
|
+
"@jskit-ai/connectors-core": "0.1.43",
|
|
18
|
+
"@jskit-ai/connectors-catalog": "0.1.43"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@vitejs/plugin-vue": "^6.0.7",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/assistant-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.204",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test --test-concurrency=1"
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@ai-sdk/perplexity": "^4.0.43",
|
|
46
46
|
"@ai-sdk/togetherai": "^3.0.49",
|
|
47
47
|
"@ai-sdk/xai": "^4.0.58",
|
|
48
|
-
"@jskit-ai/resource-core": "0.1.
|
|
49
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
48
|
+
"@jskit-ai/resource-core": "0.1.168",
|
|
49
|
+
"@jskit-ai/resource-crud-core": "0.1.168",
|
|
50
50
|
"@mdi/js": "^7.4.47",
|
|
51
51
|
"@openrouter/ai-sdk-provider": "^3.0.0",
|
|
52
52
|
"ai": "^7.0.101",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"ws": "^8.20.1"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
59
|
-
"@jskit-ai/kernel": "0.1.
|
|
58
|
+
"@jskit-ai/http-runtime": "0.1.224",
|
|
59
|
+
"@jskit-ai/kernel": "0.1.226",
|
|
60
60
|
"vue": "^3.5.13",
|
|
61
61
|
"vuetify": "^4.0.0"
|
|
62
62
|
},
|
|
@@ -142,7 +142,7 @@ test("Codex goal controls preserve native scheduling without authored command me
|
|
|
142
142
|
const events = [];
|
|
143
143
|
await f.conversation.subscribe(event => events.push(event));
|
|
144
144
|
assert.equal((await f.conversation.updateGoal(command)).objective, command.objective);
|
|
145
|
-
const completed = await settledNativeGoal(f
|
|
145
|
+
const completed = await settledNativeGoal(f);
|
|
146
146
|
assert.equal(completed.error, "");
|
|
147
147
|
assert.equal(completed.goal.status, "budgetLimited");
|
|
148
148
|
assert.equal(completed.goal.tokensUsed, 45);
|
|
@@ -739,10 +739,16 @@ function apiOptions() {
|
|
|
739
739
|
} };
|
|
740
740
|
}
|
|
741
741
|
|
|
742
|
-
async function settledNativeGoal(
|
|
742
|
+
async function settledNativeGoal(f) {
|
|
743
743
|
for (let attempt = 0; attempt < 500; attempt++) {
|
|
744
|
-
const state = await conversation.read();
|
|
745
|
-
if (state.goal && state.goal.status !== "active" && state.status !== "working")
|
|
744
|
+
const state = await f.conversation.read();
|
|
745
|
+
if (state.goal && state.goal.status !== "active" && state.status !== "working") {
|
|
746
|
+
// Original goal publication precedes durable run reconciliation. Wait for
|
|
747
|
+
// both owners before asserting their settled state; neither can be skipped.
|
|
748
|
+
const run = await f.storage.read("conversation", async transaction =>
|
|
749
|
+
(await transaction.readMetadata()).runtime.binding.codexAppServerRun);
|
|
750
|
+
if (run?.providerGoalStatus === state.goal.status) return state;
|
|
751
|
+
}
|
|
746
752
|
await new Promise(resolve => setTimeout(resolve, 10));
|
|
747
753
|
}
|
|
748
754
|
assert.fail("The original native goal owner did not publish its settled state.");
|