@ai-ecoverse/slicc-spectrum 1.22.2 → 1.23.1
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 +11 -2
- package/dist/{chunk-DYPK5BE5.js → chunk-2TAFZNVG.js} +3 -3
- package/dist/{chunk-JDJ5OA3V.js → chunk-5I2AIF5I.js} +3 -1
- package/dist/{chunk-6BOZVNM2.js → chunk-CHSUKIQC.js} +2 -2
- package/dist/{chunk-UGQPYZPJ.js → chunk-DYJTIU34.js} +4 -4
- package/dist/{chunk-LCUJINFQ.js → chunk-KD66QY2Y.js} +70 -1
- package/dist/chunk-KD66QY2Y.js.map +7 -0
- package/dist/{chunk-BALQPQXE.js → chunk-LMDPCBR2.js} +8 -72
- package/dist/chunk-LMDPCBR2.js.map +7 -0
- package/dist/{chunk-VGYK6PQ4.js → chunk-QROWP6N7.js} +4 -4
- package/dist/{chunk-7C2RFOQL.js → chunk-Z2IOQT73.js} +3 -3
- package/dist/slicc-dummy.js +53 -0
- package/dist/slicc-dummy.js.map +3 -3
- package/dist/slicc-ui.js +5034 -4525
- package/dist/slicc-ui.js.map +4 -4
- package/dist/types/app/agents.d.ts +13 -0
- package/dist/types/app/app.d.ts +1 -0
- package/dist/types/app/confirm.d.ts +41 -0
- package/dist/types/app/messages.d.ts +3 -0
- package/dist/types/dummy/agent.d.ts +2 -0
- package/dist/types/model/types.d.ts +3 -0
- package/dist/types/ui.d.ts +4 -4
- package/package.json +3 -1
- package/dist/chunk-BALQPQXE.js.map +0 -7
- package/dist/chunk-LCUJINFQ.js.map +0 -7
- /package/dist/{chunk-DYPK5BE5.js.map → chunk-2TAFZNVG.js.map} +0 -0
- /package/dist/{chunk-JDJ5OA3V.js.map → chunk-5I2AIF5I.js.map} +0 -0
- /package/dist/{chunk-6BOZVNM2.js.map → chunk-CHSUKIQC.js.map} +0 -0
- /package/dist/{chunk-UGQPYZPJ.js.map → chunk-DYJTIU34.js.map} +0 -0
- /package/dist/{chunk-VGYK6PQ4.js.map → chunk-QROWP6N7.js.map} +0 -0
- /package/dist/{chunk-7C2RFOQL.js.map → chunk-Z2IOQT73.js.map} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LONGPRESS_INSTRUCTIONS,
|
|
3
3
|
Overlay
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LMDPCBR2.js";
|
|
5
5
|
import "./chunk-IBQ4O4NO.js";
|
|
6
6
|
import "./chunk-ZMBN6APP.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-KD66QY2Y.js";
|
|
8
8
|
import "./chunk-OS3ZND7O.js";
|
|
9
9
|
import "./chunk-JPIG5BAD.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-5I2AIF5I.js";
|
|
11
11
|
import "./chunk-WXAII75O.js";
|
|
12
12
|
import "./chunk-AXQFWXYZ.js";
|
|
13
13
|
export {
|
|
14
14
|
LONGPRESS_INSTRUCTIONS,
|
|
15
15
|
Overlay
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-QROWP6N7.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-EN3XGF2M.js";
|
|
7
7
|
import {
|
|
8
8
|
o
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5I2AIF5I.js";
|
|
10
10
|
import {
|
|
11
11
|
defineElement
|
|
12
12
|
} from "./chunk-6A6NIESE.js";
|
|
@@ -146,7 +146,7 @@ var Tooltip = class extends SpectrumElement {
|
|
|
146
146
|
<span id="tip" aria-hidden="true"></span>
|
|
147
147
|
</sp-tooltip-openable>
|
|
148
148
|
`;
|
|
149
|
-
return this.selfManaged ? (this.dependencyManager.add("sp-overlay"), import("./chunk-
|
|
149
|
+
return this.selfManaged ? (this.dependencyManager.add("sp-overlay"), import("./chunk-DYJTIU34.js"), b`
|
|
150
150
|
<sp-overlay
|
|
151
151
|
?open=${this.open && !this.disabled && this.dependencyManager.loaded}
|
|
152
152
|
?delayed=${this.delayed}
|
|
@@ -178,4 +178,4 @@ o3([n({ type: Boolean })], Tooltip.prototype, "delayed", 2), o3([n({ type: Boole
|
|
|
178
178
|
|
|
179
179
|
// node_modules/@spectrum-web-components/tooltip/sp-tooltip.js
|
|
180
180
|
defineElement("sp-tooltip", Tooltip);
|
|
181
|
-
//# sourceMappingURL=chunk-
|
|
181
|
+
//# sourceMappingURL=chunk-Z2IOQT73.js.map
|
package/dist/slicc-dummy.js
CHANGED
|
@@ -231,6 +231,7 @@ var DummyAgent = class extends Emitter {
|
|
|
231
231
|
#clock;
|
|
232
232
|
#effects;
|
|
233
233
|
#next = 1;
|
|
234
|
+
#cones = 1;
|
|
234
235
|
constructor(agents2, conversations2, effects, clock2, queues2 = {}, frozen2 = []) {
|
|
235
236
|
super();
|
|
236
237
|
this.#clock = clock2;
|
|
@@ -582,6 +583,39 @@ var DummyAgent = class extends Emitter {
|
|
|
582
583
|
this.#changed();
|
|
583
584
|
return { ...agent };
|
|
584
585
|
}
|
|
586
|
+
async drop(agentId) {
|
|
587
|
+
const agent = this.#agent(agentId);
|
|
588
|
+
if (agent?.kind !== "scoop") throw new Error("Only scoops can be dropped");
|
|
589
|
+
this.stop(agentId);
|
|
590
|
+
this.#agents = this.#agents.filter((candidate) => candidate !== agent);
|
|
591
|
+
this.#messages.delete(agentId);
|
|
592
|
+
this.#queues.delete(agentId);
|
|
593
|
+
this.#suggestions.delete(agentId);
|
|
594
|
+
if (this.#active === agentId) this.select(agent.parentId ?? this.#agents[0].id);
|
|
595
|
+
this.#changed();
|
|
596
|
+
}
|
|
597
|
+
async createCone(name) {
|
|
598
|
+
const trimmed = name.trim();
|
|
599
|
+
if (!trimmed) throw new Error("A cone needs a name");
|
|
600
|
+
if (this.#agents.some((agent2) => agent2.kind === "cone" && agent2.name === trimmed)) {
|
|
601
|
+
throw new Error(`A cone named ${trimmed} already exists`);
|
|
602
|
+
}
|
|
603
|
+
const agent = {
|
|
604
|
+
id: `cone-${this.#cones++}`,
|
|
605
|
+
name: trimmed,
|
|
606
|
+
kind: "cone",
|
|
607
|
+
parentId: null,
|
|
608
|
+
status: "idle",
|
|
609
|
+
model: "claude-sonnet-5-5",
|
|
610
|
+
contextFill: 0,
|
|
611
|
+
unread: 0
|
|
612
|
+
};
|
|
613
|
+
this.#agents.push(agent);
|
|
614
|
+
this.#messages.set(agent.id, []);
|
|
615
|
+
this.#queues.set(agent.id, []);
|
|
616
|
+
this.#changed();
|
|
617
|
+
return { ...agent };
|
|
618
|
+
}
|
|
585
619
|
lick(agentId, channel, title, text, body) {
|
|
586
620
|
if (!this.#agent(agentId)) return;
|
|
587
621
|
this.#post(agentId, {
|
|
@@ -3184,6 +3218,25 @@ var conversations = {
|
|
|
3184
3218
|
text: "## harbor 1.9.0\n\n**Features**\n- Added a `/health` endpoint.\n\n**Fixes**\n- Requests without a city now get a 400 instead of a 500.\n\n**Chores**\n- Updated wrangler to 4.40.0."
|
|
3185
3219
|
}
|
|
3186
3220
|
]
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
id: "m-r3",
|
|
3224
|
+
role: "lick",
|
|
3225
|
+
channel: "cron",
|
|
3226
|
+
severity: "error",
|
|
3227
|
+
title: "Crontab",
|
|
3228
|
+
text: "Crontab line 3 is invalid",
|
|
3229
|
+
body: "30 25 * * * sweep-drafts\nThe hour is 25. It must be 0 to 23.",
|
|
3230
|
+
createdAt: at2(-1430)
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
id: "m-r4",
|
|
3234
|
+
role: "lick",
|
|
3235
|
+
channel: "fswatch",
|
|
3236
|
+
severity: "warn",
|
|
3237
|
+
title: "/workspace/notes",
|
|
3238
|
+
text: "File watch on /workspace/notes stopped; retrying",
|
|
3239
|
+
createdAt: at2(-1429)
|
|
3187
3240
|
}
|
|
3188
3241
|
],
|
|
3189
3242
|
"cone-triage": [
|