@fro.bot/systematic 3.3.0 → 3.3.1
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/index.js +29 -25
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12646,31 +12646,33 @@ var initializePlugin = async ({
|
|
|
12646
12646
|
registrationIdentity: registrationSourceIdentity,
|
|
12647
12647
|
observer,
|
|
12648
12648
|
classifier: createReceiptClassifier(),
|
|
12649
|
-
hostReadback: {
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
|
|
12657
|
-
|
|
12658
|
-
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
return response.data.flatMap((entry) => {
|
|
12667
|
-
if (typeof entry !== "object" || entry === null || typeof entry.id !== "string") {
|
|
12649
|
+
hostReadback: (() => {
|
|
12650
|
+
return {
|
|
12651
|
+
readSessionParts: async (sessionID) => {
|
|
12652
|
+
const messages = client.session.messages.bind(client.session);
|
|
12653
|
+
const response = await messages({
|
|
12654
|
+
path: { id: sessionID },
|
|
12655
|
+
query: { directory }
|
|
12656
|
+
});
|
|
12657
|
+
return Array.isArray(response.data) ? response.data : [];
|
|
12658
|
+
},
|
|
12659
|
+
listChildren: async (sessionID) => {
|
|
12660
|
+
const children = client.session.children.bind(client.session);
|
|
12661
|
+
const response = await children({
|
|
12662
|
+
path: { id: sessionID },
|
|
12663
|
+
query: { directory }
|
|
12664
|
+
});
|
|
12665
|
+
if (!Array.isArray(response.data))
|
|
12668
12666
|
return [];
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
|
|
12673
|
-
|
|
12667
|
+
return response.data.flatMap((entry) => {
|
|
12668
|
+
if (typeof entry !== "object" || entry === null || typeof entry.id !== "string") {
|
|
12669
|
+
return [];
|
|
12670
|
+
}
|
|
12671
|
+
return [{ sessionId: entry.id, parentID: entry.parentID }];
|
|
12672
|
+
});
|
|
12673
|
+
}
|
|
12674
|
+
};
|
|
12675
|
+
})()
|
|
12674
12676
|
});
|
|
12675
12677
|
return {
|
|
12676
12678
|
config: configHandler,
|
|
@@ -12737,7 +12739,9 @@ var initializePlugin = async ({
|
|
|
12737
12739
|
if (bootstrapContent) {
|
|
12738
12740
|
applyBootstrapContent(output, bootstrapContent);
|
|
12739
12741
|
}
|
|
12740
|
-
|
|
12742
|
+
try {
|
|
12743
|
+
await workflowGuard.hooks["experimental.chat.system.transform"](_input, output);
|
|
12744
|
+
} catch {}
|
|
12741
12745
|
}
|
|
12742
12746
|
};
|
|
12743
12747
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fro.bot/systematic",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Structured engineering workflows for OpenCode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://fro.bot/systematic",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"rimraf": "6.1.3",
|
|
104
104
|
"semantic-release": "25.0.8",
|
|
105
105
|
"semantic-release-export-data": "1.2.0",
|
|
106
|
-
"typebox": "1.3.
|
|
106
|
+
"typebox": "1.3.8",
|
|
107
107
|
"typescript": "6.0.3"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|