@netnodeag/kraftwerk 0.103.0 → 0.104.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/dist/core/cloud.d.ts +2 -0
- package/dist/server/cloud.d.ts +1 -0
- package/dist/server/cloud.js +2 -2
- package/package.json +1 -1
package/dist/core/cloud.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ export interface MachineWorkspace {
|
|
|
68
68
|
name: string;
|
|
69
69
|
slug: string;
|
|
70
70
|
root?: string;
|
|
71
|
+
/** Where the daemon serves it on this machine (claimed only) — the cloud's "open workspace" link for its owner. */
|
|
72
|
+
url?: string;
|
|
71
73
|
/** Who hosts its git remote: kraftwerk sync, an own provider ("custom"), or none yet. */
|
|
72
74
|
git?: "kraftwerk" | "custom" | "none";
|
|
73
75
|
}
|
package/dist/server/cloud.d.ts
CHANGED
package/dist/server/cloud.js
CHANGED
|
@@ -69,7 +69,7 @@ async function hostingOfServed(id, ws) {
|
|
|
69
69
|
.then((url) => hostingFor(id, url))
|
|
70
70
|
.catch(() => undefined); // a workspace closing meanwhile: nothing said
|
|
71
71
|
}
|
|
72
|
-
/** The open workspaces as the cloud lists them: vetoed ones left out
|
|
72
|
+
/** The open workspaces as the cloud lists them: vetoed ones left out; roots and the local address ("open workspace" there) only once claimed. */
|
|
73
73
|
async function entries(withRoots) {
|
|
74
74
|
const list = [];
|
|
75
75
|
const ymlUrls = [];
|
|
@@ -81,7 +81,7 @@ async function entries(withRoots) {
|
|
|
81
81
|
if (c?.url)
|
|
82
82
|
ymlUrls.push(c.url.replace(/\/+$/, ""));
|
|
83
83
|
const git = await hostingOfServed(ws?.config.id, o.ws);
|
|
84
|
-
list.push({ ...(ws?.config.id ? { id: ws.config.id } : {}), name: o.name, slug: o.slug, ...(withRoots ? { root: o.root } : {}), ...(git ? { git } : {}) });
|
|
84
|
+
list.push({ ...(ws?.config.id ? { id: ws.config.id } : {}), name: o.name, slug: o.slug, ...(withRoots ? { root: o.root, ...(o.url ? { url: o.url } : {}) } : {}), ...(git ? { git } : {}) });
|
|
85
85
|
}
|
|
86
86
|
return { list, ymlUrls };
|
|
87
87
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netnodeag/kraftwerk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.104.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",
|