executor 1.1.9 → 1.1.10-beta.5

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.
Files changed (35) hide show
  1. package/README.md +17 -7
  2. package/bin/emscripten-module.wasm +0 -0
  3. package/bin/executor.mjs +367034 -157926
  4. package/bin/impl/edit.js +201 -0
  5. package/bin/impl/format.js +275 -0
  6. package/bin/impl/parser.js +682 -0
  7. package/bin/impl/scanner.js +456 -0
  8. package/bin/impl/string-intern.js +42 -0
  9. package/bin/openapi-extractor-wasm/openapi_extractor_bg.wasm +0 -0
  10. package/package.json +1 -4
  11. package/resources/web/assets/__vite-browser-external-BIHI7g3E.js +1 -0
  12. package/resources/web/assets/{highlighted-body-TPN3WLV5-D2YQWXND.js → highlighted-body-TPN3WLV5-CNtoUE2O.js} +1 -1
  13. package/resources/web/assets/{index-BnjZoxRo.js → index-Dyhx5qgf.js} +2 -2
  14. package/resources/web/assets/mermaid-O7DHMXV3-CfqEcqYS.js +658 -0
  15. package/resources/web/assets/mermaid-O7DHMXV3-D1toCiZx.css +1 -0
  16. package/resources/web/assets/openapi_extractor_bg-IMRXzuHp.wasm +0 -0
  17. package/resources/web/index.html +1 -1
  18. package/bin/pglite.data +0 -0
  19. package/bin/pglite.wasm +0 -0
  20. package/bin/postinstall.js +0 -38
  21. package/resources/migrations/20260306091536_abnormal_martin_li/migration.sql +0 -158
  22. package/resources/migrations/20260306091536_abnormal_martin_li/snapshot.json +0 -1937
  23. package/resources/migrations/20260306094249_large_giant_girl/migration.sql +0 -39
  24. package/resources/migrations/20260306094249_large_giant_girl/snapshot.json +0 -2425
  25. package/resources/migrations/20260307090915_blue_bullseye/migration.sql +0 -70
  26. package/resources/migrations/20260307090915_blue_bullseye/snapshot.json +0 -3122
  27. package/resources/migrations/20260307134000_openapi_tool_identity/migration.sql +0 -37
  28. package/resources/migrations/20260307152000_source_document_text/migration.sql +0 -1
  29. package/resources/migrations/20260308041000_credentials_model/migration.sql +0 -41
  30. package/resources/migrations/20260308120000_search_and_indexes/migration.sql +0 -16
  31. package/resources/migrations/20260308140000_secret_materials_name/migration.sql +0 -1
  32. package/resources/migrations/20260309103000_policy_scope_and_interaction_purpose/migration.sql +0 -17
  33. package/resources/web/assets/mermaid-O7DHMXV3-37jaM6li.js +0 -393
  34. package/resources/web/assets/mermaid-O7DHMXV3-DgCU8P81.css +0 -1
  35. package/resources/web/assets/openapi_extractor_bg-DZrbVm4x.wasm +0 -0
@@ -1,70 +0,0 @@
1
- CREATE TABLE "tool_artifact_parameters" (
2
- "workspace_id" text,
3
- "path" text,
4
- "position" bigint,
5
- "name" text NOT NULL,
6
- "location" text NOT NULL,
7
- "required" boolean NOT NULL,
8
- CONSTRAINT "tool_artifact_parameters_pkey" PRIMARY KEY("workspace_id","path","position"),
9
- CONSTRAINT "tool_artifact_parameters_location_check" CHECK ("location" in ('path', 'query', 'header', 'cookie'))
10
- );
11
- --> statement-breakpoint
12
- CREATE TABLE "tool_artifact_ref_hint_keys" (
13
- "workspace_id" text,
14
- "path" text,
15
- "position" bigint,
16
- "ref_hint_key" text NOT NULL,
17
- CONSTRAINT "tool_artifact_ref_hint_keys_pkey" PRIMARY KEY("workspace_id","path","position")
18
- );
19
- --> statement-breakpoint
20
- CREATE TABLE "tool_artifact_request_body_content_types" (
21
- "workspace_id" text,
22
- "path" text,
23
- "position" bigint,
24
- "content_type" text NOT NULL,
25
- CONSTRAINT "tool_artifact_request_body_content_types_pkey" PRIMARY KEY("workspace_id","path","position")
26
- );
27
- --> statement-breakpoint
28
- CREATE TABLE "tool_artifacts" (
29
- "workspace_id" text,
30
- "path" text,
31
- "tool_id" text NOT NULL,
32
- "source_id" text NOT NULL,
33
- "title" text,
34
- "description" text,
35
- "search_namespace" text NOT NULL,
36
- "search_text" text NOT NULL,
37
- "input_schema_json" text,
38
- "output_schema_json" text,
39
- "provider_kind" text NOT NULL,
40
- "mcp_tool_name" text,
41
- "openapi_method" text,
42
- "openapi_path_template" text,
43
- "openapi_operation_hash" text,
44
- "openapi_request_body_required" boolean,
45
- "created_at" bigint NOT NULL,
46
- "updated_at" bigint NOT NULL,
47
- CONSTRAINT "tool_artifacts_pkey" PRIMARY KEY("workspace_id","path"),
48
- CONSTRAINT "tool_artifacts_provider_kind_check" CHECK ("provider_kind" in ('mcp', 'openapi')),
49
- CONSTRAINT "tool_artifacts_mcp_shape_check" CHECK ("provider_kind" <> 'mcp'
50
- or (
51
- "mcp_tool_name" is not null
52
- and "openapi_method" is null
53
- and "openapi_path_template" is null
54
- and "openapi_operation_hash" is null
55
- and "openapi_request_body_required" is null
56
- )),
57
- CONSTRAINT "tool_artifacts_openapi_shape_check" CHECK ("provider_kind" <> 'openapi'
58
- or (
59
- "mcp_tool_name" is null
60
- and "openapi_method" in ('get', 'put', 'post', 'delete', 'patch', 'head', 'options', 'trace')
61
- and "openapi_path_template" is not null
62
- and "openapi_operation_hash" is not null
63
- ))
64
- );
65
- --> statement-breakpoint
66
- CREATE INDEX "tool_artifact_parameters_lookup_idx" ON "tool_artifact_parameters" ("workspace_id","path","position");--> statement-breakpoint
67
- CREATE INDEX "tool_artifact_ref_hint_keys_lookup_idx" ON "tool_artifact_ref_hint_keys" ("workspace_id","path","position");--> statement-breakpoint
68
- CREATE INDEX "tool_artifact_request_body_content_types_lookup_idx" ON "tool_artifact_request_body_content_types" ("workspace_id","path","position");--> statement-breakpoint
69
- CREATE INDEX "tool_artifacts_workspace_source_idx" ON "tool_artifacts" ("workspace_id","source_id","updated_at","path");--> statement-breakpoint
70
- CREATE INDEX "tool_artifacts_workspace_namespace_idx" ON "tool_artifacts" ("workspace_id","search_namespace","path");