@agimon-ai/po-cloudflare 0.0.2-alpha.11 → 0.0.2-alpha.13

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.
Files changed (94) hide show
  1. package/dist/agent-DYFqCLl2.js +6850 -0
  2. package/dist/assets/plugins/assets/base-C3j1WCCq.css +2 -0
  3. package/dist/assets/plugins/chunks/po-web-runtime-Czm_C4SJ.js +1 -0
  4. package/dist/assets/plugins/compositions.json +1 -1
  5. package/dist/assets/plugins/slots/approval.8b3f37d9-CqQk6XG_.js +2 -0
  6. package/dist/assets/plugins/slots/artifacts.47d00f81-D-vQ-7Iz.js +1 -0
  7. package/dist/assets/plugins/slots/autocompact.9a92993d-B3KTYwW1.js +1 -0
  8. package/dist/assets/plugins/slots/builtin-tools.939bbfff-CZRYQVIP.js +7 -0
  9. package/dist/assets/plugins/slots/codemode.782e5bb1-Bzl_K_vt.js +10 -0
  10. package/dist/assets/plugins/slots/domain.21790b66-CvnpuKCY.js +1 -0
  11. package/dist/assets/plugins/slots/edit.c7c85129-kaxIknZ-.js +7 -0
  12. package/dist/assets/plugins/slots/files.bbcef824-wuB8gcQA.js +2 -0
  13. package/dist/assets/plugins/slots/grep.3dfd3214-3FnU8p-d.js +1 -0
  14. package/dist/assets/plugins/slots/log.33bc7d38-C0PXQ0O1.js +4 -0
  15. package/dist/assets/plugins/slots/mcp.59c68bcb-D0CkHnIw.js +109 -0
  16. package/dist/assets/plugins/slots/{profile.ab16dcec-B5yt7eny.js → profile.ea55f5e1-BSY3iYfJ.js} +1 -1
  17. package/dist/assets/plugins/slots/prompts.9957cc84-xdCkNkoA.js +3 -0
  18. package/dist/assets/plugins/slots/read.30a617e7-qqaxVlEX.js +1 -0
  19. package/dist/assets/plugins/slots/runner.9f3559b0-DfO2Z9HG.js +8 -0
  20. package/dist/assets/plugins/slots/skill.f506a5ea-CL_n-l4h.js +4 -0
  21. package/dist/assets/plugins/slots/vault.01657352-DbG3F_on.js +1 -0
  22. package/dist/{atomicJson-C_lN9leA.js → atomicJson-BF1fVXy1.js} +1 -1
  23. package/dist/browser-BWf8OMfl.js +3 -0
  24. package/dist/childSession-Cf2-kH4O.js +22 -0
  25. package/dist/{server-D190dXDN.js → dist-B-vqs6tA.js} +1 -546
  26. package/dist/{domains-CPX1dEVa.js → domains-Bl6T2dKV.js} +2 -2
  27. package/dist/{server-C5wixba6.js → esm-BKJy3O9-.js} +3 -296
  28. package/dist/{exports-2Vv52b9v.js → exports-CxkWsXI9.js} +7 -6
  29. package/dist/{exports-BF12Ftrd.js → exports-DlcCEAe3.js} +2 -9
  30. package/dist/{extensionFile-DpVvh-ud.js → extensionFile-D7wk8tFr.js} +11 -1
  31. package/dist/harnessStore-Bap8lsAg.js +1 -0
  32. package/dist/{harnessStore-Ct329wxJ.js → harnessStore-flLz1I0F.js} +2 -2
  33. package/dist/help-DjybmnPW.js +91 -0
  34. package/dist/{hubChannel-kFgtfJnv.js → hubChannel-Bi3PQrfD.js} +3 -27
  35. package/dist/hubRevisions-58pU2dW5.js +363 -0
  36. package/dist/index.edge-C9_xuXyy.js +57 -0
  37. package/dist/{index.edge-DhV_hfZA.js → index.edge-CJ2TFpgF.js} +2 -2
  38. package/dist/index.edge-COJJ_Dv2.js +937 -0
  39. package/dist/index.edge-ChYa2LU4.js +14 -0
  40. package/dist/index.edge-ClLTmPFz.js +191 -0
  41. package/dist/{index.edge-BNElrrHY.js → index.edge-uSjRpm6Z.js} +5 -0
  42. package/dist/iso-BPQViXM8.js +10 -0
  43. package/dist/{layeredConfig-BhFC6TBD.js → layeredConfig-B4s0eZ5o.js} +11 -4
  44. package/dist/{majorModes-CZqrWarh.js → majorModes-IygGmbb8.js} +2 -2
  45. package/dist/majorModes-xpLK9HpD.js +1 -0
  46. package/dist/notification-bGq1frYG.js +99 -0
  47. package/dist/piConfig-CcoMX-1L.js +127 -0
  48. package/dist/{platformFiles-BTDsAsmT.js → platformFiles-Ccj9HCvA.js} +24 -2
  49. package/dist/pluginContributions-Be9EnCAW.js +16 -0
  50. package/dist/sealedChannel-BeWNTWys.js +27 -0
  51. package/dist/server-4CmqIbH2.js +1476 -0
  52. package/dist/{server-DesPQYzJ.js → server-5vLvBTTs.js} +1 -1
  53. package/dist/server-BHhb0oir.js +505 -0
  54. package/dist/server-Bm6pAAw8.js +935 -0
  55. package/dist/server-C82Qzoh3.js +2658 -0
  56. package/dist/server-C8HyW7wN.js +489 -0
  57. package/dist/{server-DSusAvqK.js → server-C9gff7gU.js} +1 -1
  58. package/dist/{server-CTIkoJXM.js → server-CIhwIcbA.js} +4 -4
  59. package/dist/{server-DbmCxFL-.js → server-CMaTba5B.js} +1 -1
  60. package/dist/{server-DolHpEoY.js → server-COE7BKSa.js} +1 -1
  61. package/dist/server-CQXqMpeC.js +1744 -0
  62. package/dist/{server-BG6gwBcv.js → server-CTSvwoDy.js} +5 -4
  63. package/dist/server-C_34VM3M.js +217 -0
  64. package/dist/{server-CuGXhVFA.js → server-C_3jK2WM.js} +5 -5
  65. package/dist/server-CcNMwEFQ.js +190 -0
  66. package/dist/{server-D-zQp04y.js → server-CjsKNdSN.js} +1 -1
  67. package/dist/{server-DQy8hVXg.js → server-ClsNJwdv.js} +8 -8
  68. package/dist/{server-DfBHHyQo.js → server-Co57A8MH.js} +2 -9
  69. package/dist/{server-CRtXiNBP.js → server-CpJNq249.js} +5 -5
  70. package/dist/{server-zYYAg7ki.js → server-CxGGQFJs.js} +5 -16
  71. package/dist/{server-DpVsUiA-.js → server-DSu_uLDX.js} +4 -4
  72. package/dist/server-DeSuziRK.js +680 -0
  73. package/dist/{server-BIjpcE0Y.js → server-ZsazKk-n.js} +3 -3
  74. package/dist/{server-CZoHLCxk.js → server-il_s2Ycz.js} +5 -93
  75. package/dist/server-ziNfBZ2M.js +295 -0
  76. package/dist/{sessionConfig-BLmM5XLM.js → sessionConfig-DzAs6Pt-.js} +64 -499
  77. package/dist/{notification-qvyJJ_Df.js → telemetry-Csv1ZxAn.js} +1 -99
  78. package/dist/truncate-M3KbFyVj.js +89 -0
  79. package/dist/web-Cfvbn9H1.js +3 -0
  80. package/dist/worker.js +4545 -12244
  81. package/dist/workflow-w5JPZXgc.js +23 -0
  82. package/package.json +32 -24
  83. package/dist/assets/plugins/assets/base-_m1hGahv.css +0 -2
  84. package/dist/assets/plugins/chunks/po-web-runtime-CGjOl_1I.js +0 -1
  85. package/dist/assets/plugins/slots/approval.09e72f36-BW92gZQg.js +0 -2
  86. package/dist/assets/plugins/slots/artifacts.50b639bb-B6zDJhex.js +0 -1
  87. package/dist/assets/plugins/slots/builtin-tools.75108f21-DS-dJ07p.js +0 -7
  88. package/dist/assets/plugins/slots/codemode.c58fb583--t-nrGeQ.js +0 -10
  89. package/dist/assets/plugins/slots/domain.753f9f92-DWSqP3Jw.js +0 -1
  90. package/dist/assets/plugins/slots/mcp.82cc1ff5-jPY2OCuu.js +0 -109
  91. package/dist/assets/plugins/slots/skill.62a0a1b3-GtWLT33O.js +0 -4
  92. package/dist/assets/plugins/slots/vault.3cbfcdc3-B7BKfR_H.js +0 -1
  93. package/dist/harnessStore-BDI-s999.js +0 -1
  94. package/dist/majorModes-CzAWXyaf.js +0 -1
