executor 1.1.0 → 1.1.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 +297 -15
- package/bin/deno-subprocess-worker.mjs +205 -0
- package/bin/executor.mjs +20505 -3856
- package/package.json +4 -2
- package/resources/migrations/20260309103000_policy_scope_and_interaction_purpose/migration.sql +17 -0
- package/resources/web/assets/{highlighted-body-TPN3WLV5-DBK2Kin6.js → highlighted-body-TPN3WLV5-Bp60oMTV.js} +1 -1
- package/resources/web/assets/{index-CRiSLfbF.js → index-DD-vWr1W.js} +2 -2
- package/resources/web/assets/{mermaid-O7DHMXV3-D4O3Se1l.js → mermaid-O7DHMXV3-BA_ilq_v.js} +135 -131
- package/resources/web/assets/mermaid-O7DHMXV3-XXpCNYgu.css +1 -0
- package/resources/web/index.html +1 -1
- package/resources/web/assets/mermaid-O7DHMXV3-DZzHnE1c.css +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "executor",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Local AI executor with a CLI, local API server, and web UI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"executor",
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"private": false,
|
|
24
|
-
"bin":
|
|
24
|
+
"bin": {
|
|
25
|
+
"executor": "./bin/executor.js"
|
|
26
|
+
},
|
|
25
27
|
"files": [
|
|
26
28
|
"bin",
|
|
27
29
|
"resources",
|
package/resources/migrations/20260309103000_policy_scope_and_interaction_purpose/migration.sql
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
ALTER TABLE "policies" ADD COLUMN "scope_type" text;--> statement-breakpoint
|
|
2
|
+
ALTER TABLE "policies" ADD COLUMN "organization_id" text;--> statement-breakpoint
|
|
3
|
+
UPDATE "policies" AS "pol"
|
|
4
|
+
SET
|
|
5
|
+
"scope_type" = 'workspace',
|
|
6
|
+
"organization_id" = "ws"."organization_id"
|
|
7
|
+
FROM "workspaces" AS "ws"
|
|
8
|
+
WHERE "pol"."workspace_id" = "ws"."id";--> statement-breakpoint
|
|
9
|
+
ALTER TABLE "policies" ALTER COLUMN "scope_type" SET NOT NULL;--> statement-breakpoint
|
|
10
|
+
ALTER TABLE "policies" ALTER COLUMN "organization_id" SET NOT NULL;--> statement-breakpoint
|
|
11
|
+
ALTER TABLE "policies" ALTER COLUMN "workspace_id" DROP NOT NULL;--> statement-breakpoint
|
|
12
|
+
ALTER TABLE "policies" ADD CONSTRAINT "policies_scope_type_check" CHECK ("scope_type" in ('organization', 'workspace'));--> statement-breakpoint
|
|
13
|
+
ALTER TABLE "policies" ADD CONSTRAINT "policies_scope_consistency_check" CHECK (("scope_type" = 'organization' and "workspace_id" is null) or ("scope_type" = 'workspace' and "workspace_id" is not null));--> statement-breakpoint
|
|
14
|
+
DROP INDEX IF EXISTS "policies_workspace_priority_idx";--> statement-breakpoint
|
|
15
|
+
CREATE INDEX "policies_organization_priority_idx" ON "policies" ("organization_id","priority" DESC,"updated_at","id");--> statement-breakpoint
|
|
16
|
+
CREATE INDEX "policies_workspace_priority_idx" ON "policies" ("workspace_id","priority" DESC,"updated_at","id");--> statement-breakpoint
|
|
17
|
+
ALTER TABLE "execution_interactions" ADD COLUMN "purpose" text NOT NULL DEFAULT 'elicitation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-
|
|
1
|
+
import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-BA_ilq_v.js";import{j as d}from"./index-CRuElBS1.js";var R=({code:i,language:e,raw:t,className:g,startLine:u,...m})=>{let{shikiTheme:o}=r.useContext(c),a=p(),[n,s]=r.useState(t);return r.useEffect(()=>{if(!a){s(t);return}let l=a.highlight({code:i,language:e,themes:o},h=>{s(h)});l&&s(l)},[i,e,o,a,t]),d.jsx(x,{className:g,language:e,result:n,startLine:u,...m})};export{R as HighlightedCodeBlockBody};
|