openwork-server 0.18.72 → 0.18.74
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/opencode-plugin-deps-1.18.33.tgz +0 -0
- package/dist/opencode-plugins/browser-tool-args.js +10 -0
- package/dist/opencode-plugins/cloud-coding-turn-release.js +58 -0
- package/dist/opencode-plugins/computer-routing-v2.js +77 -0
- package/dist/opencode-plugins/openwork-agent-permissions-v2.js +103 -8
- package/dist/opencode-plugins/openwork-chrome-devtools.js +29 -9
- package/dist/opencode-plugins/openwork-computer-use.js +4 -4
- package/dist/opencode-plugins/openwork-context-v2.js +384 -76
- package/dist/opencode-plugins/openwork-extensions-preview.js +457 -5
- package/dist/opencode-plugins/openwork-gateway-quota-v2.js +41 -1
- package/dist/opencode-plugins/openwork-gateway-quota.js +41 -1
- package/dist/opencode-plugins/openwork-mcp-results-v2.js +164 -14
- package/dist/opencode-plugins/openwork-mcp-server-events-v2.js +111 -0
- package/dist/opencode-plugins/openwork-mcp-server-skills-v2.js +176 -0
- package/dist/opencode-plugins/openwork-private-values-v2.js +38273 -0
- package/dist/opencode-plugins/openwork-private-values.js +38184 -0
- package/dist/opencode-plugins/openwork-provider-adapters.js +27 -1
- package/dist/opencode-plugins/openwork-provider-keys-v2.js +67 -0
- package/dist/opencode-plugins/openwork-sandbox-v2.js +1477 -10
- package/dist/opencode-plugins/private-values-filter.js +150 -0
- package/dist/opencode-plugins/private-values-terminal.js +28 -0
- package/dist/opencode-plugins/private-values-tool.js +52 -0
- package/dist/openwork-server.mjs +69668 -6974
- package/package.json +1 -1
- package/web/assets/{abnfDiagram-VCTEODGH-Bk2JrJ3j.js → abnfDiagram-VCTEODGH-C1Gri9T8.js} +1 -1
- package/web/assets/{app-CNo6L1tq.js → app-CoFPYBYF.js} +543 -527
- package/web/assets/app-aKrWzh-_.css +32 -0
- package/web/assets/{arc-BeMgz_zn.js → arc-DcBBW_Q9.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-CRxylST_.js → architectureDiagram-5GKGNRK7-CTnuu2og.js} +1 -1
- package/web/assets/{artifact-code-view-BwBuxnOh.js → artifact-code-view-CVhOSCb2.js} +1 -1
- package/web/assets/{artifact-office-preview-v_N9yGCg.js → artifact-office-preview-DHx-nPK0.js} +1 -1
- package/web/assets/{artifact-spreadsheet-editor-5lpd49cl.js → artifact-spreadsheet-editor-CyLsgBTK.js} +1 -1
- package/web/assets/{artifact-text-editor-Dj0SDUYJ.js → artifact-text-editor-4rrtf0C2.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-CYcFpnr1.js → blockDiagram-OSKFZWR5-DbHntwyh.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-KL6win2t.js → c4Diagram-7LVT6UL2-DPjlygzs.js} +1 -1
- package/web/assets/channel-UI6sNcoO.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-CjBMu5Dk.js → chunk-2Q5K7J3B-CwWe3fjf.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-CVfSxxeV.js → chunk-5VM5RSS4-D6ahhVKI.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-Da-CK7uS.js → chunk-F27PBJKO-CKHJE6FB.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-DaBpQjxM.js → chunk-HLEWEB6X-CpB4YFh9.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-eZhhKb-9.js → chunk-JWPE2WC7-CuGkPOY8.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-BuQza4Dl.js → chunk-POPQ4Y6H-BNCy4Rnz.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-MuA1wNzK.js → chunk-SVP7TREG-BRLZtRG2.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-CIpJOQtx.js → chunk-XXDRQBXY-BXUFFdz9.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-NhKoLW1Y.js → chunk-ZLD2IHE6-DgSq1MWh.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-Cwqk7Tox.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-Cwqk7Tox.js +1 -0
- package/web/assets/{cose-bilkent-JH36ORCC-B_lNY9db.js → cose-bilkent-JH36ORCC-BNS5x2WS.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-BmqyCndA.js → cynefin-OW5HDTMX-xcD6kiaN.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-By2KC7b4.js → cynefinDiagram-5FMLGOSQ-Uh07MG7J.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-By7csWyW.js → dagre-OS7QT2EB-BR2ZK2Ka.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-5_mhvlGk.js → diagram-S7CK7UJ4-CkeF04XL.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-BPHF9t90.js → diagram-UQ7AKVKN-tszgJvn1.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-CyVv5z8B.js → diagram-VSXAHHWV-vQ_L10cP.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-BdfxwGwk.js → diagram-VX7I27RA-DhttrIa4.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-BXg_HOys.js → diagram-Z3DM3KII-CSOtexfx.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-57--ZiB5.js → ebnfDiagram-PWID7BFC-DrXIeAI2.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-2WR_i4mr.js → erDiagram-2YWLMYGG-B6eY49sP.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-1qB430Tj.js → flowDiagram-T62WH6J4-BSWkKNsB.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-DlsKL-gN.js → ganttDiagram-EL5Y4UJY-DjLWzUnc.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-DQ8IU_wC.js → gitGraphDiagram-WWUBYQGX-DLix_KEt.js} +1 -1
- package/web/assets/{infoDiagram-FKFFQAWI-kh9s5sRC.js → infoDiagram-FKFFQAWI-Qk5Rwj1J.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-CaknQUcm.js → ishikawaDiagram-5VMMS53U-BYnLLj60.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-DenZYZs9.js → journeyDiagram-EYS64GPL-DWbjv9jB.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-ptoI6qD1.js → kanban-definition-UXKFOSKX-DBKDdN7W.js} +1 -1
- package/web/assets/{layout-B4UdHd1t.js → layout-C3nuFW6O.js} +1 -1
- package/web/assets/{linear-DbhtXtCn.js → linear-yuvoF7oC.js} +1 -1
- package/web/assets/{mermaid.core-BoXM2BMZ.js → mermaid.core-Cf_HDEwk.js} +6 -6
- package/web/assets/{mindmap-definition-THT77NOG-Bcw34klO.js → mindmap-definition-THT77NOG-CLlmGHfy.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-CZ49Cylj.js → pegDiagram-XKGWAZYB-DF2jK0hL.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-F5Tl-jOo.js → pieDiagram-E7YTZNPT-B7D6K8Dy.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-BindC9Ln.js → quadrantDiagram-AXDQQJYC-BJs4k_-l.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-BHfARQKt.js → railroadDiagram-O6MQD6OU-Bvh8M0tG.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-DeyyjrFZ.js → requirementDiagram-IS5BZ75X-LojIE3iY.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-Bf4RYjdY.js → sankeyDiagram-P5KCCOFB-DDgsHbe_.js} +1 -1
- package/web/assets/{sequenceDiagram-WJ2MYXX4-D0I5Iail.js → sequenceDiagram-WJ2MYXX4-B0n0qkKj.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-ZMHjeD6L.js → sizeCapture-INFHLROL-dvjrjvhR.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-XMu0akCC.js → stateDiagram-XQSTLZYL-6R2ncL9w.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-C3zcPvlu.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-BX1vgjAt.js → swimlanes-V6O3JKXN-NgTb-Uz5.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-CA7dhlYX.js +8 -0
- package/web/assets/{timeline-definition-24CTP7MA-B-V8Y7U9.js → timeline-definition-24CTP7MA-2H_ljVU0.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-iHvsobDU.js → vennDiagram-4TSXK5OY-BKJ-Jni_.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-BTl7bSNi.js → wardleyDiagram-VM6X3IG4-BY36Sv2N.js} +1 -1
- package/web/assets/{workspace-file-tree-EJaUSokl.js → workspace-file-tree-C2bTmTtl.js} +7 -7
- package/web/assets/{xlsx-workbook-DVIQLEdk.js → xlsx-workbook-B0y0zWAe.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-BKhJK0Av.js → xychartDiagram-S5SC5T6Z-DabU-r2I.js} +1 -1
- package/web/index.html +2 -2
- package/web/assets/app-BinIaXyk.css +0 -32
- package/web/assets/channel-C7q2VHY_.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-DKD7FwJZ.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-DKD7FwJZ.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-CNv5Ofd5.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-yIR7kUmA.js +0 -8
|
@@ -295,6 +295,31 @@ function automationContribution() {
|
|
|
295
295
|
guidance: [],
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
+
function agentContribution() {
|
|
299
|
+
const provider = { id: "openwork-agents", kind: "builtin" };
|
|
300
|
+
return {
|
|
301
|
+
featureId: "agents",
|
|
302
|
+
provider,
|
|
303
|
+
affordances: [
|
|
304
|
+
affordance({
|
|
305
|
+
id: "agent.propose",
|
|
306
|
+
kind: "command",
|
|
307
|
+
title: "Propose an agent",
|
|
308
|
+
description: "Offer an agent of the person's own, with its first routine, for them to start with one confirmation. This only renders a \"Start like this?\" card in the chat; it cannot create or run anything. Use it only where the chat's instructions say to set up an agent. Propose before checking tools or connections.",
|
|
309
|
+
provider,
|
|
310
|
+
arguments: [
|
|
311
|
+
argument("name", "string", true, "Short name for the agent taken from its job, two or three words with only the first capitalized, e.g. \"Bug watcher\"."),
|
|
312
|
+
argument("brief", "string", true, "The agent's standing brief as Markdown, written from what the person said: what it watches or does, how it decides, what it never does."),
|
|
313
|
+
argument("never", "array", false, 'Things the person said the agent must never do, each { app, action? } in their words, e.g. { app: "Slack", action: "post message" }. OpenWork turns them into blocked tools.'),
|
|
314
|
+
argument("connectorNames", "array", false, 'Names of connections the person explicitly asked to use or that the job clearly needs, e.g. ["Slack"]. Do not look up tools or connections before proposing. Leave out services they said not to use; pass [] when no connection is needed.'),
|
|
315
|
+
argument("routine", "object", true, "Its first routine: { name (short, e.g. \"Check #bugs\"), instructions (what one run does), schedule }. The schedule is one of, with every number a JSON number and timezone an IANA zone: { kind: \"daily\", timezone, hour: 0-23, minute: 0-59 }; { kind: \"weekly\", timezone, daysOfWeek: [1,2,3,4,5] (numbers, 0 = Sunday), hour, minute }; { kind: \"interval\", timezone, everyHours: 1-24, daysOfWeek: [1,2,3,4,5], startHour: 0-23, endHour: 1-24 } for every few hours on the hour. Pick a sensible default yourself when the person named none."),
|
|
316
|
+
],
|
|
317
|
+
effects: noEffects,
|
|
318
|
+
}),
|
|
319
|
+
],
|
|
320
|
+
guidance: [],
|
|
321
|
+
};
|
|
322
|
+
}
|
|
298
323
|
function extensionContribution() {
|
|
299
324
|
const provider = { id: "openwork-extensions", kind: "extension" };
|
|
300
325
|
return {
|
|
@@ -385,13 +410,14 @@ function mcpContribution(mcp) {
|
|
|
385
410
|
guidance: [],
|
|
386
411
|
};
|
|
387
412
|
}
|
|
388
|
-
export function buildOpenworkProviderContributions(skills, mcps = []) {
|
|
413
|
+
export function buildOpenworkProviderContributions(skills, mcps = [], personalAgentsEnabled = false) {
|
|
389
414
|
const cloudMcp = mcps.find((mcp) => mcp.name === "openwork-cloud");
|
|
390
415
|
const connect = connectContribution(skills, cloudMcp);
|
|
391
416
|
return [
|
|
392
417
|
sessionContribution(),
|
|
393
418
|
sessionGroupContribution(),
|
|
394
419
|
automationContribution(),
|
|
420
|
+
...(personalAgentsEnabled ? [agentContribution()] : []),
|
|
395
421
|
extensionContribution(),
|
|
396
422
|
...mcps
|
|
397
423
|
.filter((mcp) => mcp.name !== "openwork-cloud")
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
12
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
20
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
+
for (let key of __getOwnPropNames(mod))
|
|
23
|
+
if (!__hasOwnProp.call(to, key))
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
32
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
33
|
+
var __returnValue = (v) => v;
|
|
34
|
+
function __exportSetter(name, newValue) {
|
|
35
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
36
|
+
}
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, {
|
|
40
|
+
get: all[name],
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
set: __exportSetter.bind(all, name)
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
47
|
+
|
|
48
|
+
// src/opencode-plugins/openwork-provider-keys-v2.ts
|
|
49
|
+
var CREDENTIAL_FREE_INTEGRATION_ID = "openwork-provider-key";
|
|
50
|
+
var openwork_provider_keys_v2_default = {
|
|
51
|
+
id: "openwork.provider-keys",
|
|
52
|
+
async setup(context) {
|
|
53
|
+
const registration = await context.provider.transform((editor) => {
|
|
54
|
+
for (const id of context.options.providers ?? []) {
|
|
55
|
+
editor.update(id, (provider) => {
|
|
56
|
+
provider.integrationID = CREDENTIAL_FREE_INTEGRATION_ID;
|
|
57
|
+
provider.activation = "enabled";
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
return () => registration.dispose();
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
openwork_provider_keys_v2_default as default,
|
|
66
|
+
CREDENTIAL_FREE_INTEGRATION_ID
|
|
67
|
+
};
|