@@ -0,0 +1,363 @@
1
+ //#region ../../core/po-core/src/web/services/apiClient/index.ts
2
+ /** Names the type a route answers with. Returns nothing; only its type is read. */
3
+ function apiResponse() {}
4
+ /** Identity with inference, so a route table keeps its literal types. */
5
+ function defineApiRoutes(routes) {
6
+ return routes;
7
+ }
8
+ //#endregion
9
+ //#region ../../../node_modules/.pnpm/@tanstack+store@0.11.2/node_modules/@tanstack/store/dist/alien.js
10
+ /* @__NO_SIDE_EFFECTS__ */
11
+ function createReactiveSystem({ update, notify, unwatched }) {
12
+ return {
13
+ link,
14
+ unlink,
15
+ propagate,
16
+ checkDirty,
17
+ shallowPropagate
18
+ };
19
+ function link(dep, sub, version) {
20
+ const prevDep = sub.depsTail;
21
+ if (prevDep !== void 0 && prevDep.dep === dep) return;
22
+ const nextDep = prevDep !== void 0 ? prevDep.nextDep : sub.deps;
23
+ if (nextDep !== void 0 && nextDep.dep === dep) {
24
+ nextDep.version = version;
25
+ sub.depsTail = nextDep;
26
+ return;
27
+ }
28
+ const prevSub = dep.subsTail;
29
+ if (prevSub !== void 0 && prevSub.version === version && prevSub.sub === sub) return;
30
+ const newLink = sub.depsTail = dep.subsTail = {
31
+ version,
32
+ dep,
33
+ sub,
34
+ prevDep,
35
+ nextDep,
36
+ prevSub,
37
+ nextSub: void 0
38
+ };
39
+ if (nextDep !== void 0) nextDep.prevDep = newLink;
40
+ if (prevDep !== void 0) prevDep.nextDep = newLink;
41
+ else sub.deps = newLink;
42
+ if (prevSub !== void 0) prevSub.nextSub = newLink;
43
+ else dep.subs = newLink;
44
+ }
45
+ function unlink(link, sub = link.sub) {
46
+ const dep = link.dep;
47
+ const prevDep = link.prevDep;
48
+ const nextDep = link.nextDep;
49
+ const nextSub = link.nextSub;
50
+ const prevSub = link.prevSub;
51
+ if (nextDep !== void 0) nextDep.prevDep = prevDep;
52
+ else sub.depsTail = prevDep;
53
+ if (prevDep !== void 0) prevDep.nextDep = nextDep;
54
+ else sub.deps = nextDep;
55
+ if (nextSub !== void 0) nextSub.prevSub = prevSub;
56
+ else dep.subsTail = prevSub;
57
+ if (prevSub !== void 0) prevSub.nextSub = nextSub;
58
+ else if ((dep.subs = nextSub) === void 0) unwatched(dep);
59
+ return nextDep;
60
+ }
61
+ function propagate(link) {
62
+ let next = link.nextSub;
63
+ let stack;
64
+ top: do {
65
+ const sub = link.sub;
66
+ let flags = sub.flags;
67
+ if (!(flags & 60)) sub.flags = flags | 32;
68
+ else if (!(flags & 12)) flags = 0;
69
+ else if (!(flags & 4)) sub.flags = flags & -9 | 32;
70
+ else if (!(flags & 48) && isValidLink(link, sub)) {
71
+ sub.flags = flags | 40;
72
+ flags &= 1;
73
+ } else flags = 0;
74
+ if (flags & 2) notify(sub);
75
+ if (flags & 1) {
76
+ const subSubs = sub.subs;
77
+ if (subSubs !== void 0) {
78
+ const nextSub = (link = subSubs).nextSub;
79
+ if (nextSub !== void 0) {
80
+ stack = {
81
+ value: next,
82
+ prev: stack
83
+ };
84
+ next = nextSub;
85
+ }
86
+ continue;
87
+ }
88
+ }
89
+ if ((link = next) !== void 0) {
90
+ next = link.nextSub;
91
+ continue;
92
+ }
93
+ while (stack !== void 0) {
94
+ link = stack.value;
95
+ stack = stack.prev;
96
+ if (link !== void 0) {
97
+ next = link.nextSub;
98
+ continue top;
99
+ }
100
+ }
101
+ break;
102
+ } while (true);
103
+ }
104
+ function checkDirty(link, sub) {
105
+ let stack;
106
+ let checkDepth = 0;
107
+ let dirty = false;
108
+ top: do {
109
+ const dep = link.dep;
110
+ const flags = dep.flags;
111
+ if (sub.flags & 16) dirty = true;
112
+ else if ((flags & 17) === 17) {
113
+ if (update(dep)) {
114
+ const subs = dep.subs;
115
+ if (subs.nextSub !== void 0) shallowPropagate(subs);
116
+ dirty = true;
117
+ }
118
+ } else if ((flags & 33) === 33) {
119
+ if (link.nextSub !== void 0 || link.prevSub !== void 0) stack = {
120
+ value: link,
121
+ prev: stack
122
+ };
123
+ link = dep.deps;
124
+ sub = dep;
125
+ ++checkDepth;
126
+ continue;
127
+ }
128
+ if (!dirty) {
129
+ const nextDep = link.nextDep;
130
+ if (nextDep !== void 0) {
131
+ link = nextDep;
132
+ continue;
133
+ }
134
+ }
135
+ while (checkDepth--) {
136
+ const firstSub = sub.subs;
137
+ const hasMultipleSubs = firstSub.nextSub !== void 0;
138
+ if (hasMultipleSubs) {
139
+ link = stack.value;
140
+ stack = stack.prev;
141
+ } else link = firstSub;
142
+ if (dirty) {
143
+ if (update(sub)) {
144
+ if (hasMultipleSubs) shallowPropagate(firstSub);
145
+ sub = link.sub;
146
+ continue;
147
+ }
148
+ dirty = false;
149
+ } else sub.flags &= -33;
150
+ sub = link.sub;
151
+ const nextDep = link.nextDep;
152
+ if (nextDep !== void 0) {
153
+ link = nextDep;
154
+ continue top;
155
+ }
156
+ }
157
+ return dirty;
158
+ } while (true);
159
+ }
160
+ function shallowPropagate(link) {
161
+ do {
162
+ const sub = link.sub;
163
+ const flags = sub.flags;
164
+ if ((flags & 48) === 32) {
165
+ sub.flags = flags | 16;
166
+ if ((flags & 6) === 2) notify(sub);
167
+ }
168
+ } while ((link = link.nextSub) !== void 0);
169
+ }
170
+ function isValidLink(checkLink, sub) {
171
+ let link = sub.depsTail;
172
+ while (link !== void 0) {
173
+ if (link === checkLink) return true;
174
+ link = link.prevDep;
175
+ }
176
+ return false;
177
+ }
178
+ }
179
+ //#endregion
180
+ //#region ../../../node_modules/.pnpm/@tanstack+store@0.11.2/node_modules/@tanstack/store/dist/atom.js
181
+ function toObserver(nextHandler, errorHandler, completionHandler) {
182
+ const isObserver = typeof nextHandler === "object";
183
+ const self = isObserver ? nextHandler : void 0;
184
+ return {
185
+ next: (isObserver ? nextHandler.next : nextHandler)?.bind(self),
186
+ error: (isObserver ? nextHandler.error : errorHandler)?.bind(self),
187
+ complete: (isObserver ? nextHandler.complete : completionHandler)?.bind(self)
188
+ };
189
+ }
190
+ const queuedEffects = [];
191
+ let cycle = 0;
192
+ const { link, unlink, propagate, checkDirty, shallowPropagate } = /* @__PURE__ */ createReactiveSystem({
193
+ update(atom) {
194
+ return atom._update();
195
+ },
196
+ notify(effect) {
197
+ queuedEffects[queuedEffectsLength++] = effect;
198
+ effect.flags &= -3;
199
+ },
200
+ unwatched(atom) {
201
+ if (atom.depsTail !== void 0) {
202
+ atom.depsTail = void 0;
203
+ atom.flags = 17;
204
+ purgeDeps(atom);
205
+ }
206
+ }
207
+ });
208
+ let notifyIndex = 0;
209
+ let queuedEffectsLength = 0;
210
+ let activeSub;
211
+ function purgeDeps(sub) {
212
+ const depsTail = sub.depsTail;
213
+ let dep = depsTail !== void 0 ? depsTail.nextDep : sub.deps;
214
+ while (dep !== void 0) dep = unlink(dep, sub);
215
+ }
216
+ function flush() {
217
+ while (notifyIndex < queuedEffectsLength) {
218
+ const effect = queuedEffects[notifyIndex];
219
+ queuedEffects[notifyIndex++] = void 0;
220
+ effect.notify();
221
+ }
222
+ notifyIndex = 0;
223
+ queuedEffectsLength = 0;
224
+ }
225
+ function createAtom(valueOrFn, options) {
226
+ const isComputed = typeof valueOrFn === "function";
227
+ const getter = valueOrFn;
228
+ const atom = {
229
+ _snapshot: isComputed ? void 0 : valueOrFn,
230
+ subs: void 0,
231
+ subsTail: void 0,
232
+ deps: void 0,
233
+ depsTail: void 0,
234
+ flags: isComputed ? 0 : 1,
235
+ get() {
236
+ if (activeSub !== void 0) link(atom, activeSub, cycle);
237
+ return atom._snapshot;
238
+ },
239
+ subscribe(observerOrFn) {
240
+ const obs = toObserver(observerOrFn);
241
+ const observed = { current: false };
242
+ const e = effect(() => {
243
+ atom.get();
244
+ if (!observed.current) observed.current = true;
245
+ else {
246
+ activeSub = void 0;
247
+ obs.next?.(atom._snapshot);
248
+ }
249
+ });
250
+ return { unsubscribe: () => {
251
+ e.stop();
252
+ } };
253
+ },
254
+ _update(getValue) {
255
+ const prevSub = activeSub;
256
+ const compare = options?.compare ?? Object.is;
257
+ if (isComputed) {
258
+ activeSub = atom;
259
+ ++cycle;
260
+ atom.depsTail = void 0;
261
+ } else if (getValue === void 0) return false;
262
+ if (isComputed) atom.flags = 5;
263
+ try {
264
+ const oldValue = atom._snapshot;
265
+ const newValue = typeof getValue === "function" ? getValue(oldValue) : getValue === void 0 && isComputed ? getter(oldValue) : getValue;
266
+ if (oldValue === void 0 || !compare(oldValue, newValue)) {
267
+ atom._snapshot = newValue;
268
+ return true;
269
+ }
270
+ return false;
271
+ } finally {
272
+ activeSub = prevSub;
273
+ if (isComputed) atom.flags &= -5;
274
+ purgeDeps(atom);
275
+ }
276
+ }
277
+ };
278
+ if (isComputed) {
279
+ atom.flags = 17;
280
+ atom.get = function() {
281
+ const flags = atom.flags;
282
+ if (flags & 16 || flags & 32 && checkDirty(atom.deps, atom)) {
283
+ if (atom._update()) {
284
+ const subs = atom.subs;
285
+ if (subs !== void 0) shallowPropagate(subs);
286
+ }
287
+ } else if (flags & 32) atom.flags = flags & -33;
288
+ if (activeSub !== void 0) link(atom, activeSub, cycle);
289
+ return atom._snapshot;
290
+ };
291
+ } else atom.set = function(valueOrFn) {
292
+ if (atom._update(valueOrFn)) {
293
+ const subs = atom.subs;
294
+ if (subs !== void 0) {
295
+ propagate(subs);
296
+ shallowPropagate(subs);
297
+ flush();
298
+ }
299
+ }
300
+ };
301
+ return atom;
302
+ }
303
+ function effect(fn) {
304
+ const run = () => {
305
+ const prevSub = activeSub;
306
+ activeSub = effectObj;
307
+ ++cycle;
308
+ effectObj.depsTail = void 0;
309
+ effectObj.flags = 6;
310
+ try {
311
+ return fn();
312
+ } finally {
313
+ activeSub = prevSub;
314
+ effectObj.flags &= -5;
315
+ purgeDeps(effectObj);
316
+ }
317
+ };
318
+ const effectObj = {
319
+ deps: void 0,
320
+ depsTail: void 0,
321
+ subs: void 0,
322
+ subsTail: void 0,
323
+ flags: 6,
324
+ notify() {
325
+ const flags = this.flags;
326
+ if (flags & 16 || flags & 32 && checkDirty(this.deps, this)) run();
327
+ else this.flags = 2;
328
+ },
329
+ stop() {
330
+ this.flags = 0;
331
+ this.depsTail = void 0;
332
+ purgeDeps(this);
333
+ }
334
+ };
335
+ run();
336
+ return effectObj;
337
+ }
338
+ //#endregion
339
+ //#region ../../../node_modules/.pnpm/@tanstack+store@0.11.2/node_modules/@tanstack/store/dist/store.js
340
+ var Store = class {
341
+ constructor(valueOrFn, actionsFactory) {
342
+ this.atom = createAtom(valueOrFn);
343
+ this.get = this.get.bind(this);
344
+ this.setState = this.setState.bind(this);
345
+ this.subscribe = this.subscribe.bind(this);
346
+ if (actionsFactory) this.actions = actionsFactory(this);
347
+ }
348
+ setState(updater) {
349
+ this.atom.set(updater);
350
+ }
351
+ get state() {
352
+ return this.atom.get();
353
+ }
354
+ get() {
355
+ return this.state;
356
+ }
357
+ subscribe(observerOrFn) {
358
+ return this.atom.subscribe(toObserver(observerOrFn));
359
+ }
360
+ };
361
+ new Store({});
362
+ //#endregion
363
+ export { defineApiRoutes as n, apiResponse as t };
@@ -0,0 +1,57 @@
1
+ import { a as piAgentDirectory } from "./serverPlugin-pCqlBqQG.js";
2
+ import "./piSettings-B6fsgIBA.js";
3
+ import path from "node:path";
4
+ //#region ../../foundations/po-artifact/src/constants/artifacts.ts
5
+ const ARTIFACT_DIRECTORY = "po-artifacts";
6
+ const ARTIFACTS_SERVICE = "po/artifacts";
7
+ /** Autocompact mirrors compaction history here; the recent-artifacts card leaves it out. */
8
+ const COMPACTION_ARTIFACT_DIRECTORY = "compaction";
9
+ const MAX_PREVIEW_BYTES = 1048576;
10
+ const MAX_CONTENT_BYTES = 26214400;
11
+ /** Videos up to this size are served, but only through range requests of at most MAX_CONTENT_BYTES. */
12
+ const MAX_RANGED_VIDEO_BYTES = 134217728;
13
+ const ARTIFACT_REFRESH_MS = 2e3;
14
+ //#endregion
15
+ //#region ../../foundations/po-artifact/src/services/artifactFiles/artifactPaths.ts
16
+ var ArtifactAccessError = class extends Error {
17
+ status;
18
+ constructor(message, status) {
19
+ super(message);
20
+ this.status = status;
21
+ }
22
+ };
23
+ function artifactRoot(sessionId, environment) {
24
+ if (!/^[a-zA-Z0-9_-]+$/u.test(sessionId)) throw new ArtifactAccessError("Invalid artifact session identity.", 400);
25
+ return path.join(piAgentDirectory(environment, environment.HOME), ARTIFACT_DIRECTORY, sessionId);
26
+ }
27
+ //#endregion
28
+ //#region ../../foundations/po-artifact/src/services/artifactFiles/index.edge.ts
29
+ const UNAVAILABLE = "Session artifacts are not available on the edge in M1.";
30
+ /** The edge has no artifact folder in M1; callers that create it skip artifact work on this 404. */
31
+ async function ensureArtifactRoot(_root) {
32
+ throw new ArtifactAccessError(UNAVAILABLE, 404);
33
+ }
34
+ async function openArtifact(_root, _requested, _workflowVisible) {
35
+ throw new ArtifactAccessError(UNAVAILABLE, 404);
36
+ }
37
+ async function readArtifactBytes(_handle, _size, _offset = 0) {
38
+ throw new ArtifactAccessError(UNAVAILABLE, 404);
39
+ }
40
+ async function writeArtifactText(_root, _requested, _text) {
41
+ throw new ArtifactAccessError(UNAVAILABLE, 404);
42
+ }
43
+ async function removeArtifact(_root, _requested) {
44
+ throw new ArtifactAccessError(UNAVAILABLE, 404);
45
+ }
46
+ async function listArtifactSessions(_environment) {
47
+ return [];
48
+ }
49
+ async function listArtifacts(_root, _workflowVisible, signal) {
50
+ signal?.throwIfAborted();
51
+ return {
52
+ items: [],
53
+ error: UNAVAILABLE
54
+ };
55
+ }
56
+ //#endregion
57
+ export { readArtifactBytes as a, ArtifactAccessError as c, ARTIFACT_REFRESH_MS as d, COMPACTION_ARTIFACT_DIRECTORY as f, MAX_RANGED_VIDEO_BYTES as h, openArtifact as i, artifactRoot as l, MAX_PREVIEW_BYTES as m, listArtifactSessions as n, removeArtifact as o, MAX_CONTENT_BYTES as p, listArtifacts as r, writeArtifactText as s, ensureArtifactRoot as t, ARTIFACTS_SERVICE as u };
@@ -1,5 +1,5 @@
1
- import { f as parse } from "./layeredConfig-BhFC6TBD.js";
2
- import { s as isRemotePluginSource } from "./domains-CPX1dEVa.js";
1
+ import { p as parse } from "./layeredConfig-B4s0eZ5o.js";
2
+ import { s as isRemotePluginSource } from "./domains-Bl6T2dKV.js";
3
3
  //#region ../../foundations/po-domain/src/services/pluginMaterializer/index.edge.ts
4
4
  /**
5
5
  * Local plugin entries pass through unchanged. Remote entries need git or upm