@alquimia-ai/tools 2.4.0 → 2.7.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 +529 -19
- package/dist/actions/index.d.mts +2 -2
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/index.js +1 -1
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/index.mjs +1 -1
- package/dist/actions/index.mjs.map +1 -1
- package/dist/{actions-CZU_GRy5.d.mts → actions-BjDPJdyA.d.mts} +1 -1
- package/dist/{actions-B0hfoYRd.d.ts → actions-CP1d4Ye1.d.ts} +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.d.ts +2 -2
- package/dist/adapters/index.js.map +1 -1
- package/dist/genui/index.d.mts +3 -3
- package/dist/genui/index.d.ts +3 -3
- package/dist/genui/index.js +9 -1
- package/dist/genui/index.js.map +1 -1
- package/dist/genui/index.mjs +9 -1
- package/dist/genui/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +10 -10
- package/dist/hooks/index.d.ts +10 -10
- package/dist/hooks/index.js +88 -12
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +88 -12
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/next/index.js +23 -6
- package/dist/next/index.js.map +1 -1
- package/dist/next/index.mjs +23 -6
- package/dist/next/index.mjs.map +1 -1
- package/dist/providers/index.d.mts +4 -4
- package/dist/providers/index.d.ts +4 -4
- package/dist/providers/index.js +111 -110
- package/dist/providers/index.js.map +1 -1
- package/dist/providers/index.mjs +111 -110
- package/dist/providers/index.mjs.map +1 -1
- package/dist/{providers-BJTXCtI3.d.ts → providers-B4IOiGfr.d.mts} +8 -8
- package/dist/{providers-0Gi78uNQ.d.mts → providers-mx21gNgZ.d.ts} +8 -8
- package/dist/proxy.d.mts +4 -4
- package/dist/proxy.d.ts +4 -4
- package/dist/proxy.js +23 -6
- package/dist/proxy.js.map +1 -1
- package/dist/proxy.mjs +23 -6
- package/dist/proxy.mjs.map +1 -1
- package/dist/sdk/index.d.mts +39 -5
- package/dist/sdk/index.d.ts +39 -5
- package/dist/sdk/index.js +49 -6
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.mjs +49 -6
- package/dist/sdk/index.mjs.map +1 -1
- package/dist/services/index.d.mts +3 -3
- package/dist/services/index.d.ts +3 -3
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs.map +1 -1
- package/dist/type-61gaZga-.d.mts +356 -0
- package/dist/type-D-JaSMkV.d.ts +356 -0
- package/dist/types/index.d.mts +80 -304
- package/dist/types/index.d.ts +80 -304
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs.map +1 -1
- package/dist/{types-DnfWUE9V.d.mts → types-CMVbyEv8.d.mts} +3 -2
- package/dist/{types-DnfWUE9V.d.ts → types-CMVbyEv8.d.ts} +3 -2
- package/dist/types-lOliroPw.d.mts +111 -0
- package/dist/types-lOliroPw.d.ts +111 -0
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/index.mjs.map +1 -1
- package/dist/worklog/index.d.mts +5 -2
- package/dist/worklog/index.d.ts +5 -2
- package/dist/worklog/index.js +22 -1
- package/dist/worklog/index.js.map +1 -1
- package/dist/worklog/index.mjs +22 -1
- package/dist/worklog/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/types-Dvu9y4WM.d.mts +0 -53
- package/dist/types-Dvu9y4WM.d.ts +0 -53
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/** One granular Runtime worklog record (a `bus_mode` SSE frame or a `/worklog/{task_id}/events` item). */
|
|
2
|
-
interface WorklogRecord {
|
|
3
|
-
event_class: string;
|
|
4
|
-
control_id: string | null;
|
|
5
|
-
data: unknown;
|
|
6
|
-
status: "success" | "error" | null;
|
|
7
|
-
date_submitted: string;
|
|
8
|
-
}
|
|
9
|
-
/** Semantic bucket a node belongs to. */
|
|
10
|
-
type NodeKind = "safeguard" | "reasoning" | "tool" | "a2a" | "memory" | "answer" | "unknown";
|
|
11
|
-
/** Lifecycle state of a single node. */
|
|
12
|
-
type NodeStatus = "pending" | "running" | "completed" | "failed" | "skipped";
|
|
13
|
-
/** Overall run status. */
|
|
14
|
-
type RunStatus = "idle" | "running" | "success" | "error";
|
|
15
|
-
/** A single step in the execution chain (command + its response merged by control_id). */
|
|
16
|
-
interface WorklogNode {
|
|
17
|
-
id: string;
|
|
18
|
-
kind: NodeKind;
|
|
19
|
-
eventClass: string;
|
|
20
|
-
status: NodeStatus;
|
|
21
|
-
title: string;
|
|
22
|
-
startedAt?: string;
|
|
23
|
-
endedAt?: string;
|
|
24
|
-
depth: number;
|
|
25
|
-
parentId?: string;
|
|
26
|
-
children: WorklogNode[];
|
|
27
|
-
command?: unknown;
|
|
28
|
-
response?: unknown;
|
|
29
|
-
error?: string;
|
|
30
|
-
raw: WorklogRecord[];
|
|
31
|
-
}
|
|
32
|
-
/** Normalized execution model produced by the reducer. */
|
|
33
|
-
interface WorklogState {
|
|
34
|
-
taskId: string | null;
|
|
35
|
-
status: RunStatus;
|
|
36
|
-
answer: string | null;
|
|
37
|
-
nodes: WorklogNode[];
|
|
38
|
-
index: Record<string, number>;
|
|
39
|
-
raw: WorklogRecord[];
|
|
40
|
-
}
|
|
41
|
-
/** How a record acts on the model. */
|
|
42
|
-
type EventRole = "open" | "close" | "run-open" | "run-close" | "ignore";
|
|
43
|
-
/** Registry descriptor for one event_class. */
|
|
44
|
-
interface EventInterpreter {
|
|
45
|
-
kind: NodeKind;
|
|
46
|
-
role: EventRole;
|
|
47
|
-
title: (record: WorklogRecord) => string;
|
|
48
|
-
/** If true, an opened node starts in "pending" (awaiting external input) rather than "running". */
|
|
49
|
-
pending?: boolean;
|
|
50
|
-
}
|
|
51
|
-
declare function initialWorklogState(taskId?: string | null): WorklogState;
|
|
52
|
-
|
|
53
|
-
export { type EventInterpreter as E, type NodeKind as N, type RunStatus as R, type WorklogState as W, type WorklogRecord as a, type EventRole as b, type NodeStatus as c, type WorklogNode as d, initialWorklogState as i };
|
package/dist/types-Dvu9y4WM.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/** One granular Runtime worklog record (a `bus_mode` SSE frame or a `/worklog/{task_id}/events` item). */
|
|
2
|
-
interface WorklogRecord {
|
|
3
|
-
event_class: string;
|
|
4
|
-
control_id: string | null;
|
|
5
|
-
data: unknown;
|
|
6
|
-
status: "success" | "error" | null;
|
|
7
|
-
date_submitted: string;
|
|
8
|
-
}
|
|
9
|
-
/** Semantic bucket a node belongs to. */
|
|
10
|
-
type NodeKind = "safeguard" | "reasoning" | "tool" | "a2a" | "memory" | "answer" | "unknown";
|
|
11
|
-
/** Lifecycle state of a single node. */
|
|
12
|
-
type NodeStatus = "pending" | "running" | "completed" | "failed" | "skipped";
|
|
13
|
-
/** Overall run status. */
|
|
14
|
-
type RunStatus = "idle" | "running" | "success" | "error";
|
|
15
|
-
/** A single step in the execution chain (command + its response merged by control_id). */
|
|
16
|
-
interface WorklogNode {
|
|
17
|
-
id: string;
|
|
18
|
-
kind: NodeKind;
|
|
19
|
-
eventClass: string;
|
|
20
|
-
status: NodeStatus;
|
|
21
|
-
title: string;
|
|
22
|
-
startedAt?: string;
|
|
23
|
-
endedAt?: string;
|
|
24
|
-
depth: number;
|
|
25
|
-
parentId?: string;
|
|
26
|
-
children: WorklogNode[];
|
|
27
|
-
command?: unknown;
|
|
28
|
-
response?: unknown;
|
|
29
|
-
error?: string;
|
|
30
|
-
raw: WorklogRecord[];
|
|
31
|
-
}
|
|
32
|
-
/** Normalized execution model produced by the reducer. */
|
|
33
|
-
interface WorklogState {
|
|
34
|
-
taskId: string | null;
|
|
35
|
-
status: RunStatus;
|
|
36
|
-
answer: string | null;
|
|
37
|
-
nodes: WorklogNode[];
|
|
38
|
-
index: Record<string, number>;
|
|
39
|
-
raw: WorklogRecord[];
|
|
40
|
-
}
|
|
41
|
-
/** How a record acts on the model. */
|
|
42
|
-
type EventRole = "open" | "close" | "run-open" | "run-close" | "ignore";
|
|
43
|
-
/** Registry descriptor for one event_class. */
|
|
44
|
-
interface EventInterpreter {
|
|
45
|
-
kind: NodeKind;
|
|
46
|
-
role: EventRole;
|
|
47
|
-
title: (record: WorklogRecord) => string;
|
|
48
|
-
/** If true, an opened node starts in "pending" (awaiting external input) rather than "running". */
|
|
49
|
-
pending?: boolean;
|
|
50
|
-
}
|
|
51
|
-
declare function initialWorklogState(taskId?: string | null): WorklogState;
|
|
52
|
-
|
|
53
|
-
export { type EventInterpreter as E, type NodeKind as N, type RunStatus as R, type WorklogState as W, type WorklogRecord as a, type EventRole as b, type NodeStatus as c, type WorklogNode as d, initialWorklogState as i };
|