anycodex 0.0.6 → 0.0.8

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.
@@ -0,0 +1,53 @@
1
+ #!/usr/bin/env node
2
+
3
+ // ../agent/dist/chunk-BPCHXMC3.js
4
+ var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
5
+ var __typeError = (msg) => {
6
+ throw TypeError(msg);
7
+ };
8
+ var __using = (stack, value, async) => {
9
+ if (value != null) {
10
+ if (typeof value !== "object" && typeof value !== "function") __typeError("Object expected");
11
+ var dispose, inner;
12
+ if (async) dispose = value[__knownSymbol("asyncDispose")];
13
+ if (dispose === void 0) {
14
+ dispose = value[__knownSymbol("dispose")];
15
+ if (async) inner = dispose;
16
+ }
17
+ if (typeof dispose !== "function") __typeError("Object not disposable");
18
+ if (inner) dispose = function() {
19
+ try {
20
+ inner.call(this);
21
+ } catch (e) {
22
+ return Promise.reject(e);
23
+ }
24
+ };
25
+ stack.push([async, dispose, value]);
26
+ } else if (async) {
27
+ stack.push([async]);
28
+ }
29
+ return value;
30
+ };
31
+ var __callDispose = (stack, error, hasError) => {
32
+ var E = typeof SuppressedError === "function" ? SuppressedError : function(e, s, m, _) {
33
+ return _ = Error(m), _.name = "SuppressedError", _.error = e, _.suppressed = s, _;
34
+ };
35
+ var fail = (e) => error = hasError ? new E(e, error, "An error was suppressed during disposal") : (hasError = true, e);
36
+ var next = (it) => {
37
+ while (it = stack.pop()) {
38
+ try {
39
+ var result = it[1] && it[1].call(it[2]);
40
+ if (it[0]) return Promise.resolve(result).then(next, (e) => (fail(e), next()));
41
+ } catch (e) {
42
+ fail(e);
43
+ }
44
+ }
45
+ if (hasError) throw error;
46
+ };
47
+ return next();
48
+ };
49
+
50
+ export {
51
+ __using,
52
+ __callDispose
53
+ };
@@ -0,0 +1,96 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ Agent,
4
+ CodeAgent,
5
+ LLM,
6
+ LLMRunner,
7
+ NodeFS,
8
+ NodeSearchProvider,
9
+ Provider,
10
+ SessionPrompt,
11
+ SqlJsStorage,
12
+ SystemPrompt
13
+ } from "./chunk-BTDDMBCN.js";
14
+ import {
15
+ ConfigMarkdown,
16
+ Discovery,
17
+ SetWorkingDirectoryTool,
18
+ Skill,
19
+ Tool,
20
+ ToolRegistry
21
+ } from "./chunk-FSJHVC5R.js";
22
+ import {
23
+ MessageV2,
24
+ ModelID,
25
+ ProviderID,
26
+ Session,
27
+ SessionService
28
+ } from "./chunk-6SEC53MI.js";
29
+ import {
30
+ Database,
31
+ FileIgnore,
32
+ FileTimeService,
33
+ Log,
34
+ MessageTable,
35
+ NotFoundError,
36
+ PartTable,
37
+ Project,
38
+ ProjectTable,
39
+ Protected,
40
+ SessionTable,
41
+ SqliteNoSqlDb,
42
+ Storage,
43
+ Timestamps,
44
+ TodoTable
45
+ } from "./chunk-RKQHI4QK.js";
46
+ import "./chunk-H3TAXRCT.js";
47
+ import "./chunk-DU4BGORD.js";
48
+ import {
49
+ MessageID,
50
+ PartID,
51
+ SessionID
52
+ } from "./chunk-LD436475.js";
53
+ import "./chunk-3KUWIT4H.js";
54
+ import "./chunk-XXVDY7BO.js";
55
+ import "./chunk-77HVPD4G.js";
56
+ export {
57
+ Agent,
58
+ CodeAgent,
59
+ ConfigMarkdown,
60
+ Database,
61
+ Discovery,
62
+ FileIgnore,
63
+ FileTimeService,
64
+ LLM,
65
+ LLMRunner,
66
+ Log,
67
+ MessageID,
68
+ MessageTable,
69
+ MessageV2,
70
+ ModelID,
71
+ NodeFS,
72
+ NodeSearchProvider,
73
+ NotFoundError,
74
+ PartID,
75
+ PartTable,
76
+ Project,
77
+ ProjectTable,
78
+ Protected,
79
+ Provider,
80
+ ProviderID,
81
+ Session,
82
+ SessionID,
83
+ SessionPrompt,
84
+ SessionService,
85
+ SessionTable,
86
+ SetWorkingDirectoryTool,
87
+ Skill,
88
+ SqlJsStorage,
89
+ SqliteNoSqlDb,
90
+ Storage,
91
+ SystemPrompt,
92
+ Timestamps,
93
+ TodoTable,
94
+ Tool,
95
+ ToolRegistry
96
+ };
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ Glob
4
+ } from "./chunk-H3TAXRCT.js";
5
+ import "./chunk-XXVDY7BO.js";
6
+ import "./chunk-77HVPD4G.js";
7
+ export {
8
+ Glob
9
+ };