@netnodeag/kraftwerk 0.97.0 → 0.98.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 +22 -0
- package/dist/client/routes.d.ts +11 -0
- package/dist/client/routes.js +11 -0
- package/dist/core/boards.d.ts +2 -0
- package/dist/core/boards.js +22 -3
- package/dist/server/api/index.d.ts +65 -0
- package/dist/server/api/index.js +2 -0
- package/dist/server/api/remote-boards.d.ts +118 -0
- package/dist/server/api/remote-boards.js +51 -0
- package/dist/server/remote-boards.d.ts +35 -0
- package/dist/server/remote-boards.js +73 -0
- package/package.json +1 -1
- package/web/dist/assets/{dist-BoajTxbz.js → dist-BKTdKbao.js} +1 -1
- package/web/dist/assets/{dist-oRcLByHn.js → dist-BNpBR7sT.js} +1 -1
- package/web/dist/assets/dist-BRk23y92.js +1 -0
- package/web/dist/assets/{dist-D_uWSMLk.js → dist-C83QYgqx.js} +1 -1
- package/web/dist/assets/{dist-DJACzcZZ.js → dist-CJK_j1TB.js} +1 -1
- package/web/dist/assets/{dist-DGLb7wE6.js → dist-CR_7NDsL.js} +1 -1
- package/web/dist/assets/{dist-P7JCq9c3.js → dist-ChYhEmdo.js} +1 -1
- package/web/dist/assets/{dist-DY6QplYX.js → dist-D-MsPdYw.js} +1 -1
- package/web/dist/assets/{dist-lcPkaK4d.js → dist-DxlgW6a_.js} +1 -1
- package/web/dist/assets/{dist-BduOHHOY.js → dist-OpHqdZBt.js} +1 -1
- package/web/dist/assets/{dist-BD4ooe-Y.js → dist-gtc4RPDu.js} +1 -1
- package/web/dist/assets/{editor-hTceN7Iz.js → editor-RdZyT8Y9.js} +3 -3
- package/web/dist/assets/index-J1hXaKgp.js +488 -0
- package/web/dist/index.html +1 -1
- package/web/dist/assets/dist-ajNgHt2Q.js +0 -1
- package/web/dist/assets/index-BOkjCxut.js +0 -488
package/README.md
CHANGED
|
@@ -565,6 +565,28 @@ An API caller cannot name another person: a `human:…` actor in a request
|
|
|
565
565
|
body is replaced by whoever asks. Agents and processes still name
|
|
566
566
|
themselves (`lisa/claude`, `process:sync`).
|
|
567
567
|
|
|
568
|
+
### Single player and multiplayer: local and cloud boards
|
|
569
|
+
|
|
570
|
+
Local boards (files under `kraftwerk-data/boards`) are single player: a
|
|
571
|
+
task goes to an agent or to yourself (`human:<handle>`, the person
|
|
572
|
+
`GET /api/me` names), and a person is never woken.
|
|
573
|
+
|
|
574
|
+
Cloud boards are multiplayer. They live in kraftwerk cloud, belong to the
|
|
575
|
+
workspace's `id:`, and everyone on the workspace sees and edits them, from
|
|
576
|
+
their own machine or the cloud's web app (`/w/<ws id>`). A task goes to
|
|
577
|
+
anyone on the workspace or to an agent. They show in the boards page
|
|
578
|
+
under the local ones, with a cloud mark, and never sync with them. This
|
|
579
|
+
machine reaches them through `/api/remote-boards/…`:
|
|
580
|
+
|
|
581
|
+
- A signed-in browser (`users: cloud`) acts as its person.
|
|
582
|
+
- Everything else on the machine acts as the account that claimed it.
|
|
583
|
+
- An agent names itself with `actor`.
|
|
584
|
+
|
|
585
|
+
The cloud lets a machine act only for that account and for people who
|
|
586
|
+
signed in to its UI. Offline is offline: while the cloud does not answer,
|
|
587
|
+
cloud boards are marked offline and nothing is cached. Agents are not
|
|
588
|
+
woken from a cloud board yet.
|
|
589
|
+
|
|
568
590
|
## Projects
|
|
569
591
|
|
|
570
592
|
Turn on `projects:` in `kraftwerk.yml` (or the checkbox in settings) and
|
package/dist/client/routes.d.ts
CHANGED
|
@@ -140,6 +140,17 @@ export declare const ROUTES: {
|
|
|
140
140
|
readonly "projects.saveLayout": readonly ["PUT", "/api/projects"];
|
|
141
141
|
readonly "protocol.get": readonly ["GET", "/api/protocol"];
|
|
142
142
|
readonly "refs.resolve": readonly ["POST", "/api/refs/resolve"];
|
|
143
|
+
readonly "remoteBoards.create": readonly ["POST", "/api/remote-boards"];
|
|
144
|
+
readonly "remoteBoards.delete": readonly ["DELETE", "/api/remote-boards/:board"];
|
|
145
|
+
readonly "remoteBoards.get": readonly ["GET", "/api/remote-boards/:board"];
|
|
146
|
+
readonly "remoteBoards.list": readonly ["GET", "/api/remote-boards"];
|
|
147
|
+
readonly "remoteBoards.people": readonly ["GET", "/api/remote-boards/people"];
|
|
148
|
+
readonly "remoteBoards.save": readonly ["PUT", "/api/remote-boards/:board"];
|
|
149
|
+
readonly "remoteTasks.create": readonly ["POST", "/api/remote-boards/:board/tasks"];
|
|
150
|
+
readonly "remoteTasks.delete": readonly ["DELETE", "/api/remote-boards/:board/tasks/:task"];
|
|
151
|
+
readonly "remoteTasks.get": readonly ["GET", "/api/remote-boards/:board/tasks/:task"];
|
|
152
|
+
readonly "remoteTasks.log": readonly ["POST", "/api/remote-boards/:board/tasks/:task/log"];
|
|
153
|
+
readonly "remoteTasks.save": readonly ["PUT", "/api/remote-boards/:board/tasks/:task"];
|
|
143
154
|
readonly "repos.add": readonly ["POST", "/api/repos"];
|
|
144
155
|
readonly "repos.commit": readonly ["GET", "/api/repos/:slug/commits/:hash"];
|
|
145
156
|
readonly "repos.diff": readonly ["GET", "/api/repos/:slug/diff"];
|
package/dist/client/routes.js
CHANGED
|
@@ -141,6 +141,17 @@ export const ROUTES = {
|
|
|
141
141
|
"projects.saveLayout": ["PUT", "/api/projects"],
|
|
142
142
|
"protocol.get": ["GET", "/api/protocol"],
|
|
143
143
|
"refs.resolve": ["POST", "/api/refs/resolve"],
|
|
144
|
+
"remoteBoards.create": ["POST", "/api/remote-boards"],
|
|
145
|
+
"remoteBoards.delete": ["DELETE", "/api/remote-boards/:board"],
|
|
146
|
+
"remoteBoards.get": ["GET", "/api/remote-boards/:board"],
|
|
147
|
+
"remoteBoards.list": ["GET", "/api/remote-boards"],
|
|
148
|
+
"remoteBoards.people": ["GET", "/api/remote-boards/people"],
|
|
149
|
+
"remoteBoards.save": ["PUT", "/api/remote-boards/:board"],
|
|
150
|
+
"remoteTasks.create": ["POST", "/api/remote-boards/:board/tasks"],
|
|
151
|
+
"remoteTasks.delete": ["DELETE", "/api/remote-boards/:board/tasks/:task"],
|
|
152
|
+
"remoteTasks.get": ["GET", "/api/remote-boards/:board/tasks/:task"],
|
|
153
|
+
"remoteTasks.log": ["POST", "/api/remote-boards/:board/tasks/:task/log"],
|
|
154
|
+
"remoteTasks.save": ["PUT", "/api/remote-boards/:board/tasks/:task"],
|
|
144
155
|
"repos.add": ["POST", "/api/repos"],
|
|
145
156
|
"repos.commit": ["GET", "/api/repos/:slug/commits/:hash"],
|
|
146
157
|
"repos.diff": ["GET", "/api/repos/:slug/diff"],
|
package/dist/core/boards.d.ts
CHANGED
|
@@ -178,6 +178,8 @@ export declare function parseTaskRef(text: string): {
|
|
|
178
178
|
export declare function parseBoardRef(text: string): BoardRef;
|
|
179
179
|
/** "1d", "12h", "90m" -> milliseconds. */
|
|
180
180
|
export declare function parseDuration(text: string): number;
|
|
181
|
+
/** A person as assignee: `human:<handle>`, the same form logs sign human changes with. */
|
|
182
|
+
export declare const isHumanAssignee: (a: string | undefined | null) => a is string;
|
|
181
183
|
/** The column `tasks pick` takes from: "todo" when the board has it, else the second column (the first is the inbox), else the only one. */
|
|
182
184
|
export declare const pickColumn: (columns: Column[]) => Column | undefined;
|
|
183
185
|
/** A column's role: work columns — from the pick column on, review and done excepted — are where an assigned agent is expected to act. */
|
package/dist/core/boards.js
CHANGED
|
@@ -10,6 +10,7 @@ import { openProjects, safeProjectSlug } from "./projects.js";
|
|
|
10
10
|
import { findRefs, resolveTokens } from "./refs.js";
|
|
11
11
|
import { SLUG_RE, slugify } from "./slug.js";
|
|
12
12
|
import { moveToTrash } from "./trash.js";
|
|
13
|
+
import { IDENTITY_PART_RE } from "./identity.js";
|
|
13
14
|
import { actorFor } from "./person.js";
|
|
14
15
|
/**
|
|
15
16
|
* Boards and tasks: the work of a project (or of the whole workspace) as
|
|
@@ -178,6 +179,23 @@ const cleanAgentSlug = (v) => {
|
|
|
178
179
|
throw new Error("agent must be an agent slug");
|
|
179
180
|
return v.trim();
|
|
180
181
|
};
|
|
182
|
+
/** A person as assignee: `human:<handle>`, the same form logs sign human changes with. */
|
|
183
|
+
export const isHumanAssignee = (a) => !!a && a.startsWith("human:");
|
|
184
|
+
/** An assignee is an agent slug or a person (`human:<handle>`); a person is never woken. */
|
|
185
|
+
const cleanAssignee = (v) => {
|
|
186
|
+
if (typeof v === "string" && v.trim().startsWith("human:")) {
|
|
187
|
+
const handle = v.trim().slice("human:".length);
|
|
188
|
+
if (!IDENTITY_PART_RE.test(handle))
|
|
189
|
+
throw new Error(`assignee "${v.trim()}" must be an agent slug or human:<handle>`);
|
|
190
|
+
return `human:${handle}`;
|
|
191
|
+
}
|
|
192
|
+
try {
|
|
193
|
+
return cleanAgentSlug(v);
|
|
194
|
+
}
|
|
195
|
+
catch {
|
|
196
|
+
throw new Error(`assignee must be an agent slug or human:<handle>, not "${String(v)}"`);
|
|
197
|
+
}
|
|
198
|
+
};
|
|
181
199
|
/** Split a Markdown file into its frontmatter text and body (same rule as entities.ts). */
|
|
182
200
|
function splitFrontmatter(raw) {
|
|
183
201
|
if (!raw.startsWith("---"))
|
|
@@ -307,7 +325,7 @@ function parseTask(slug, data, columns) {
|
|
|
307
325
|
if (!Number.isFinite(order))
|
|
308
326
|
throw new Error("order must be a number");
|
|
309
327
|
const def = { slug, number, title, status, order, created: cleanDate(data.created, "created") ?? "", tags: strList(data.tags, "tags"), refs: strList(data.refs, "refs") };
|
|
310
|
-
const assignee =
|
|
328
|
+
const assignee = cleanAssignee(data.assignee);
|
|
311
329
|
if (assignee)
|
|
312
330
|
def.assignee = assignee;
|
|
313
331
|
const due = cleanDate(data.due, "due");
|
|
@@ -694,7 +712,8 @@ async function emitTaskEvent(ev) {
|
|
|
694
712
|
/** After a write: wake the assignee when the (assignee, status) pair changed into "an agent in a work column". */
|
|
695
713
|
async function maybeEmit(ref, board, before, after, reason, actor, message) {
|
|
696
714
|
const col = board.columns.find((c) => c.slug === after.status);
|
|
697
|
-
|
|
715
|
+
// A person works on their own: only agents are woken.
|
|
716
|
+
if (!after.assignee || isHumanAssignee(after.assignee) || !isWorkColumn(col, board.columns))
|
|
698
717
|
return;
|
|
699
718
|
if (before && before.assignee === after.assignee && before.status === after.status)
|
|
700
719
|
return;
|
|
@@ -743,7 +762,7 @@ function applyInput(def, input, board) {
|
|
|
743
762
|
next.order = Number(input.order);
|
|
744
763
|
}
|
|
745
764
|
if (input.assignee !== undefined) {
|
|
746
|
-
const a =
|
|
765
|
+
const a = cleanAssignee(input.assignee ?? undefined);
|
|
747
766
|
if (a)
|
|
748
767
|
next.assignee = a;
|
|
749
768
|
else
|
|
@@ -751,6 +751,71 @@ export declare const routes: (Route<"agents.addJournal", {
|
|
|
751
751
|
}, "/api/refs/resolve", z.ZodObject<{
|
|
752
752
|
tokens: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
753
753
|
text: z.ZodDefault<z.ZodString>;
|
|
754
|
+
}, z.core.$strip>> | Route<"remoteBoards.create", import("./router.js").Reply<{
|
|
755
|
+
board: import("./remote-boards.js").RemoteBoardSummary;
|
|
756
|
+
}>, "/api/remote-boards", z.ZodObject<{
|
|
757
|
+
title: z.ZodOptional<z.ZodString>;
|
|
758
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
759
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
760
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
761
|
+
title: z.ZodString;
|
|
762
|
+
}, z.core.$strip>>>;
|
|
763
|
+
}, z.core.$strip>> | Route<"remoteBoards.delete", {
|
|
764
|
+
ok: true;
|
|
765
|
+
}, "/api/remote-boards/:board", undefined> | Route<"remoteBoards.get", {
|
|
766
|
+
board: import("./remote-boards.js").RemoteBoardSummary;
|
|
767
|
+
tasks: import("./remote-boards.js").RemoteTaskSummary[];
|
|
768
|
+
people: import("./remote-boards.js").RemotePerson[];
|
|
769
|
+
actor: string;
|
|
770
|
+
}, "/api/remote-boards/:board", undefined> | Route<"remoteBoards.list", {
|
|
771
|
+
boards: import("./remote-boards.js").RemoteBoardSummary[];
|
|
772
|
+
role: "owner" | "member";
|
|
773
|
+
actor: string;
|
|
774
|
+
cloudUrl: string | null;
|
|
775
|
+
}, "/api/remote-boards", undefined> | Route<"remoteBoards.people", {
|
|
776
|
+
people: import("./remote-boards.js").RemotePerson[];
|
|
777
|
+
actor: string;
|
|
778
|
+
role: "owner" | "member";
|
|
779
|
+
}, "/api/remote-boards/people", undefined> | Route<"remoteBoards.save", {
|
|
780
|
+
board: import("./remote-boards.js").RemoteBoardSummary;
|
|
781
|
+
}, "/api/remote-boards/:board", z.ZodObject<{
|
|
782
|
+
title: z.ZodOptional<z.ZodString>;
|
|
783
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
784
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
785
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
786
|
+
title: z.ZodString;
|
|
787
|
+
}, z.core.$strip>>>;
|
|
788
|
+
}, z.core.$strip>> | Route<"remoteTasks.create", import("./router.js").Reply<{
|
|
789
|
+
task: import("./remote-boards.js").RemoteTaskDetail;
|
|
790
|
+
}>, "/api/remote-boards/:board/tasks", z.ZodObject<{
|
|
791
|
+
title: z.ZodOptional<z.ZodString>;
|
|
792
|
+
status: z.ZodOptional<z.ZodString>;
|
|
793
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
795
|
+
due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
796
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
797
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
798
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
799
|
+
}, z.core.$strip>> | Route<"remoteTasks.delete", {
|
|
800
|
+
ok: true;
|
|
801
|
+
}, "/api/remote-boards/:board/tasks/:task", undefined> | Route<"remoteTasks.get", {
|
|
802
|
+
task: import("./remote-boards.js").RemoteTaskDetail;
|
|
803
|
+
}, "/api/remote-boards/:board/tasks/:task", undefined> | Route<"remoteTasks.log", {
|
|
804
|
+
task: import("./remote-boards.js").RemoteTaskDetail;
|
|
805
|
+
}, "/api/remote-boards/:board/tasks/:task/log", z.ZodObject<{
|
|
806
|
+
entry: z.ZodString;
|
|
807
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
808
|
+
}, z.core.$strip>> | Route<"remoteTasks.save", {
|
|
809
|
+
task: import("./remote-boards.js").RemoteTaskDetail;
|
|
810
|
+
}, "/api/remote-boards/:board/tasks/:task", z.ZodObject<{
|
|
811
|
+
title: z.ZodOptional<z.ZodString>;
|
|
812
|
+
status: z.ZodOptional<z.ZodString>;
|
|
813
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
814
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
815
|
+
due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
816
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
817
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
818
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
754
819
|
}, z.core.$strip>> | Route<"repos.add", import("./router.js").Reply<import("../../core/repos.js").RepoInfo>, "/api/repos", z.ZodObject<{
|
|
755
820
|
url: z.ZodDefault<z.ZodString>;
|
|
756
821
|
name: z.ZodOptional<z.ZodString>;
|
package/dist/server/api/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import { gitRoutes } from "./git.js";
|
|
|
13
13
|
import { knowledgeRoutes } from "./knowledge.js";
|
|
14
14
|
import { presentationRoutes } from "./presentations.js";
|
|
15
15
|
import { projectRoutes } from "./projects.js";
|
|
16
|
+
import { remoteBoardRoutes } from "./remote-boards.js";
|
|
16
17
|
import { createRouter, route } from "./router.js";
|
|
17
18
|
import { runRoutes } from "./runs.js";
|
|
18
19
|
import { vibeableRoutes } from "./vibeables.js";
|
|
@@ -34,6 +35,7 @@ const domainRoutes = [
|
|
|
34
35
|
...channelRoutes,
|
|
35
36
|
...projectRoutes,
|
|
36
37
|
...boardRoutes,
|
|
38
|
+
...remoteBoardRoutes,
|
|
37
39
|
...presentationRoutes,
|
|
38
40
|
...contactRoutes,
|
|
39
41
|
...placeRoutes,
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Remote boards over this machine's API (server/remote-boards.ts): the
|
|
4
|
+
* workspace's boards in kraftwerk cloud, multiplayer, beside the local
|
|
5
|
+
* boards (api/boards.ts). Every call goes to the cloud as the caller's
|
|
6
|
+
* person; 503 `{offline: true}` while the cloud is off or unreachable.
|
|
7
|
+
* Shapes are the cloud's (kraftwerk-cloud src/boards.ts).
|
|
8
|
+
*/
|
|
9
|
+
export interface RemoteColumn {
|
|
10
|
+
slug: string;
|
|
11
|
+
title: string;
|
|
12
|
+
}
|
|
13
|
+
export interface RemoteBoardSummary {
|
|
14
|
+
slug: string;
|
|
15
|
+
title: string;
|
|
16
|
+
columns: RemoteColumn[];
|
|
17
|
+
counts: Record<string, number>;
|
|
18
|
+
taskCount: number;
|
|
19
|
+
createdBy: string | null;
|
|
20
|
+
createdAt: number;
|
|
21
|
+
updatedAt: number;
|
|
22
|
+
}
|
|
23
|
+
export interface RemoteTaskSummary {
|
|
24
|
+
number: number;
|
|
25
|
+
title: string;
|
|
26
|
+
status: string;
|
|
27
|
+
position: number;
|
|
28
|
+
/** human:<handle> or an agent slug. */
|
|
29
|
+
assignee: string | null;
|
|
30
|
+
assigneeId?: string;
|
|
31
|
+
due: string | null;
|
|
32
|
+
tags: string[];
|
|
33
|
+
createdBy: string;
|
|
34
|
+
createdAt: number;
|
|
35
|
+
updatedAt: number;
|
|
36
|
+
last: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface RemoteTaskDetail extends RemoteTaskSummary {
|
|
39
|
+
board: string;
|
|
40
|
+
notes: string;
|
|
41
|
+
log: {
|
|
42
|
+
at: number;
|
|
43
|
+
actor: string;
|
|
44
|
+
entry: string;
|
|
45
|
+
}[];
|
|
46
|
+
}
|
|
47
|
+
export interface RemotePerson {
|
|
48
|
+
id: string;
|
|
49
|
+
handle: string;
|
|
50
|
+
email: string;
|
|
51
|
+
role: "owner" | "member";
|
|
52
|
+
}
|
|
53
|
+
export declare const remoteBoardRoutes: (import("./router.js").Route<"remoteBoards.create", import("./router.js").Reply<{
|
|
54
|
+
board: RemoteBoardSummary;
|
|
55
|
+
}>, "/api/remote-boards", z.ZodObject<{
|
|
56
|
+
title: z.ZodOptional<z.ZodString>;
|
|
57
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
58
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
60
|
+
title: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>>;
|
|
62
|
+
}, z.core.$strip>> | import("./router.js").Route<"remoteBoards.delete", {
|
|
63
|
+
ok: true;
|
|
64
|
+
}, "/api/remote-boards/:board", undefined> | import("./router.js").Route<"remoteBoards.get", {
|
|
65
|
+
board: RemoteBoardSummary;
|
|
66
|
+
tasks: RemoteTaskSummary[];
|
|
67
|
+
people: RemotePerson[];
|
|
68
|
+
actor: string;
|
|
69
|
+
}, "/api/remote-boards/:board", undefined> | import("./router.js").Route<"remoteBoards.list", {
|
|
70
|
+
boards: RemoteBoardSummary[];
|
|
71
|
+
role: "owner" | "member";
|
|
72
|
+
actor: string;
|
|
73
|
+
cloudUrl: string | null;
|
|
74
|
+
}, "/api/remote-boards", undefined> | import("./router.js").Route<"remoteBoards.people", {
|
|
75
|
+
people: RemotePerson[];
|
|
76
|
+
actor: string;
|
|
77
|
+
role: "owner" | "member";
|
|
78
|
+
}, "/api/remote-boards/people", undefined> | import("./router.js").Route<"remoteBoards.save", {
|
|
79
|
+
board: RemoteBoardSummary;
|
|
80
|
+
}, "/api/remote-boards/:board", z.ZodObject<{
|
|
81
|
+
title: z.ZodOptional<z.ZodString>;
|
|
82
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
83
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
84
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
85
|
+
title: z.ZodString;
|
|
86
|
+
}, z.core.$strip>>>;
|
|
87
|
+
}, z.core.$strip>> | import("./router.js").Route<"remoteTasks.create", import("./router.js").Reply<{
|
|
88
|
+
task: RemoteTaskDetail;
|
|
89
|
+
}>, "/api/remote-boards/:board/tasks", z.ZodObject<{
|
|
90
|
+
title: z.ZodOptional<z.ZodString>;
|
|
91
|
+
status: z.ZodOptional<z.ZodString>;
|
|
92
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
96
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
97
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>> | import("./router.js").Route<"remoteTasks.delete", {
|
|
99
|
+
ok: true;
|
|
100
|
+
}, "/api/remote-boards/:board/tasks/:task", undefined> | import("./router.js").Route<"remoteTasks.get", {
|
|
101
|
+
task: RemoteTaskDetail;
|
|
102
|
+
}, "/api/remote-boards/:board/tasks/:task", undefined> | import("./router.js").Route<"remoteTasks.log", {
|
|
103
|
+
task: RemoteTaskDetail;
|
|
104
|
+
}, "/api/remote-boards/:board/tasks/:task/log", z.ZodObject<{
|
|
105
|
+
entry: z.ZodString;
|
|
106
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, z.core.$strip>> | import("./router.js").Route<"remoteTasks.save", {
|
|
108
|
+
task: RemoteTaskDetail;
|
|
109
|
+
}, "/api/remote-boards/:board/tasks/:task", z.ZodObject<{
|
|
110
|
+
title: z.ZodOptional<z.ZodString>;
|
|
111
|
+
status: z.ZodOptional<z.ZodString>;
|
|
112
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
117
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, z.core.$strip>>)[];
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { remoteCall, remoteWorkspaceUrl } from "../remote-boards.js";
|
|
3
|
+
import { reply, route } from "./router.js";
|
|
4
|
+
const BoardFields = z.object({
|
|
5
|
+
title: z.string().optional(),
|
|
6
|
+
slug: z.string().optional(),
|
|
7
|
+
columns: z.array(z.object({ slug: z.string().optional(), title: z.string() })).optional(),
|
|
8
|
+
});
|
|
9
|
+
const TaskFields = z.object({
|
|
10
|
+
title: z.string().optional(),
|
|
11
|
+
status: z.string().optional(),
|
|
12
|
+
position: z.number().optional(),
|
|
13
|
+
assignee: z.string().nullable().optional(),
|
|
14
|
+
due: z.string().nullable().optional(),
|
|
15
|
+
tags: z.array(z.string()).optional(),
|
|
16
|
+
notes: z.string().optional(),
|
|
17
|
+
/** An agent or process naming itself; a person is whoever asks. */
|
|
18
|
+
actor: z.string().optional(),
|
|
19
|
+
});
|
|
20
|
+
const board = (c) => `boards/${encodeURIComponent(c.params.board)}`;
|
|
21
|
+
const task = (c) => `${board(c)}/tasks/${encodeURIComponent(c.params.task)}`;
|
|
22
|
+
const actorOf = (c) => c.query.get("actor") ?? undefined;
|
|
23
|
+
const withoutActor = (b) => {
|
|
24
|
+
const { actor: _a, ...rest } = b;
|
|
25
|
+
return rest;
|
|
26
|
+
};
|
|
27
|
+
export const remoteBoardRoutes = [
|
|
28
|
+
route({ name: "remoteBoards.list", method: "GET", path: "/api/remote-boards", summary: "the workspace's remote boards in kraftwerk cloud (503 offline: true while unreachable)" }, async (c) => {
|
|
29
|
+
const r = await remoteCall(c.trust, { method: "GET", path: "boards", actor: actorOf(c) });
|
|
30
|
+
return { ...r, cloudUrl: await remoteWorkspaceUrl() };
|
|
31
|
+
}),
|
|
32
|
+
route({ name: "remoteBoards.create", method: "POST", path: "/api/remote-boards", summary: "create a remote board {title, slug?, columns?}", body: BoardFields }, async (c) => reply(201, await remoteCall(c.trust, { method: "POST", path: "boards", body: await c.body() }))),
|
|
33
|
+
route({ name: "remoteBoards.people", method: "GET", path: "/api/remote-boards/people", summary: "the people of the workspace (assignable as human:<handle>) and who you are there" }, async (c) => remoteCall(c.trust, { method: "GET", path: "people", actor: actorOf(c) })),
|
|
34
|
+
route({ name: "remoteBoards.get", method: "GET", path: "/api/remote-boards/:board", summary: "a remote board: columns, counts, every task, the people" }, async (c) => remoteCall(c.trust, { method: "GET", path: board(c), actor: actorOf(c) })),
|
|
35
|
+
route({ name: "remoteBoards.save", method: "PUT", path: "/api/remote-boards/:board", summary: "rename a remote board or change its columns", body: BoardFields }, async (c) => remoteCall(c.trust, { method: "PUT", path: board(c), body: await c.body() })),
|
|
36
|
+
route({ name: "remoteBoards.delete", method: "DELETE", path: "/api/remote-boards/:board", summary: "delete a remote board with its tasks (owners only; no trash)" }, async (c) => remoteCall(c.trust, { method: "DELETE", path: board(c) })),
|
|
37
|
+
route({ name: "remoteTasks.create", method: "POST", path: "/api/remote-boards/:board/tasks", summary: "create a task {title, status?, assignee?, due?, tags?, notes?, actor?}", body: TaskFields }, async (c) => {
|
|
38
|
+
const b = await c.body();
|
|
39
|
+
return reply(201, await remoteCall(c.trust, { method: "POST", path: `${board(c)}/tasks`, body: withoutActor(b), actor: b.actor }));
|
|
40
|
+
}),
|
|
41
|
+
route({ name: "remoteTasks.get", method: "GET", path: "/api/remote-boards/:board/tasks/:task", summary: "a remote task with notes and its log (:task = number)" }, async (c) => remoteCall(c.trust, { method: "GET", path: task(c), actor: actorOf(c) })),
|
|
42
|
+
route({ name: "remoteTasks.save", method: "PUT", path: "/api/remote-boards/:board/tasks/:task", summary: "change a remote task (status, assignee, …); every change is logged with its actor", body: TaskFields }, async (c) => {
|
|
43
|
+
const b = await c.body();
|
|
44
|
+
return remoteCall(c.trust, { method: "PUT", path: task(c), body: withoutActor(b), actor: b.actor });
|
|
45
|
+
}),
|
|
46
|
+
route({ name: "remoteTasks.log", method: "POST", path: "/api/remote-boards/:board/tasks/:task/log", summary: "add a line to a remote task's log {entry, actor?}", body: z.object({ entry: z.string(), actor: z.string().optional() }) }, async (c) => {
|
|
47
|
+
const b = await c.body();
|
|
48
|
+
return remoteCall(c.trust, { method: "POST", path: `${task(c)}/log`, body: { entry: b.entry }, actor: b.actor });
|
|
49
|
+
}),
|
|
50
|
+
route({ name: "remoteTasks.delete", method: "DELETE", path: "/api/remote-boards/:board/tasks/:task", summary: "delete a remote task (no trash)" }, async (c) => remoteCall(c.trust, { method: "DELETE", path: task(c) })),
|
|
51
|
+
];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { Trust } from "./trust.js";
|
|
2
|
+
/**
|
|
3
|
+
* Remote boards — a workspace's boards kept in kraftwerk cloud (the cloud's
|
|
4
|
+
* boards.ts), multiplayer, beside the local boards (core/boards.ts, files in
|
|
5
|
+
* the repo, single player). They never sync with each other.
|
|
6
|
+
*
|
|
7
|
+
* The daemon is the way there from this machine's UI, CLI and agents: it
|
|
8
|
+
* calls the cloud with the machine's id + secret and says who it acts for —
|
|
9
|
+
*
|
|
10
|
+
* a browser signed in with its cloud account (users: cloud) → that person
|
|
11
|
+
* everyone else on this machine (its shell, a paired device,
|
|
12
|
+
* a users: local workspace) → the account that claimed the machine
|
|
13
|
+
* a remote member through the relay → refused: they use the cloud's own UI
|
|
14
|
+
*
|
|
15
|
+
* — and an agent or process naming itself (`actor`) is passed on as such;
|
|
16
|
+
* the cloud never takes a human actor from a machine. The cloud allows a
|
|
17
|
+
* machine to act only for its account and the people who signed in to it.
|
|
18
|
+
*
|
|
19
|
+
* Offline is offline: no cache. With the machine not connected (cloud off,
|
|
20
|
+
* not claimed, the workspace without a ws_ id) or the cloud not answering,
|
|
21
|
+
* calls fail 503 with `offline: true` and the UI marks remote boards offline.
|
|
22
|
+
*/
|
|
23
|
+
export interface RemoteCall {
|
|
24
|
+
method: "GET" | "POST" | "PUT" | "DELETE";
|
|
25
|
+
/** After /api/workspaces/<ws>/, e.g. "boards/launch/tasks/3". */
|
|
26
|
+
path: string;
|
|
27
|
+
body?: unknown;
|
|
28
|
+
/** An agent or process naming itself (lisa/claude, process:sync); a human actor is ignored. */
|
|
29
|
+
actor?: string;
|
|
30
|
+
}
|
|
31
|
+
/** The ws_ id of the workspace this request is in; 409 without one (`kraftwerk doctor --fix` writes it). */
|
|
32
|
+
export declare function remoteWorkspaceId(): Promise<string>;
|
|
33
|
+
export declare function remoteCall<T>(trust: Trust, call: RemoteCall): Promise<T>;
|
|
34
|
+
/** The cloud's address for this workspace's page, for "open in cloud" links. */
|
|
35
|
+
export declare function remoteWorkspaceUrl(): Promise<string | null>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { resolveWorkspace } from "../config.js";
|
|
2
|
+
import { readAccountFile } from "../core/cloud.js";
|
|
3
|
+
import { workspaceRoot } from "../core/context.js";
|
|
4
|
+
import { ApiError } from "./api/router.js";
|
|
5
|
+
import { machineLink } from "./cloud.js";
|
|
6
|
+
import { personOf } from "./person.js";
|
|
7
|
+
const REMOTE_TIMEOUT_MS = 10_000;
|
|
8
|
+
const offline = (why) => new ApiError(503, why, { error: why, offline: true });
|
|
9
|
+
/** The ws_ id of the workspace this request is in; 409 without one (`kraftwerk doctor --fix` writes it). */
|
|
10
|
+
export async function remoteWorkspaceId() {
|
|
11
|
+
const ws = await resolveWorkspace(workspaceRoot());
|
|
12
|
+
const id = ws.config.id;
|
|
13
|
+
if (!id)
|
|
14
|
+
throw new ApiError(409, "this workspace has no id yet — `kraftwerk doctor --fix` gives it one", { error: "this workspace has no id yet — `kraftwerk doctor --fix` gives it one", offline: true });
|
|
15
|
+
return id;
|
|
16
|
+
}
|
|
17
|
+
export async function remoteCall(trust, call) {
|
|
18
|
+
if (trust.kind === "member")
|
|
19
|
+
throw new ApiError(403, "remote boards are in kraftwerk cloud — open them there");
|
|
20
|
+
const link = machineLink();
|
|
21
|
+
if (!link)
|
|
22
|
+
throw offline("kraftwerk cloud is off or not connected on this machine");
|
|
23
|
+
const wsId = await remoteWorkspaceId();
|
|
24
|
+
const [person, account] = await Promise.all([personOf(trust), readAccountFile()]);
|
|
25
|
+
if (!account)
|
|
26
|
+
throw offline("this machine is not claimed by a cloud account — `kraftwerk login`");
|
|
27
|
+
const as = person.id && person.id !== account.id ? person.id : undefined;
|
|
28
|
+
const actor = call.actor && !call.actor.trim().startsWith("human:") ? call.actor.trim() : undefined;
|
|
29
|
+
let r;
|
|
30
|
+
try {
|
|
31
|
+
r = await fetch(`${link.url}/api/workspaces/${encodeURIComponent(wsId)}/${call.path}`, {
|
|
32
|
+
method: call.method,
|
|
33
|
+
headers: {
|
|
34
|
+
"user-agent": `kraftwerk/${link.version}`,
|
|
35
|
+
"x-kw-machine-id": link.creds.id,
|
|
36
|
+
"x-kw-machine-secret": link.creds.secret,
|
|
37
|
+
...(as ? { "x-kw-user": as } : {}),
|
|
38
|
+
...(actor ? { "x-kw-actor": actor } : {}),
|
|
39
|
+
...(call.body !== undefined ? { "content-type": "application/json" } : {}),
|
|
40
|
+
},
|
|
41
|
+
body: call.body !== undefined ? JSON.stringify(call.body) : undefined,
|
|
42
|
+
signal: AbortSignal.timeout(REMOTE_TIMEOUT_MS),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
catch (err) {
|
|
46
|
+
throw offline(`kraftwerk cloud does not answer (${err.message})`);
|
|
47
|
+
}
|
|
48
|
+
const text = await r.text();
|
|
49
|
+
let data = {};
|
|
50
|
+
try {
|
|
51
|
+
data = text ? JSON.parse(text) : {};
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
throw offline(`kraftwerk cloud answered ${r.status}, not JSON`);
|
|
55
|
+
}
|
|
56
|
+
if (r.status >= 500)
|
|
57
|
+
throw offline(String(data.error ?? `kraftwerk cloud answered ${r.status}`));
|
|
58
|
+
if (!r.ok) {
|
|
59
|
+
const error = String(data.error ?? `kraftwerk cloud answered ${r.status}`);
|
|
60
|
+
// A person who signed in before the cloud kept sign-ins must sign in once more.
|
|
61
|
+
const signin = r.status === 403 && /may act only for/.test(error) && as ? { signin: true } : {};
|
|
62
|
+
throw new ApiError(r.status, error, { error, ...signin });
|
|
63
|
+
}
|
|
64
|
+
return data;
|
|
65
|
+
}
|
|
66
|
+
/** The cloud's address for this workspace's page, for "open in cloud" links. */
|
|
67
|
+
export async function remoteWorkspaceUrl() {
|
|
68
|
+
const link = machineLink();
|
|
69
|
+
if (!link)
|
|
70
|
+
return null;
|
|
71
|
+
const ws = await resolveWorkspace(workspaceRoot()).catch(() => null);
|
|
72
|
+
return ws?.config.id ? `${link.url}/w/${encodeURIComponent(ws.config.id)}` : null;
|
|
73
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netnodeag/kraftwerk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.98.0",
|
|
4
4
|
"description": "Open-source agentic workspace for teams — where people and AI agents get work done together: agents (Claude Code, Codex, Pi), skills, shared knowledge, repeatable workflows, and deterministic verification",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,D as t,L as n,R as r,h as i,n as a,r as o,s,u as c,x as l}from"./dist-BUzdcj0Z.js";import{r as u}from"./dist-DGLb7wE6.js";var d=110,f=1,p=2,m=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function h(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function g(e){return e>=48&&e<=57}var _=new a((e,t)=>{if(e.next==40){let t=e.peek(-1);(h(t)||g(t)||t==95||t==45)&&e.acceptToken(p,1)}}),v=new a(e=>{if(m.indexOf(e.peek(-1))>-1){let{next:t}=e;(h(t)||t==95||t==35||t==46||t==91||t==58||t==45)&&e.acceptToken(d)}}),y=new a(e=>{if(m.indexOf(e.peek(-1))<0){let{next:t}=e;if(t==37&&(e.advance(),e.acceptToken(f)),h(t)){do e.advance();while(h(e.next));e.acceptToken(f)}}}),b=n({"import charset namespace keyframes media supports when":r.definitionKeyword,"from to selector":r.keyword,NamespaceName:r.namespace,KeyframeName:r.labelName,TagName:r.tagName,ClassName:r.className,PseudoClassName:r.constant(r.className),IdName:r.labelName,"FeatureName PropertyName PropertyVariable":r.propertyName,AttributeName:r.attributeName,NumberLiteral:r.number,KeywordQuery:r.keyword,UnaryQueryOp:r.operatorKeyword,"CallTag ValueName":r.atom,VariableName:r.variableName,"AtKeyword Interpolation":r.special(r.variableName),Callee:r.operatorKeyword,Unit:r.unit,"UniversalSelector NestingSelector":r.definitionOperator,MatchOp:r.compareOperator,"ChildOp SiblingOp, LogicOp":r.logicOperator,BinOp:r.arithmeticOperator,Important:r.modifier,"Comment LineComment":r.blockComment,ColorLiteral:r.color,"ParenthesizedContent StringLiteral":r.string,Escape:r.special(r.string),": ...":r.punctuation,"PseudoOp #":r.derefOperator,"; ,":r.separator,"( )":r.paren,"[ ]":r.squareBracket,"{ }":r.brace}),x={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},S={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},C=o.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#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!X!b!g!q!{#U#`#b#o#w#y$U$_$b$d$e$g$m$r$u%Z%[%g%m%t&TQ!i]R$O!jQ!QUQ#PpR%_$WQ!SVR#QqZuS!w$k$}%aQxSS!znzQ#s!_Q$R!mQ$V!qS$^!|#[Q%c$]Q%z%VR&R%dc!^Z_!W!Z!`#l#m#p%sR#i!ZZ#n![!m#j#t${R!j]R!l^R$Q!lU`OhwQ!UWR$S!nVeOhwR$Z!qR$Y!qShOwR!thQnSS!yn%kR%k$kQ$d#UQ$m#`Y%f$d$m%g%t&TQ%g$eQ%t$uR&T%mQ%n$mR&U%nQ$h#YR%i$hQ$s#fR%r$sQ#q![R$|#qQ%W$PR%{%WQ!o`Q#c!UT$T!o#cQ%[$UR&O%[QiOR#ZwVfOhwUSOhwQ!wmQ#RrQ#SsQ#TuQ$k#^Q$}#rR%a$YR$l#^R$n#`Q!d[S#Uv$gQ#[yQ#f!XQ#u!bQ#|!gQ$U!qQ$]!{d$c#U#`$d$e$m$u%g%m%t&TQ$o#bQ$y#oQ%P#wQ%Q#yS%Y$U%[Q%d$_Q%e$bQ%q$rR%}%ZQzSQ!pbQ!|nQ%b$YR&Q%aQ#YvR%h$gR#g!XQ!_ZQ#e!WQ$x#mR&V%sW![Z!W#m%sQ!m_Q#j!ZQ#t!`Q$w#lR${#pVcOhwSgOwR!sh",nodeNames:`⚠ Unit ( Comment LineComment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName ) ArgList , PseudoClassName ArgList VariableName AtKeyword PropertyVariable ValueName ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral Escape Interpolation BinaryExpression BinOp LogicOp UnaryExpression UnaryQueryOp CallExpression ] SubscriptExpression [ CallLiteral CallTag ParenthesizedContent IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp InterpolatedSelector ; when } { Block ImportStatement import KeywordQuery FeatureQuery FeatureName BinaryQuery UnaryQuery ParenthesizedQuery SelectorQuery selector CallQuery ArgList SubscriptQuery MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports DetachedRuleSet PropertyName Declaration Important Inclusion IdSelector ClassSelector Inclusion CallExpression`,maxTerm:133,nodeProps:[[`isolate`,-3,3,4,30,``],[`openedBy`,17,`(`,59,`{`],[`closedBy`,26,`)`,60,`}`]],propSources:[b],skippedNodes:[0,3,4],repeatNodeCount:10,tokenData:"!2q~R!ZOX$tX^%l^p$tpq%lqr)Ors-xst/ltu6Zuv$tvw8^wx:Uxy;syz<Uz{<Z{|<t|}BQ}!OBc!O!PDo!P!QFY!Q![Jw![!]Kr!]!^Ln!^!_MP!_!`M{!`!aNl!a!b$t!b!c! m!c!}!&R!}#O!'y#O#P$t#P#Q!([#Q#R!(m#R#T$t#T#o!&R#o#p!)S#p#q!(m#q#r!)e#r#s!)v#s#y$t#y#z%l#z$f$t$f$g%l$g#BY$t#BY#BZ%l#BZ$IS$t$IS$I_%l$I_$I|$t$I|$JO%l$JO$JT$t$JT$JU%l$JU$KV$t$KV$KW%l$KW&FU$t&FU&FV%l&FV;'S$t;'S;=`!2k<%lO$t`$wSOy%Tz;'S%T;'S;=`%f<%lO%T`%YS|`Oy%Tz;'S%T;'S;=`%f<%lO%T`%iP;=`<%l%T~%qh#d~OX%TX^']^p%Tpq']qy%Tz#y%T#y#z']#z$f%T$f$g']$g#BY%T#BY#BZ']#BZ$IS%T$IS$I_']$I_$I|%T$I|$JO']$JO$JT%T$JT$JU']$JU$KV%T$KV$KW']$KW&FU%T&FU&FV']&FV;'S%T;'S;=`%f<%lO%T~'dh#d~|`OX%TX^']^p%Tpq']qy%Tz#y%T#y#z']#z$f%T$f$g']$g#BY%T#BY#BZ']#BZ$IS%T$IS$I_']$I_$I|%T$I|$JO']$JO$JT%T$JT$JU']$JU$KV%T$KV$KW']$KW&FU%T&FU&FV']&FV;'S%T;'S;=`%f<%l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:i()}),e.add({Block:l})]}),languageData:{commentTokens:{block:{open:`/*`,close:`*/`},line:`//`},indentOnInput:/^\s*\}$/,wordChars:`@-`}}),T=u(e=>e.name==`VariableName`||e.name==`AtKeyword`);function E(){return new c(w,w.data.of({autocomplete:T}))}export{E as less};
|
|
1
|
+
import{C as e,D as t,L as n,R as r,h as i,n as a,r as o,s,u as c,x as l}from"./dist-BUzdcj0Z.js";import{r as u}from"./dist-CR_7NDsL.js";var d=110,f=1,p=2,m=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function h(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function g(e){return e>=48&&e<=57}var _=new a((e,t)=>{if(e.next==40){let t=e.peek(-1);(h(t)||g(t)||t==95||t==45)&&e.acceptToken(p,1)}}),v=new a(e=>{if(m.indexOf(e.peek(-1))>-1){let{next:t}=e;(h(t)||t==95||t==35||t==46||t==91||t==58||t==45)&&e.acceptToken(d)}}),y=new a(e=>{if(m.indexOf(e.peek(-1))<0){let{next:t}=e;if(t==37&&(e.advance(),e.acceptToken(f)),h(t)){do e.advance();while(h(e.next));e.acceptToken(f)}}}),b=n({"import charset namespace keyframes media supports when":r.definitionKeyword,"from to selector":r.keyword,NamespaceName:r.namespace,KeyframeName:r.labelName,TagName:r.tagName,ClassName:r.className,PseudoClassName:r.constant(r.className),IdName:r.labelName,"FeatureName PropertyName PropertyVariable":r.propertyName,AttributeName:r.attributeName,NumberLiteral:r.number,KeywordQuery:r.keyword,UnaryQueryOp:r.operatorKeyword,"CallTag ValueName":r.atom,VariableName:r.variableName,"AtKeyword Interpolation":r.special(r.variableName),Callee:r.operatorKeyword,Unit:r.unit,"UniversalSelector NestingSelector":r.definitionOperator,MatchOp:r.compareOperator,"ChildOp SiblingOp, LogicOp":r.logicOperator,BinOp:r.arithmeticOperator,Important:r.modifier,"Comment LineComment":r.blockComment,ColorLiteral:r.color,"ParenthesizedContent StringLiteral":r.string,Escape:r.special(r.string),": ...":r.punctuation,"PseudoOp #":r.derefOperator,"; ,":r.separator,"( )":r.paren,"[ ]":r.squareBracket,"{ }":r.brace}),x={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},S={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},C=o.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQ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Q#j!ZQ#t!`Q$w#lR${#pVcOhwSgOwR!sh",nodeNames:`⚠ Unit ( Comment LineComment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName ) ArgList , PseudoClassName ArgList VariableName AtKeyword PropertyVariable ValueName ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral Escape Interpolation BinaryExpression BinOp LogicOp UnaryExpression UnaryQueryOp CallExpression ] SubscriptExpression [ CallLiteral CallTag ParenthesizedContent IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp InterpolatedSelector ; when } { Block ImportStatement import KeywordQuery FeatureQuery FeatureName BinaryQuery UnaryQuery ParenthesizedQuery SelectorQuery selector CallQuery ArgList SubscriptQuery MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports DetachedRuleSet PropertyName Declaration Important Inclusion IdSelector ClassSelector Inclusion CallExpression`,maxTerm:133,nodeProps:[[`isolate`,-3,3,4,30,``],[`openedBy`,17,`(`,59,`{`],[`closedBy`,26,`)`,60,`}`]],propSources:[b],skippedNodes:[0,3,4],repeatNodeCount:10,tokenData:"!2q~R!ZOX$tX^%l^p$tpq%lqr)Ors-xst/ltu6Zuv$tvw8^wx:Uxy;syz<Uz{<Z{|<t|}BQ}!OBc!O!PDo!P!QFY!Q![Jw![!]Kr!]!^Ln!^!_MP!_!`M{!`!aNl!a!b$t!b!c! m!c!}!&R!}#O!'y#O#P$t#P#Q!([#Q#R!(m#R#T$t#T#o!&R#o#p!)S#p#q!(m#q#r!)e#r#s!)v#s#y$t#y#z%l#z$f$t$f$g%l$g#BY$t#BY#BZ%l#BZ$IS$t$IS$I_%l$I_$I|$t$I|$JO%l$JO$JT$t$JT$JU%l$JU$KV$t$KV$KW%l$KW&FU$t&FU&FV%l&FV;'S$t;'S;=`!2k<%lO$t`$wSOy%Tz;'S%T;'S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/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[v,y,_,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:e=>x[e]||-1},{term:23,get:e=>S[e]||-1}],tokenPrec:2180}),w=s.define({name:`less`,parser:C.configure({props:[t.add({Declaration:i()}),e.add({Block:l})]}),languageData:{commentTokens:{block:{open:`/*`,close:`*/`},line:`//`},indentOnInput:/^\s*\}$/,wordChars:`@-`}}),T=u(e=>e.name==`VariableName`||e.name==`AtKeyword`);function E(){return new c(w,w.data.of({autocomplete:T}))}export{E as less};
|