wave3d-agent-sdk 0.2.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.
@@ -0,0 +1,8 @@
1
+ # WaveEngine SDK
2
+
3
+ Bundled public-safe WaveEngine SDK lookup cache for wave3d-agent-sdk.
4
+ Generated from sanitized public API/skill corpus during package build.
5
+
6
+ cacheKey: 2026-06-17.1.kOFA72bP4l9iaGUE47CDlVZgrEJjicSL
7
+ bundleHash: kOFA72bP4l9iaGUE47CDlVZgrEJjicSL
8
+ zip: wave-engine-sdk-2026-06-17.1.kOFA72bP4l9iaGUE47CDlVZgrEJjicSL.zip
@@ -0,0 +1,156 @@
1
+ {
2
+ "version": "2026-06-17.1.kOFA72bP4l9iaGUE47CDlVZgrEJjicSL",
3
+ "formatVersion": "2026-06-17.1",
4
+ "cacheKey": "2026-06-17.1.kOFA72bP4l9iaGUE47CDlVZgrEJjicSL",
5
+ "bundleFileName": "wave-engine-sdk-2026-06-17.1.kOFA72bP4l9iaGUE47CDlVZgrEJjicSL.zip",
6
+ "bundleHash": "kOFA72bP4l9iaGUE47CDlVZgrEJjicSL",
7
+ "generatedAt": "2026-06-06T00:00:00.000Z",
8
+ "sourceVersions": {
9
+ "onboarding": {
10
+ "promptVersion": "2026-06-15.2",
11
+ "promptHash": "iIWFKdZER_2NWh_UfqQn36mKsaQWNpOb"
12
+ },
13
+ "apiHandbook": {
14
+ "version": "1",
15
+ "contentHash": "ff608d6d66055f42"
16
+ },
17
+ "waveSkillCorpusHash": "zYNMifq0Tf_Ck95E1rgKD7pb7o0EJDIO",
18
+ "sdkLookupCorpusHash": "e5QApdlmxvX1DDO_Vl8pCuFBw5KZnpya"
19
+ },
20
+ "cacheContract": {
21
+ "llmContextCacheOnly": [
22
+ "role",
23
+ "compactGuardrails",
24
+ "studioSkillMap",
25
+ "authoringWorkflow",
26
+ "assetVfsHotReloadRules",
27
+ "promptVersion",
28
+ "promptHash"
29
+ ],
30
+ "localFilesystemCache": [
31
+ "waveSkillCorpus",
32
+ "waveApiHandbook",
33
+ "apiMethodGroups",
34
+ "searchDocuments"
35
+ ],
36
+ "rule": "Priority 1 always-on sections must stay in LLM chat/system context. The WaveEngine SDK local cache is public-safe retrieval data, never the only memory for core policy.",
37
+ "defaultRefreshCommand": "npx -y wave3d-agent-sdk@0.2.0 cache refresh",
38
+ "refreshRule": "When using WaveEngine SDK local cache, compare cacheKey, bundleHash, and sourceVersions before trusting local lookup. If any value differs, update the SDK package or reinstall its bundled SDK cache and rebuild local indexes. Do not fetch a remote SDK zip.",
39
+ "onlineFallback": "HTTP Gateway does not provide cloud API lookup. If local Node/npm or cache is refused/unavailable, use only concrete Studio operations and already-known code; repair the local WaveEngine SDK before unfamiliar API authoring."
40
+ },
41
+ "download": {
42
+ "sameOriginPath": "/api/waveStudio/bridge/mcp/corpus",
43
+ "cacheBustingQuery": "",
44
+ "etag": "\"wave-engine-sdk-kOFA72bP4l9iaGUE47CDlVZgrEJjicSL\""
45
+ },
46
+ "corpus": {
47
+ "skillCount": 65,
48
+ "apiEntryCount": 5000,
49
+ "apiMethodGroupCount": 1143
50
+ },
51
+ "files": [
52
+ {
53
+ "path": "cache-policy.json",
54
+ "mediaType": "application/json",
55
+ "role": "lookup-guide",
56
+ "bytes": 1288,
57
+ "hash": "4JuQoToB8RNni5-NxkwxrUoiZbp7X-kW"
58
+ },
59
+ {
60
+ "path": "skills/wave-skills.jsonl",
61
+ "mediaType": "application/jsonl",
62
+ "role": "skill-corpus",
63
+ "bytes": 472843,
64
+ "hash": "BHx1prKm-ggF4ggk9ZUfKusRGPCmobPd"
65
+ },
66
+ {
67
+ "path": "skills/foundations.jsonl",
68
+ "mediaType": "application/jsonl",
69
+ "role": "skill-corpus",
70
+ "bytes": 1201,
71
+ "hash": "UnjIH7zq7QhqtHISqEASXzTsbclM_9xw"
72
+ },
73
+ {
74
+ "path": "skills/families.json",
75
+ "mediaType": "application/json",
76
+ "role": "skill-corpus",
77
+ "bytes": 44401,
78
+ "hash": "MlM0qqK1BMGUsOv5Zgf3YbjGiIfU4IjM"
79
+ },
80
+ {
81
+ "path": "api/entries.jsonl",
82
+ "mediaType": "application/jsonl",
83
+ "role": "api-corpus",
84
+ "bytes": 4526446,
85
+ "hash": "qOT8R4_becmncqN1sAZzCwo18n2OHgbe"
86
+ },
87
+ {
88
+ "path": "api/method-groups.jsonl",
89
+ "mediaType": "application/jsonl",
90
+ "role": "api-corpus",
91
+ "bytes": 291474,
92
+ "hash": "l9LZ0aztqPb3yy_6VQU21pgrzTr7G21Z"
93
+ },
94
+ {
95
+ "path": "api/index-metadata.json",
96
+ "mediaType": "application/json",
97
+ "role": "api-corpus",
98
+ "bytes": 192,
99
+ "hash": "3RotzIDkoahE_90Fi1JQjv8lZKr6rhwH"
100
+ },
101
+ {
102
+ "path": "search/search-documents.jsonl",
103
+ "mediaType": "application/jsonl",
104
+ "role": "search-index",
105
+ "bytes": 4039188,
106
+ "hash": "zIGmnONrO849VVRDhUW4wa4W-UgkRLzz"
107
+ },
108
+ {
109
+ "path": "README.md",
110
+ "mediaType": "text/markdown",
111
+ "role": "lookup-guide",
112
+ "bytes": 1390,
113
+ "hash": "T0KEqSE9rfzKNDpVTcP5J3pbhzXISyDp"
114
+ }
115
+ ],
116
+ "recommendedLocalIndexes": [
117
+ {
118
+ "name": "SQLite FTS5",
119
+ "whenAvailable": "Best default for local filesystem agents that can create a small database.",
120
+ "strategy": [
121
+ "Load search/search-documents.jsonl into a documents table with familyId/source filters.",
122
+ "Create FTS over title and text.",
123
+ "Always filter skill search by chosen family ids before ranking.",
124
+ "Keep api/entries.jsonl in a symbol table keyed by id/name/shortName/member names."
125
+ ]
126
+ },
127
+ {
128
+ "name": "IndexedDB plus MiniSearch/FlexSearch",
129
+ "whenAvailable": "Best default for browser-hosted agents.",
130
+ "strategy": [
131
+ "Store manifest and raw JSONL records in IndexedDB object stores.",
132
+ "Build a lexical index from search/search-documents.jsonl.",
133
+ "Filter skill search by selected family ids before ranking.",
134
+ "Use exact symbol lookup before full-text search."
135
+ ]
136
+ },
137
+ {
138
+ "name": "Filesystem plus rg",
139
+ "whenAvailable": "Fallback for terminal agents without database setup.",
140
+ "strategy": [
141
+ "Unzip into a versioned cache directory.",
142
+ "Use skills/families.json first to choose family ids.",
143
+ "Use rg for exact symbol, skill id, and lexical search inside family-filtered files.",
144
+ "If results are stale, update/restart wave3d-agent-sdk or reinstall its bundled SDK cache."
145
+ ]
146
+ }
147
+ ],
148
+ "queryOrder": [
149
+ "after onboarding, use the package-bundled SDK manifest/cacheKey from wave3d-agent-sdk",
150
+ "choose wave.* family ids from skills/families.json",
151
+ "query skills only inside selected family ids",
152
+ "exact skillId/symbol/member lookup",
153
+ "optional semantic embedding search inside selected families",
154
+ "repair by updating/restarting wave3d-agent-sdk if SDK cache is absent or stale"
155
+ ]
156
+ }
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "wave3d-agent-sdk",
3
+ "version": "0.2.0",
4
+ "description": "WaveEngine Agent SDK for same-machine Wave Studio MCP plus bundled WaveEngine lookup.",
5
+ "type": "module",
6
+ "license": "UNLICENSED",
7
+ "bin": {
8
+ "wave3d-agent-sdk": "dist/cli.js"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "README.md",
13
+ "package.json"
14
+ ],
15
+ "engines": {
16
+ "node": ">=20"
17
+ },
18
+ "dependencies": {
19
+ "jszip": "^3.10.1",
20
+ "minisearch": "^7.2.0"
21
+ },
22
+ "scripts": {
23
+ "build": "node ../../node_modules/esbuild/bin/esbuild src/cli.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/cli.js --banner:js=\"#!/usr/bin/env node\" --external:jszip --external:minisearch && node ../../scripts/build-agent-sdk.mjs && node -e \"require('node:fs').chmodSync('dist/cli.js', 0o755)\"",
24
+ "typecheck": "npx tsc -p tsconfig.json --noEmit --pretty false",
25
+ "prepack": "npm run build",
26
+ "pack:dry": "npm pack --dry-run"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
30
+ }
31
+ }