@skrr-ai/cli 0.1.71 → 0.1.73
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/base-command.js +1 -0
- package/dist/commands/agents/chat.js +2 -0
- package/dist/commands/agents/releases/create.js +57 -11
- package/dist/commands/machines/dedicated/cp.js +3 -0
- package/dist/commands/machines/dedicated/exec.js +3 -0
- package/dist/commands/spaces/snapshot.d.ts +1 -0
- package/dist/commands/spaces/snapshot.js +7 -2
- package/dist/commands/store/installs.js +1 -2
- package/dist/commands/store/signals.js +3 -0
- package/dist/commands/store/uninstall.js +1 -1
- package/dist/commands/subscriptions/subscribe.js +2 -2
- package/dist/lib/agentic-stream.d.ts +23 -0
- package/dist/lib/agentic-stream.js +169 -49
- package/dist/node_modules/@skrr-ai/data-provider/index.js +28 -20
- package/oclif.manifest.json +27673 -27665
- package/package.json +1 -1
|
@@ -39213,7 +39213,7 @@ var pf = { notify: { label: "Notice", detail: "Installers are told about a probl
|
|
|
39213
39213
|
var mf = { active: { label: "In force", detail: "The remedy applies to every copy running this release." }, lifted: { label: "Lifted", detail: "Two curators lifted the remedy. Copies running this release run as before." }, retracted: { label: "Retracted", detail: "Two curators retracted this advisory as issued in error. It no longer applies." } };
|
|
39214
39214
|
var ff = Object.freeze(["name", "description", "instructions", "promptComposition", "avatar", "character3DId", "provider", "model", "model_parameters", "artifacts", "access_level", "recursion_limit", "tools", "tool_kwargs", "actions", "hide_sequential_outputs", "end_after_tools", "agent_ids", "network_mode", "network_agent_ids", "network_agent_release_pins", "network_include_public", "conversation_starters", "agentActions", "tool_resources", "category", "support_contact", "shareMode", "skills", "allowedCapabilities", "toolPolicy", "commitmentResponsibilityDefault", "commitmentResponsibilityCeiling", "reasoningToolEscapes", "executionPolicy", "workingDirectory", "defaultPermissionMode", "todoWorkingHours", "welcomeMessage", "installFirstContact", "serviceDelivery", "proactiveInstall", "marketplaceMedia"]);
|
|
39215
39215
|
var gf = Object.freeze(["executionPolicy", "workingDirectory", "defaultPermissionMode", "tool_resources", "marketplaceMedia"]);
|
|
39216
|
-
var vf = Object.freeze(["isAlwaysOn", "alwaysOnControl", "defaultForHarness", "nativeRole", "marketplaceStoreSourceState", "marketplaceStoreSourceReleaseId", "network_shell_write_agent_ids", "installKind"]);
|
|
39216
|
+
var vf = Object.freeze(["isAlwaysOn", "alwaysOnControl", "defaultForHarness", "nativeRole", "marketplaceStoreSourceState", "marketplaceStoreSourceReleaseId", "network_shell_write_agent_ids", "installKind", "marketplaceSpaceId"]);
|
|
39217
39217
|
var hf = Object.freeze(["_id", "id", "author", "authorName", "workspaceId", "createdAt", "updatedAt", "price", "rating", "ratingCount", "installCount", "is_listed", "is_promoted", "storeFeaturedPlacement", "is_banned", "banned_at", "banned_by", "delisted_at", "delisted_by", "versions", "latestReleaseId", "latestPublicReleaseId", "latestVersionLabel", "installedReleaseId", "forkedFrom", "forkedFromReleaseId", "forkedFromVersionLabel", "releasePolicy", "storeInstallState", "storeInstallReservationId", "storeInstallSourceAgentId", "storeInstallReleaseId", "storeInstallWorkspaceId", "storeInstallReservedAt", "storeInstallExpiresAt", "storeInstallCompletedAt", "storeInstallSharedMemoryDefault", "marketplaceEntitlementState", "marketplaceEntitlementEvidence", "marketplaceFulfillmentState", "marketplaceTeamOrderId", "learnedCapabilityProfile", "directModeRegret", "toneMode", "toneId", "toneNotes", "sceneBackground", "maxTurns", "maxConcurrentTaskExecutions", "projectIds", "isCollaborative", "is_onboarding", "mgmtVersion", "mgmtPublishedAt", "mgmtPublic"]);
|
|
39218
39218
|
var yf = Object.freeze(ff.filter(function(e2) {
|
|
39219
39219
|
return !gf.includes(e2);
|
|
@@ -41849,7 +41849,7 @@ function FE(e2, t2, n2, o2, r2) {
|
|
|
41849
41849
|
var l2 = WE(e3.parts), u2 = r3 ? { id: n3(), kind: "thinking", text: t3.text, status: "streaming" } : { id: n3(), kind: "text", text: t3.text, status: "streaming" };
|
|
41850
41850
|
return S(S({}, e3), { parts: w(w([], l2, true), [u2], false), updatedAt: o3 });
|
|
41851
41851
|
})(e2, t2, o2, r2);
|
|
41852
|
-
return e2.
|
|
41852
|
+
return e2.status ? S(S({}, a2), { pending: false, parts: WE(a2.parts) }) : S(S({}, a2), { pending: "agent" === e2.role || e2.pending });
|
|
41853
41853
|
case "service":
|
|
41854
41854
|
case "session-handoff":
|
|
41855
41855
|
case "slash-commands-available":
|
|
@@ -41908,7 +41908,7 @@ function FE(e2, t2, n2, o2, r2) {
|
|
|
41908
41908
|
return S(S({}, e3), { parts: g2, pending: BE(g2), updatedAt: o3 });
|
|
41909
41909
|
})(e2, t2, o2, r2);
|
|
41910
41910
|
case "turn-start":
|
|
41911
|
-
return S(S({}, e2), { pending: true, updatedAt: r2 });
|
|
41911
|
+
return S(S({}, e2), { pending: true, status: void 0, updatedAt: r2 });
|
|
41912
41912
|
case "turn-end":
|
|
41913
41913
|
return (function(e3, t3, n3) {
|
|
41914
41914
|
var o3 = (function(e4, t4, n4) {
|
|
@@ -44743,8 +44743,8 @@ var gR = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
|
|
|
44743
44743
|
})(e2, t2));
|
|
44744
44744
|
}, getStoreCategories: function() {
|
|
44745
44745
|
return oR.get("".concat(er(), "/categories"));
|
|
44746
|
-
}, getStoreInstalls: function() {
|
|
44747
|
-
return oR.get("".concat(er(), "/installs"));
|
|
44746
|
+
}, getStoreInstalls: function(e2) {
|
|
44747
|
+
return oR.get("".concat(er(), "/installs"), e2 ? { headers: { "X-Workspace-Id": e2 } } : void 0);
|
|
44748
44748
|
}, getStoreListingSocial: function(e2) {
|
|
44749
44749
|
return oR.get((function(e3) {
|
|
44750
44750
|
return "".concat(er(), "/agents/").concat(encodeURIComponent(e3), "/social");
|
|
@@ -45139,10 +45139,10 @@ var gR = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
|
|
|
45139
45139
|
return "".concat(er(), "/agents/").concat(e3, "/install");
|
|
45140
45140
|
})(t2), { releaseId: n2, spaceId: o2, fork: r2, includeBootstrap: a2, includeMemory: i2, proactiveInstall: s2, preinstallReservationId: c2, reservedInstalledAgentId: l2, expectedOfferVersionId: u2, expectedPrice: d2, executionPlacement: p2, outcomeSharing: m2, shareMemory: f2 });
|
|
45141
45141
|
}, installStoreService: function(e2) {
|
|
45142
|
-
var t2 = e2.listingId, n2 = e2.title, o2 = e2.agentMapping;
|
|
45142
|
+
var t2 = e2.listingId, n2 = e2.title, o2 = e2.agentMapping, r2 = e2.acknowledgedRequirements;
|
|
45143
45143
|
return oR.post((function(e3) {
|
|
45144
45144
|
return "".concat(er(), "/services/").concat(encodeURIComponent(e3), "/install");
|
|
45145
|
-
})(t2), { title: n2, agentMapping: o2 });
|
|
45145
|
+
})(t2), { title: n2, agentMapping: o2, acknowledgedRequirements: r2 });
|
|
45146
45146
|
}, installStoreTeam: function(e2) {
|
|
45147
45147
|
var t2 = e2.teamId, n2 = e2.spaceId;
|
|
45148
45148
|
return oR.post((function(e3) {
|
|
@@ -48842,18 +48842,21 @@ exports.describeStoreReleaseAdvisoryStatus = function(e2) {
|
|
|
48842
48842
|
}), d2 = new Set(e2.semantic.nodes.map(function(e3) {
|
|
48843
48843
|
return e3.key;
|
|
48844
48844
|
})), p2 = e2.semantic.nodes.map(function(e3) {
|
|
48845
|
-
for (var
|
|
48846
|
-
|
|
48847
|
-
|
|
48848
|
-
|
|
48849
|
-
|
|
48850
|
-
|
|
48851
|
-
|
|
48852
|
-
|
|
48853
|
-
|
|
48854
|
-
}
|
|
48855
|
-
}
|
|
48856
|
-
|
|
48845
|
+
for (var n3, o3, r3, a3, u3, d3 = null !== (n3 = dv[e3.type]) && void 0 !== n3 ? n3 : {}, p3 = S({}, null !== (o3 = e3.config) && void 0 !== o3 ? o3 : {}), m3 = function(n4, o4) {
|
|
48846
|
+
if ("keep" === o4.action) return "continue";
|
|
48847
|
+
var d4 = Object.prototype.hasOwnProperty.call(p3, n4), m4 = p3[n4];
|
|
48848
|
+
if (i2.has("".concat(e3.key, ".").concat(n4))) return d4 && !pv(m4) && s2.push({ nodeKey: e3.key, configPath: n4, kind: "blank", message: "".concat(e3.key, ".").concat(n4, " keeps a concrete value, so this template only works where that value exists") }), "continue";
|
|
48849
|
+
if ("blank" === o4.action) return d4 && (void 0 === o4.empty ? delete p3[n4] : p3[n4] = o4.empty), "continue";
|
|
48850
|
+
var f4 = d4 && !pv(m4), g4 = null === (r3 = o4.required) || void 0 === r3 || r3, v4 = null === (a3 = null == t2 ? void 0 : t2.preserveSlots) || void 0 === a3 ? void 0 : a3.find(function(t3) {
|
|
48851
|
+
return t3.nodeKey === e3.key && t3.configPath === n4 && t3.kind === o4.kind;
|
|
48852
|
+
});
|
|
48853
|
+
if (!g4 && !f4 && !v4) return "continue";
|
|
48854
|
+
p3[n4] = o4.empty, c2.push({ ref: (null == v4 ? void 0 : v4.ref) && /^[a-zA-Z0-9_-]{1,200}$/.test(v4.ref) && !l2.has(v4.ref) ? (l2.add(v4.ref), v4.ref) : fv(e3.key, n4, l2), kind: o4.kind, label: o4.label, required: g4, nodeKey: e3.key, configPath: n4, multiple: null !== (u3 = o4.multiple) && void 0 !== u3 && u3 }), f4 && s2.push({ nodeKey: e3.key, configPath: n4, kind: "slot", message: "".concat(o4.label, " on ").concat(e3.key, " will be asked for when this template is inserted") });
|
|
48855
|
+
}, f3 = 0, g3 = Object.entries(d3); f3 < g3.length; f3++) {
|
|
48856
|
+
var v3 = g3[f3];
|
|
48857
|
+
m3(v3[0], v3[1]);
|
|
48858
|
+
}
|
|
48859
|
+
return S(S({}, e3), { config: p3 });
|
|
48857
48860
|
}), m2 = /* @__PURE__ */ new Map(), f2 = /* @__PURE__ */ new Set(), g2 = p2.map(function(e3) {
|
|
48858
48861
|
if (!e3.bindings || !Object.keys(e3.bindings).length) return e3;
|
|
48859
48862
|
for (var t3 = {}, n3 = 0, o3 = Object.entries(e3.bindings); n3 < o3.length; n3++) {
|
|
@@ -48882,7 +48885,12 @@ exports.describeStoreReleaseAdvisoryStatus = function(e2) {
|
|
|
48882
48885
|
var b2 = y2[h2], _2 = null === (a2 = null === (r2 = e2.presentation) || void 0 === r2 ? void 0 : r2.nodes) || void 0 === a2 ? void 0 : a2[b2.key];
|
|
48883
48886
|
_2 && (v2[b2.key] = { x: _2.x, y: _2.y });
|
|
48884
48887
|
}
|
|
48885
|
-
return { body: { semantic: { nodes: g2, edges: u2 }, presentation: { nodes: v2 } }, slots: c2, inputs: Array.from(m2.values())
|
|
48888
|
+
return { body: { semantic: { nodes: g2, edges: u2 }, presentation: { nodes: v2 } }, slots: c2, inputs: Array.from(m2.values()).map(function(e3) {
|
|
48889
|
+
var n3, o3 = null === (n3 = null == t2 ? void 0 : t2.preserveInputs) || void 0 === n3 ? void 0 : n3.find(function(t3) {
|
|
48890
|
+
return t3.name === e3.name;
|
|
48891
|
+
});
|
|
48892
|
+
return o3 ? S(S(S({}, e3), { label: o3.label }), o3.originalReference ? { originalReference: o3.originalReference } : {}) : e3;
|
|
48893
|
+
}), warnings: s2 };
|
|
48886
48894
|
}, exports.extractSpaceToolName = rA, exports.extractTaskAssetIds = function(e2) {
|
|
48887
48895
|
if ("string" != typeof e2 || -1 === e2.indexOf(Eu)) return [];
|
|
48888
48896
|
var t2 = e2.match(Au);
|