fecode-cli 1.1.3 → 1.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/README.md +92 -8
- package/dist/index.js +23293 -1
- package/dist/{node.browser-BsGbhAIw.js → node.browser-2EgZAKSy.js} +1 -1
- package/dist/{node.browser-B5CfqNxN.js → node.browser-B5Gur0wd.js} +1 -1
- package/dist/{node.browser-BWLpZywP.js → node.browser-BSlAsiSV.js} +1 -1
- package/dist/{node.browser-7pW7d9_e.js → node.browser-CdVAMgSg.js} +1 -1
- package/dist/{src-CxriUNOE.js → src-CSWdjU4j.js} +4836 -4522
- package/dist/{src-DBoGZaxi.js → src-DY3OmBmT.js} +6670 -4557
- package/dist/{src-B_Z8CdqT.js → src-DcYf8vsK.js} +4850 -4526
- package/dist/{src-Bhec3XmL.js → src-DkWmcv2Q.js} +6677 -4604
- package/package.json +5 -2
- package/skills/accessibility/SKILL.md +98 -98
- package/skills/css/SKILL.md +90 -90
- package/skills/frontend-debugging/SKILL.md +201 -201
- package/skills/frontend-design/SKILL.md +358 -358
- package/skills/frontend-performance/SKILL.md +89 -89
- package/skills/frontend-testing/SKILL.md +87 -87
- package/skills/nextjs/SKILL.md +75 -75
- package/skills/react/SKILL.md +213 -213
- package/skills/responsive-design/SKILL.md +190 -190
- package/skills/svelte/SKILL.md +86 -86
- package/skills/tailwind/SKILL.md +74 -74
- package/skills/ui-review/SKILL.md +245 -245
- package/skills/vue/SKILL.md +72 -72
- package/dist/App.d.ts +0 -33
- package/dist/App.js +0 -2224
- package/dist/approvalResolver.d.ts +0 -12
- package/dist/approvalResolver.js +0 -112
- package/dist/commands.d.ts +0 -11
- package/dist/commands.js +0 -33
- package/dist/error-qAR8Lv-R.js +0 -57
- package/dist/index.d.ts +0 -3
- package/dist/node.browser-C9Wg-Fje.js +0 -46
- package/dist/node.browser-CADgAblr.js +0 -46
- package/dist/node.browser-Cse19Rko.js +0 -47
- package/dist/node.browser-Cx8sZi1Z.js +0 -46
- package/dist/node.browser-DtPNhPGQ.js +0 -46
- package/dist/node.browser-DvjMZMaq.js +0 -46
- package/dist/node.browser-EewJmuUw.js +0 -46
- package/dist/node.browser-J7voHtuR.js +0 -10
- package/dist/src-4fKRO0jn.js +0 -31655
- package/dist/src-8kA-5Kbs.js +0 -31591
- package/dist/src-C8Oe06wn.js +0 -31580
- package/dist/src-D78uLcuc.js +0 -31573
- package/dist/src-EyWDnffN.js +0 -31636
- package/dist/src-dhvwrHAJ.js +0 -31590
- package/dist/ui/AppShell.d.ts +0 -14
- package/dist/ui/AppShell.js +0 -25
- package/dist/ui/ApprovalPrompt.d.ts +0 -31
- package/dist/ui/ApprovalPrompt.js +0 -55
- package/dist/ui/BlockedView.d.ts +0 -13
- package/dist/ui/BlockedView.js +0 -7
- package/dist/ui/CommandPalette.d.ts +0 -8
- package/dist/ui/CommandPalette.js +0 -18
- package/dist/ui/CurrentStepView.d.ts +0 -16
- package/dist/ui/CurrentStepView.js +0 -28
- package/dist/ui/DiagnosticsView.d.ts +0 -45
- package/dist/ui/DiagnosticsView.js +0 -23
- package/dist/ui/ExecutionTimeline.d.ts +0 -15
- package/dist/ui/ExecutionTimeline.js +0 -51
- package/dist/ui/ExecutionView.d.ts +0 -42
- package/dist/ui/ExecutionView.js +0 -20
- package/dist/ui/Header.d.ts +0 -15
- package/dist/ui/Header.js +0 -47
- package/dist/ui/HelpView.d.ts +0 -3
- package/dist/ui/HelpView.js +0 -35
- package/dist/ui/MessageBubble.d.ts +0 -9
- package/dist/ui/MessageBubble.js +0 -58
- package/dist/ui/PlanStep.d.ts +0 -16
- package/dist/ui/PlanStep.js +0 -71
- package/dist/ui/PlanView.d.ts +0 -26
- package/dist/ui/PlanView.js +0 -24
- package/dist/ui/ProgressBar.d.ts +0 -10
- package/dist/ui/ProgressBar.js +0 -14
- package/dist/ui/RecoveryView.d.ts +0 -20
- package/dist/ui/RecoveryView.js +0 -19
- package/dist/ui/ReplanView.d.ts +0 -16
- package/dist/ui/ReplanView.js +0 -21
- package/dist/ui/ResumeView.d.ts +0 -15
- package/dist/ui/ResumeView.js +0 -25
- package/dist/ui/RiskNotice.d.ts +0 -10
- package/dist/ui/RiskNotice.js +0 -21
- package/dist/ui/RunHistoryView.d.ts +0 -15
- package/dist/ui/RunHistoryView.js +0 -39
- package/dist/ui/StatusBar.d.ts +0 -16
- package/dist/ui/StatusBar.js +0 -104
- package/dist/ui/TaskInput.d.ts +0 -15
- package/dist/ui/TaskInput.js +0 -8
- package/dist/ui/ThinkingBlock.d.ts +0 -8
- package/dist/ui/ThinkingBlock.js +0 -13
- package/dist/ui/ThinkingIndicator.d.ts +0 -7
- package/dist/ui/ThinkingIndicator.js +0 -20
- package/dist/ui/TurnView.d.ts +0 -13
- package/dist/ui/TurnView.js +0 -11
- package/dist/ui/WorkspaceStatus.d.ts +0 -20
- package/dist/ui/WorkspaceStatus.js +0 -23
- package/dist/ui/index.d.ts +0 -26
- package/dist/ui/index.js +0 -26
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ApprovalDecision, ApprovalRequest, ApprovalResolver } from "@fecode/models";
|
|
2
|
-
export declare function formatApprovalRequest(request: ApprovalRequest): string;
|
|
3
|
-
export declare function formatApprovalArguments(args: unknown, maxStringLength?: number): string;
|
|
4
|
-
export declare class InteractiveApprovalResolver implements ApprovalResolver {
|
|
5
|
-
onRequest?: (request: ApprovalRequest) => void;
|
|
6
|
-
pendingRequest?: ApprovalRequest;
|
|
7
|
-
private pendingResolver?;
|
|
8
|
-
resolve(request: ApprovalRequest): Promise<ApprovalDecision>;
|
|
9
|
-
submitDecision(input: string | boolean | ApprovalDecision): void;
|
|
10
|
-
cancelPending(reason?: string): void;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=approvalResolver.d.ts.map
|
package/dist/approvalResolver.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { ChangeReviewFormatter } from "@fecode/agent";
|
|
2
|
-
export function formatApprovalRequest(request) {
|
|
3
|
-
if (request.changeReview) {
|
|
4
|
-
return ChangeReviewFormatter.format(request.changeReview);
|
|
5
|
-
}
|
|
6
|
-
if (request.toolName === "execute_command") {
|
|
7
|
-
const args = request.arguments;
|
|
8
|
-
const cmd = args?.command || "";
|
|
9
|
-
return `⚠ FeCode wants to run a command\n\nCommand:\n ${cmd}\n`;
|
|
10
|
-
}
|
|
11
|
-
return formatApprovalArguments(request.arguments);
|
|
12
|
-
}
|
|
13
|
-
export function formatApprovalArguments(args, maxStringLength = 80) {
|
|
14
|
-
if (args === null || args === undefined) {
|
|
15
|
-
return "{}";
|
|
16
|
-
}
|
|
17
|
-
if (typeof args !== "object") {
|
|
18
|
-
const str = String(args);
|
|
19
|
-
return str.length > maxStringLength
|
|
20
|
-
? str.slice(0, maxStringLength) + "..."
|
|
21
|
-
: str;
|
|
22
|
-
}
|
|
23
|
-
const rec = args;
|
|
24
|
-
if (typeof rec.diff === "string" && rec.diff) {
|
|
25
|
-
const pathStr = typeof rec.path === "string" ? rec.path : "";
|
|
26
|
-
const lines = rec.diff.split("\n");
|
|
27
|
-
let displayDiff = rec.diff;
|
|
28
|
-
if (lines.length > 30) {
|
|
29
|
-
const half = 15;
|
|
30
|
-
const top = lines.slice(0, half);
|
|
31
|
-
const bottom = lines.slice(lines.length - half);
|
|
32
|
-
const omitted = lines.length - 30;
|
|
33
|
-
displayDiff = [...top, `... (${omitted} lines omitted) ...`, ...bottom].join("\n");
|
|
34
|
-
}
|
|
35
|
-
return `${pathStr ? `File:\n ${pathStr}\n\n` : ""}Changes:\n${displayDiff}`;
|
|
36
|
-
}
|
|
37
|
-
const entries = [];
|
|
38
|
-
for (const [key, value] of Object.entries(rec)) {
|
|
39
|
-
if (typeof value === "string") {
|
|
40
|
-
const displayVal = value.length > maxStringLength
|
|
41
|
-
? value.slice(0, maxStringLength) + "..."
|
|
42
|
-
: value;
|
|
43
|
-
entries.push(`${key}: ${displayVal}`);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
const jsonStr = JSON.stringify(value) ?? "undefined";
|
|
47
|
-
const displayVal = jsonStr.length > maxStringLength
|
|
48
|
-
? jsonStr.slice(0, maxStringLength) + "..."
|
|
49
|
-
: jsonStr;
|
|
50
|
-
entries.push(`${key}: ${displayVal}`);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return entries.length > 0 ? entries.join("\n") : "{}";
|
|
54
|
-
}
|
|
55
|
-
export class InteractiveApprovalResolver {
|
|
56
|
-
onRequest;
|
|
57
|
-
pendingRequest;
|
|
58
|
-
pendingResolver;
|
|
59
|
-
async resolve(request) {
|
|
60
|
-
if (this.pendingResolver) {
|
|
61
|
-
this.cancelPending("Superseded by new approval request.");
|
|
62
|
-
}
|
|
63
|
-
this.pendingRequest = request;
|
|
64
|
-
return new Promise((res) => {
|
|
65
|
-
this.pendingResolver = res;
|
|
66
|
-
if (this.onRequest) {
|
|
67
|
-
this.onRequest(request);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
submitDecision(input) {
|
|
72
|
-
if (!this.pendingResolver) {
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
const resolve = this.pendingResolver;
|
|
76
|
-
this.pendingResolver = undefined;
|
|
77
|
-
this.pendingRequest = undefined;
|
|
78
|
-
if (typeof input === "boolean") {
|
|
79
|
-
resolve(input
|
|
80
|
-
? { approved: true }
|
|
81
|
-
: { approved: false, reason: "Tool execution was denied by the user." });
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
if (typeof input === "object" && input !== null) {
|
|
85
|
-
resolve(input);
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
const normalized = typeof input === "string" ? input.trim().toLowerCase() : "";
|
|
89
|
-
if (normalized === "y" || normalized === "yes") {
|
|
90
|
-
resolve({ approved: true });
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
resolve({
|
|
94
|
-
approved: false,
|
|
95
|
-
reason: "Tool execution was denied by the user."
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
cancelPending(reason = "Approval request was cancelled.") {
|
|
100
|
-
if (!this.pendingResolver) {
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
const resolve = this.pendingResolver;
|
|
104
|
-
this.pendingResolver = undefined;
|
|
105
|
-
this.pendingRequest = undefined;
|
|
106
|
-
resolve({
|
|
107
|
-
approved: false,
|
|
108
|
-
reason
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
//# sourceMappingURL=approvalResolver.js.map
|
package/dist/commands.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface CommandDef {
|
|
2
|
-
command: string;
|
|
3
|
-
description: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const COMMANDS: CommandDef[];
|
|
6
|
-
/**
|
|
7
|
-
* Returns commands whose command string starts with `prefix`.
|
|
8
|
-
* `prefix` should include the leading `/` e.g. "/he"
|
|
9
|
-
*/
|
|
10
|
-
export declare function filterCommands(prefix: string): CommandDef[];
|
|
11
|
-
//# sourceMappingURL=commands.d.ts.map
|
package/dist/commands.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export const COMMANDS = [
|
|
2
|
-
{ command: "/help", description: "Show available commands & keyboard shortcuts" },
|
|
3
|
-
{ command: "/status", description: "Show current session, model, and project context" },
|
|
4
|
-
{ command: "/plan", description: "Display current active task plan (or /plan <runId>)" },
|
|
5
|
-
{ command: "/runs", description: "List recent durable historical runs" },
|
|
6
|
-
{ command: "/run", description: "Inspect specific historical run by ID (/run <id>)" },
|
|
7
|
-
{ command: "/resume", description: "Prepare and resume task from previous run (/resume <id>)" },
|
|
8
|
-
{ command: "/replan", description: "Request replanning for current task (or /replan <runId>)" },
|
|
9
|
-
{ command: "/debug", description: "Show diagnostics summary for current run" },
|
|
10
|
-
{ command: "/diagnostics", description: "Show complete diagnostic telemetry" },
|
|
11
|
-
{ command: "/history", description: "Show completed tasks in current session" },
|
|
12
|
-
{ command: "/tasks", description: "List session task summaries" },
|
|
13
|
-
{ command: "/task", description: "View task details by index (/task <index>)" },
|
|
14
|
-
{ command: "/git", description: "Inspect git repository status and branch" },
|
|
15
|
-
{ command: "/checkpoints", description: "List available rollback checkpoints" },
|
|
16
|
-
{ command: "/checkpoint", description: "Create a new manual checkpoint" },
|
|
17
|
-
{ command: "/recover", description: "Inspect or initiate checkpoint recovery" },
|
|
18
|
-
{ command: "/sessions", description: "List saved CLI sessions" },
|
|
19
|
-
{ command: "/delete-session", description: "Delete a specific saved session (/delete-session <id>)" },
|
|
20
|
-
{ command: "/clear", description: "Clear current terminal conversation history" },
|
|
21
|
-
{ command: "/exit", description: "Persist session and exit FeCode" }
|
|
22
|
-
];
|
|
23
|
-
/**
|
|
24
|
-
* Returns commands whose command string starts with `prefix`.
|
|
25
|
-
* `prefix` should include the leading `/` e.g. "/he"
|
|
26
|
-
*/
|
|
27
|
-
export function filterCommands(prefix) {
|
|
28
|
-
if (!prefix || !prefix.trim().startsWith("/"))
|
|
29
|
-
return [];
|
|
30
|
-
const lower = prefix.trim().toLowerCase();
|
|
31
|
-
return COMMANDS.filter((c) => c.command.toLowerCase().startsWith(lower));
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=commands.js.map
|
package/dist/error-qAR8Lv-R.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/@anthropic-ai/sdk/internal/errors.mjs
|
|
2
|
-
function e(e) {
|
|
3
|
-
return typeof e == "object" && !!e && ("name" in e && e.name === "AbortError" || "message" in e && String(e.message).includes("FetchRequestCanceledException"));
|
|
4
|
-
}
|
|
5
|
-
var t = (e) => {
|
|
6
|
-
if (e instanceof Error) return e;
|
|
7
|
-
if (typeof e == "object" && e) {
|
|
8
|
-
try {
|
|
9
|
-
let t = Object.prototype.toString.call(e);
|
|
10
|
-
if (t === "[object Error]" || t === "[object DOMException]") {
|
|
11
|
-
let t = Error(e.message, e.cause ? { cause: e.cause } : {});
|
|
12
|
-
return e.stack && (t.stack = e.stack), e.cause && !t.cause && (t.cause = e.cause), e.name && (t.name = e.name), t;
|
|
13
|
-
}
|
|
14
|
-
} catch {}
|
|
15
|
-
try {
|
|
16
|
-
return Error(JSON.stringify(e));
|
|
17
|
-
} catch {}
|
|
18
|
-
}
|
|
19
|
-
return Error(e);
|
|
20
|
-
}, n = /* @__PURE__ */ (() => {
|
|
21
|
-
class e extends Error {}
|
|
22
|
-
return e;
|
|
23
|
-
})(), r = class e extends n {
|
|
24
|
-
constructor(t, n, r, i, a) {
|
|
25
|
-
super(`${e.makeMessage(t, n, r)}`), this.status = t, this.headers = i, this.requestID = i?.get("request-id"), this.workspaceID = i?.get("anthropic-workspace-id"), this.error = n, this.type = a ?? null;
|
|
26
|
-
}
|
|
27
|
-
static makeMessage(e, t, n) {
|
|
28
|
-
let r = t?.message ? typeof t.message == "string" ? t.message : JSON.stringify(t.message) : t ? JSON.stringify(t) : n;
|
|
29
|
-
return e && r ? `${e} ${r}` : e ? `${e} status code (no body)` : r || "(no status code or body)";
|
|
30
|
-
}
|
|
31
|
-
static generate(n, r, i, o) {
|
|
32
|
-
if (!n || !o) return new a({
|
|
33
|
-
message: i,
|
|
34
|
-
cause: t(r)
|
|
35
|
-
});
|
|
36
|
-
let s = r, g = s?.error?.type;
|
|
37
|
-
return n === 400 ? new c(n, s, i, o, g) : n === 401 ? new l(n, s, i, o, g) : n === 403 ? new u(n, s, i, o, g) : n === 404 ? new d(n, s, i, o, g) : n === 409 ? new f(n, s, i, o, g) : n === 422 ? new p(n, s, i, o, g) : n === 429 ? new m(n, s, i, o, g) : n >= 500 ? new h(n, s, i, o, g) : new e(n, s, i, o, g);
|
|
38
|
-
}
|
|
39
|
-
}, i = class extends r {
|
|
40
|
-
constructor({ message: e } = {}) {
|
|
41
|
-
super(void 0, void 0, e || "Request was aborted.", void 0);
|
|
42
|
-
}
|
|
43
|
-
}, a = class extends r {
|
|
44
|
-
constructor({ message: e, cause: t }) {
|
|
45
|
-
super(void 0, void 0, e || "Connection error.", void 0), t && (this.cause = t);
|
|
46
|
-
}
|
|
47
|
-
}, o = class extends a {
|
|
48
|
-
constructor({ message: e } = {}) {
|
|
49
|
-
super({ message: e ?? "Request timed out." });
|
|
50
|
-
}
|
|
51
|
-
}, s = class extends n {
|
|
52
|
-
constructor(e, { cause: t } = {}) {
|
|
53
|
-
super(e ?? "Retryable error."), t !== void 0 && (this.cause = t);
|
|
54
|
-
}
|
|
55
|
-
}, c = class extends r {}, l = class extends r {}, u = class extends r {}, d = class extends r {}, f = class extends r {}, p = class extends r {}, m = class extends r {}, h = class extends r {};
|
|
56
|
-
//#endregion
|
|
57
|
-
export { n as a, f as c, u as d, m as f, e as g, t as h, i, h as l, p as m, o as n, l as o, s as p, r, c as s, a as t, d as u };
|
package/dist/index.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "./src-DBoGZaxi.js";
|
|
2
|
-
import { a as e } from "./error-D4a-8BXd.js";
|
|
3
|
-
// ../../node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
throw new e(`${t} requires Node.js or a Node-compatible runtime`);
|
|
6
|
-
}
|
|
7
|
-
var n = 3e4, r = class extends e {
|
|
8
|
-
constructor(e, t) {
|
|
9
|
-
super(e), this.name = "SessionMemoryError", t !== void 0 && (this.cause = t);
|
|
10
|
-
}
|
|
11
|
-
}, i = class {
|
|
12
|
-
constructor(e, n) {
|
|
13
|
-
t("SessionMemoryStores");
|
|
14
|
-
}
|
|
15
|
-
get roots() {
|
|
16
|
-
return t("SessionMemoryStores");
|
|
17
|
-
}
|
|
18
|
-
get readOnlyRoots() {
|
|
19
|
-
return t("SessionMemoryStores");
|
|
20
|
-
}
|
|
21
|
-
download(e) {
|
|
22
|
-
return t("SessionMemoryStores");
|
|
23
|
-
}
|
|
24
|
-
finish() {
|
|
25
|
-
return t("SessionMemoryStores");
|
|
26
|
-
}
|
|
27
|
-
syncAll(e) {
|
|
28
|
-
return t("SessionMemoryStores");
|
|
29
|
-
}
|
|
30
|
-
syncIfDue() {
|
|
31
|
-
return t("SessionMemoryStores");
|
|
32
|
-
}
|
|
33
|
-
flushWrites(e) {
|
|
34
|
-
return t("SessionMemoryStores");
|
|
35
|
-
}
|
|
36
|
-
dispose() {
|
|
37
|
-
return t("SessionMemoryStores");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function a(e) {
|
|
41
|
-
return t("setupSkills");
|
|
42
|
-
}
|
|
43
|
-
function o(e) {
|
|
44
|
-
return t("betaAgentToolset20260401");
|
|
45
|
-
}
|
|
46
|
-
export { n as MEMORY_FLUSH_TIMEOUT_MS, r as SessionMemoryError, i as SessionMemoryStores, o as betaAgentToolset20260401, a as setupSkills };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "./src-B_Z8CdqT.js";
|
|
2
|
-
import { a as e } from "./error-D4a-8BXd.js";
|
|
3
|
-
// ../../node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
throw new e(`${t} requires Node.js or a Node-compatible runtime`);
|
|
6
|
-
}
|
|
7
|
-
var n = 3e4, r = class extends e {
|
|
8
|
-
constructor(e, t) {
|
|
9
|
-
super(e), this.name = "SessionMemoryError", t !== void 0 && (this.cause = t);
|
|
10
|
-
}
|
|
11
|
-
}, i = class {
|
|
12
|
-
constructor(e, n) {
|
|
13
|
-
t("SessionMemoryStores");
|
|
14
|
-
}
|
|
15
|
-
get roots() {
|
|
16
|
-
return t("SessionMemoryStores");
|
|
17
|
-
}
|
|
18
|
-
get readOnlyRoots() {
|
|
19
|
-
return t("SessionMemoryStores");
|
|
20
|
-
}
|
|
21
|
-
download(e) {
|
|
22
|
-
return t("SessionMemoryStores");
|
|
23
|
-
}
|
|
24
|
-
finish() {
|
|
25
|
-
return t("SessionMemoryStores");
|
|
26
|
-
}
|
|
27
|
-
syncAll(e) {
|
|
28
|
-
return t("SessionMemoryStores");
|
|
29
|
-
}
|
|
30
|
-
syncIfDue() {
|
|
31
|
-
return t("SessionMemoryStores");
|
|
32
|
-
}
|
|
33
|
-
flushWrites(e) {
|
|
34
|
-
return t("SessionMemoryStores");
|
|
35
|
-
}
|
|
36
|
-
dispose() {
|
|
37
|
-
return t("SessionMemoryStores");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function a(e) {
|
|
41
|
-
return t("setupSkills");
|
|
42
|
-
}
|
|
43
|
-
function o(e) {
|
|
44
|
-
return t("betaAgentToolset20260401");
|
|
45
|
-
}
|
|
46
|
-
export { n as MEMORY_FLUSH_TIMEOUT_MS, r as SessionMemoryError, i as SessionMemoryStores, o as betaAgentToolset20260401, a as setupSkills };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { a as e } from "./error-qAR8Lv-R.js";
|
|
2
|
-
import "./index.js";
|
|
3
|
-
//#region ../../node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
throw new e(`${t} requires Node.js or a Node-compatible runtime`);
|
|
6
|
-
}
|
|
7
|
-
var n = 3e4, r = class extends e {
|
|
8
|
-
constructor(e, t) {
|
|
9
|
-
super(e), this.name = "SessionMemoryError", t !== void 0 && (this.cause = t);
|
|
10
|
-
}
|
|
11
|
-
}, i = class {
|
|
12
|
-
constructor(e, n) {
|
|
13
|
-
t("SessionMemoryStores");
|
|
14
|
-
}
|
|
15
|
-
get roots() {
|
|
16
|
-
return t("SessionMemoryStores");
|
|
17
|
-
}
|
|
18
|
-
get readOnlyRoots() {
|
|
19
|
-
return t("SessionMemoryStores");
|
|
20
|
-
}
|
|
21
|
-
download(e) {
|
|
22
|
-
return t("SessionMemoryStores");
|
|
23
|
-
}
|
|
24
|
-
finish() {
|
|
25
|
-
return t("SessionMemoryStores");
|
|
26
|
-
}
|
|
27
|
-
syncAll(e) {
|
|
28
|
-
return t("SessionMemoryStores");
|
|
29
|
-
}
|
|
30
|
-
syncIfDue() {
|
|
31
|
-
return t("SessionMemoryStores");
|
|
32
|
-
}
|
|
33
|
-
flushWrites(e) {
|
|
34
|
-
return t("SessionMemoryStores");
|
|
35
|
-
}
|
|
36
|
-
dispose() {
|
|
37
|
-
return t("SessionMemoryStores");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function a(e) {
|
|
41
|
-
return t("setupSkills");
|
|
42
|
-
}
|
|
43
|
-
function o(e) {
|
|
44
|
-
return t("betaAgentToolset20260401");
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
export { n as MEMORY_FLUSH_TIMEOUT_MS, r as SessionMemoryError, i as SessionMemoryStores, o as betaAgentToolset20260401, a as setupSkills };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "./src-dhvwrHAJ.js";
|
|
2
|
-
import { a as e } from "./error-D4a-8BXd.js";
|
|
3
|
-
// ../../node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
throw new e(`${t} requires Node.js or a Node-compatible runtime`);
|
|
6
|
-
}
|
|
7
|
-
var n = 3e4, r = class extends e {
|
|
8
|
-
constructor(e, t) {
|
|
9
|
-
super(e), this.name = "SessionMemoryError", t !== void 0 && (this.cause = t);
|
|
10
|
-
}
|
|
11
|
-
}, i = class {
|
|
12
|
-
constructor(e, n) {
|
|
13
|
-
t("SessionMemoryStores");
|
|
14
|
-
}
|
|
15
|
-
get roots() {
|
|
16
|
-
return t("SessionMemoryStores");
|
|
17
|
-
}
|
|
18
|
-
get readOnlyRoots() {
|
|
19
|
-
return t("SessionMemoryStores");
|
|
20
|
-
}
|
|
21
|
-
download(e) {
|
|
22
|
-
return t("SessionMemoryStores");
|
|
23
|
-
}
|
|
24
|
-
finish() {
|
|
25
|
-
return t("SessionMemoryStores");
|
|
26
|
-
}
|
|
27
|
-
syncAll(e) {
|
|
28
|
-
return t("SessionMemoryStores");
|
|
29
|
-
}
|
|
30
|
-
syncIfDue() {
|
|
31
|
-
return t("SessionMemoryStores");
|
|
32
|
-
}
|
|
33
|
-
flushWrites(e) {
|
|
34
|
-
return t("SessionMemoryStores");
|
|
35
|
-
}
|
|
36
|
-
dispose() {
|
|
37
|
-
return t("SessionMemoryStores");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function a(e) {
|
|
41
|
-
return t("setupSkills");
|
|
42
|
-
}
|
|
43
|
-
function o(e) {
|
|
44
|
-
return t("betaAgentToolset20260401");
|
|
45
|
-
}
|
|
46
|
-
export { n as MEMORY_FLUSH_TIMEOUT_MS, r as SessionMemoryError, i as SessionMemoryStores, o as betaAgentToolset20260401, a as setupSkills };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "./src-C8Oe06wn.js";
|
|
2
|
-
import { a as e } from "./error-D4a-8BXd.js";
|
|
3
|
-
// ../../node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
throw new e(`${t} requires Node.js or a Node-compatible runtime`);
|
|
6
|
-
}
|
|
7
|
-
var n = 3e4, r = class extends e {
|
|
8
|
-
constructor(e, t) {
|
|
9
|
-
super(e), this.name = "SessionMemoryError", t !== void 0 && (this.cause = t);
|
|
10
|
-
}
|
|
11
|
-
}, i = class {
|
|
12
|
-
constructor(e, n) {
|
|
13
|
-
t("SessionMemoryStores");
|
|
14
|
-
}
|
|
15
|
-
get roots() {
|
|
16
|
-
return t("SessionMemoryStores");
|
|
17
|
-
}
|
|
18
|
-
get readOnlyRoots() {
|
|
19
|
-
return t("SessionMemoryStores");
|
|
20
|
-
}
|
|
21
|
-
download(e) {
|
|
22
|
-
return t("SessionMemoryStores");
|
|
23
|
-
}
|
|
24
|
-
finish() {
|
|
25
|
-
return t("SessionMemoryStores");
|
|
26
|
-
}
|
|
27
|
-
syncAll(e) {
|
|
28
|
-
return t("SessionMemoryStores");
|
|
29
|
-
}
|
|
30
|
-
syncIfDue() {
|
|
31
|
-
return t("SessionMemoryStores");
|
|
32
|
-
}
|
|
33
|
-
flushWrites(e) {
|
|
34
|
-
return t("SessionMemoryStores");
|
|
35
|
-
}
|
|
36
|
-
dispose() {
|
|
37
|
-
return t("SessionMemoryStores");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function a(e) {
|
|
41
|
-
return t("setupSkills");
|
|
42
|
-
}
|
|
43
|
-
function o(e) {
|
|
44
|
-
return t("betaAgentToolset20260401");
|
|
45
|
-
}
|
|
46
|
-
export { n as MEMORY_FLUSH_TIMEOUT_MS, r as SessionMemoryError, i as SessionMemoryStores, o as betaAgentToolset20260401, a as setupSkills };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "./src-EyWDnffN.js";
|
|
2
|
-
import { a as e } from "./error-D4a-8BXd.js";
|
|
3
|
-
// ../../node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
throw new e(`${t} requires Node.js or a Node-compatible runtime`);
|
|
6
|
-
}
|
|
7
|
-
var n = 3e4, r = class extends e {
|
|
8
|
-
constructor(e, t) {
|
|
9
|
-
super(e), this.name = "SessionMemoryError", t !== void 0 && (this.cause = t);
|
|
10
|
-
}
|
|
11
|
-
}, i = class {
|
|
12
|
-
constructor(e, n) {
|
|
13
|
-
t("SessionMemoryStores");
|
|
14
|
-
}
|
|
15
|
-
get roots() {
|
|
16
|
-
return t("SessionMemoryStores");
|
|
17
|
-
}
|
|
18
|
-
get readOnlyRoots() {
|
|
19
|
-
return t("SessionMemoryStores");
|
|
20
|
-
}
|
|
21
|
-
download(e) {
|
|
22
|
-
return t("SessionMemoryStores");
|
|
23
|
-
}
|
|
24
|
-
finish() {
|
|
25
|
-
return t("SessionMemoryStores");
|
|
26
|
-
}
|
|
27
|
-
syncAll(e) {
|
|
28
|
-
return t("SessionMemoryStores");
|
|
29
|
-
}
|
|
30
|
-
syncIfDue() {
|
|
31
|
-
return t("SessionMemoryStores");
|
|
32
|
-
}
|
|
33
|
-
flushWrites(e) {
|
|
34
|
-
return t("SessionMemoryStores");
|
|
35
|
-
}
|
|
36
|
-
dispose() {
|
|
37
|
-
return t("SessionMemoryStores");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function a(e) {
|
|
41
|
-
return t("setupSkills");
|
|
42
|
-
}
|
|
43
|
-
function o(e) {
|
|
44
|
-
return t("betaAgentToolset20260401");
|
|
45
|
-
}
|
|
46
|
-
export { n as MEMORY_FLUSH_TIMEOUT_MS, r as SessionMemoryError, i as SessionMemoryStores, o as betaAgentToolset20260401, a as setupSkills };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "./src-8kA-5Kbs.js";
|
|
2
|
-
import { a as e } from "./error-D4a-8BXd.js";
|
|
3
|
-
// ../../node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
throw new e(`${t} requires Node.js or a Node-compatible runtime`);
|
|
6
|
-
}
|
|
7
|
-
var n = 3e4, r = class extends e {
|
|
8
|
-
constructor(e, t) {
|
|
9
|
-
super(e), this.name = "SessionMemoryError", t !== void 0 && (this.cause = t);
|
|
10
|
-
}
|
|
11
|
-
}, i = class {
|
|
12
|
-
constructor(e, n) {
|
|
13
|
-
t("SessionMemoryStores");
|
|
14
|
-
}
|
|
15
|
-
get roots() {
|
|
16
|
-
return t("SessionMemoryStores");
|
|
17
|
-
}
|
|
18
|
-
get readOnlyRoots() {
|
|
19
|
-
return t("SessionMemoryStores");
|
|
20
|
-
}
|
|
21
|
-
download(e) {
|
|
22
|
-
return t("SessionMemoryStores");
|
|
23
|
-
}
|
|
24
|
-
finish() {
|
|
25
|
-
return t("SessionMemoryStores");
|
|
26
|
-
}
|
|
27
|
-
syncAll(e) {
|
|
28
|
-
return t("SessionMemoryStores");
|
|
29
|
-
}
|
|
30
|
-
syncIfDue() {
|
|
31
|
-
return t("SessionMemoryStores");
|
|
32
|
-
}
|
|
33
|
-
flushWrites(e) {
|
|
34
|
-
return t("SessionMemoryStores");
|
|
35
|
-
}
|
|
36
|
-
dispose() {
|
|
37
|
-
return t("SessionMemoryStores");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function a(e) {
|
|
41
|
-
return t("setupSkills");
|
|
42
|
-
}
|
|
43
|
-
function o(e) {
|
|
44
|
-
return t("betaAgentToolset20260401");
|
|
45
|
-
}
|
|
46
|
-
export { n as MEMORY_FLUSH_TIMEOUT_MS, r as SessionMemoryError, i as SessionMemoryStores, o as betaAgentToolset20260401, a as setupSkills };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { a as e } from "./error-qAR8Lv-R.js";
|
|
2
|
-
//#region ../../node_modules/@anthropic-ai/sdk/internal/node.browser.mjs
|
|
3
|
-
function t(t) {
|
|
4
|
-
return new Proxy({}, { get(n, r) {
|
|
5
|
-
if (typeof r != "symbol") throw new e(`\`${t}.${r}\` is not available in this environment; it needs a Node.js-compatible runtime`);
|
|
6
|
-
} });
|
|
7
|
-
}
|
|
8
|
-
var n = /* @__PURE__ */ t("fs"), r = /* @__PURE__ */ t("path");
|
|
9
|
-
//#endregion
|
|
10
|
-
export { n as fs, r as path };
|