@byfriends/agent-core 0.1.0 → 0.2.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/dist/{index-BUBoyyCX.d.mts → index-CSFujlN1.d.mts} +540 -412
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1238 -1327
- package/dist/session/store/index.d.mts +1 -1
- package/dist/session/store/index.mjs +1 -1
- package/dist/{store-DhTph1cB.mjs → store-7tEWsiOk.mjs} +0 -7
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Et as SessionSummary, ft as ListSessionsPayload, lt as JsonObject } from "../../index-CSFujlN1.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/session/store/session-store.d.ts
|
|
4
4
|
interface CreateSessionRecordInput {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as sessionIndexPath, n as encodeWorkDirKey, r as normalizeWorkDir, t as SessionStore } from "../../store-
|
|
1
|
+
import { i as sessionIndexPath, n as encodeWorkDirKey, r as normalizeWorkDir, t as SessionStore } from "../../store-7tEWsiOk.mjs";
|
|
2
2
|
export { SessionStore, encodeWorkDirKey, normalizeWorkDir, sessionIndexPath };
|
|
@@ -31,7 +31,6 @@ const ErrorCodes = {
|
|
|
31
31
|
SESSION_PERMISSION_MODE_INVALID: "session.permission_mode_invalid",
|
|
32
32
|
SESSION_THINKING_EMPTY: "session.thinking_empty",
|
|
33
33
|
SESSION_MODEL_EMPTY: "session.model_empty",
|
|
34
|
-
SESSION_PLAN_MODE_INVALID: "session.plan_mode_invalid",
|
|
35
34
|
SESSION_APPROVAL_HANDLER_ERROR: "session.approval_handler_error",
|
|
36
35
|
SESSION_QUESTION_HANDLER_ERROR: "session.question_handler_error",
|
|
37
36
|
SESSION_INIT_FAILED: "session.init_failed",
|
|
@@ -160,12 +159,6 @@ const BYF_ERROR_INFO = {
|
|
|
160
159
|
public: true,
|
|
161
160
|
action: "Provide a non-empty model identifier."
|
|
162
161
|
},
|
|
163
|
-
"session.plan_mode_invalid": {
|
|
164
|
-
title: "Invalid plan mode",
|
|
165
|
-
retryable: false,
|
|
166
|
-
public: true,
|
|
167
|
-
action: "Provide a boolean plan mode."
|
|
168
|
-
},
|
|
169
162
|
"session.approval_handler_error": {
|
|
170
163
|
title: "Approval handler threw",
|
|
171
164
|
retryable: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byfriends/agent-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Unified agent engine for BYF",
|
|
5
5
|
"license": "Proprietary",
|
|
6
6
|
"author": "ByronFinn",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"tar": "^7.5.13",
|
|
69
69
|
"yauzl": "^3.3.0",
|
|
70
70
|
"zod": "^4.3.6",
|
|
71
|
-
"@byfriends/
|
|
72
|
-
"@byfriends/
|
|
71
|
+
"@byfriends/kosong": "^0.2.0",
|
|
72
|
+
"@byfriends/kaos": "^0.2.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/js-yaml": "^4.0.9",
|