@fusebase/fusebase-gate-sdk 2.2.2-sdk.3 → 2.2.2-sdk.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.
@@ -35,7 +35,7 @@ export declare class NotesApi {
35
35
  }): Promise<CreateWorkspaceNoteFolderResponseContract>;
36
36
  /**
37
37
  * Read workspace note
38
- * Returns the note title, parent metadata, and rendered html content for the requested workspace note.
38
+ * Returns the note title, parent metadata, and md content for the requested workspace note.
39
39
  */
40
40
  getWorkspaceNote(params: {
41
41
  path: {
@@ -43,7 +43,7 @@ class NotesApi {
43
43
  }
44
44
  /**
45
45
  * Read workspace note
46
- * Returns the note title, parent metadata, and rendered html content for the requested workspace note.
46
+ * Returns the note title, parent metadata, and md content for the requested workspace note.
47
47
  */
48
48
  async getWorkspaceNote(params) {
49
49
  return this.client.request({
@@ -6,7 +6,7 @@ export interface WorkspaceNoteSummaryContract {
6
6
  parentId?: string | null;
7
7
  }
8
8
  export interface WorkspaceNoteContentContract extends WorkspaceNoteSummaryContract {
9
- html: string;
9
+ md: string;
10
10
  }
11
11
  export interface WorkspaceNoteFolderListResponseContract {
12
12
  folders: WorkspaceNoteSummaryContract[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.2-sdk.3",
3
+ "version": "2.2.2-sdk.5",
4
4
  "description": "TypeScript SDK for Fusebase Gate APIs - Generated from contract introspection",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -0,0 +1,9 @@
1
+ # Release Notes 2.2.2-sdk.5
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.2-sdk.5`
5
+ - Generated at: 2026-03-31T10:58:22.911Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,85 +1,9 @@
1
- # Release Notes 2.2.2-sdk.3
1
+ # Release Notes 2.2.2-sdk.5
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.2`
5
- - Generated at: 2026-03-30T12:29:12.945Z
4
+ - Previous tag: `v2.2.2-sdk.5`
5
+ - Generated at: 2026-03-31T10:58:22.911Z
6
6
 
7
7
  ## Included Drafts
8
8
 
9
- - `docs/release-notes/2026-03-30-notes-list-ops.md` - 2026-03-30-notes-list-ops
10
- - `docs/release-notes/2026-03-30-notes-mcp-opaque-ids.md` - 2026-03-30-notes-mcp-opaque-ids
11
-
12
- ## Summary
13
-
14
- ### 2026-03-30-notes-list-ops
15
-
16
- Add Gate notes read and write endpoints for listing, reading, and creating workspace notes and folders.
17
-
18
- ### 2026-03-30-notes-mcp-opaque-ids
19
-
20
- Notes notes-tool validation and HTTP routing now match the note-service behavior more closely: MCP no longer treats note-service IDs as UUIDs, and the HTTP/SDK notes folder listing route no longer gets shadowed by the generic note-read route.
21
-
22
-
23
- ## API / SDK Changes
24
-
25
- ### 2026-03-30-notes-list-ops
26
-
27
- - Added `listWorkspaceNoteFolders` for `GET /:orgId/workspaces/:workspaceId/notes/folders`.
28
- - Added `listWorkspaceNotes` for `GET /:orgId/workspaces/:workspaceId/notes`.
29
- - Added `getWorkspaceNote` for `GET /:orgId/workspaces/:workspaceId/notes/:noteId`.
30
- - Added `createWorkspaceNoteFolder` for `POST /:orgId/workspaces/:workspaceId/notes/folders`.
31
- - Added `createWorkspaceNote` for `POST /:orgId/workspaces/:workspaceId/notes`.
32
- - Added the `notes.read` and `notes.write` service permissions for the new note operations.
33
-
34
- ### 2026-03-30-notes-mcp-opaque-ids
35
-
36
- - MCP notes tools no longer require UUID-formatted values for note-service IDs.
37
- - `GET /:orgId/workspaces/:workspaceId/notes/folders` now resolves to the folder-list operation instead of being captured by `/:noteId`.
38
- - Service runtime schema registration now overlays explicit opaque-string schemas for notes path/query params.
39
-
40
-
41
- ## Consumer Impact
42
-
43
- ### 2026-03-30-notes-list-ops
44
-
45
- - Consumers can now discover workspace note folders, fetch notes under a specific folder, read rendered html for a single note, and create folders or notes through Gate.
46
- - `listWorkspaceNotes` defaults to the workspace root when `parentId` is omitted.
47
- - `createWorkspaceNoteFolder` defaults `parentId` to `root`.
48
- - `createWorkspaceNote` defaults `parentId` to `default` and can append initial text or html content after creation.
49
-
50
- ### 2026-03-30-notes-mcp-opaque-ids
51
-
52
- - MCP consumers can pass real note-service IDs like `workspace-default-1` or `folder-projects-1` without hitting `INVALID_ARGS` UUID validation failures.
53
- - SDK and raw HTTP consumers can call the notes folder-list endpoint without it being misrouted into note-content fetching.
54
- - Notes E2E suites now reset fake note fixtures between tests so SDK/MCP coverage stays order-independent.
55
-
56
-
57
- ## Verification
58
-
59
- ### 2026-03-30-notes-list-ops
60
-
61
- - `npm run build`
62
- - `node --loader tsx scripts/build-sdk.mts`
63
- - `node --loader tsx scripts/generate-mcp-skills.mts`
64
- - `node --loader tsx scripts/validate-mcp-skills.mts`
65
-
66
- ### 2026-03-30-notes-mcp-opaque-ids
67
-
68
- - `npm run lint -- src/api/contracts/ops/notes/notes.ts src/api/contracts/schemas/runtime-schema-defs.ts src/api/contracts/schemas/runtime-schema-overrides.ts tests/unit/notes-contracts.test.ts tests/unit/notes-controller.test.ts`
69
- - `npm run test:unit -- --runTestsByPath tests/unit/notes-contracts.test.ts tests/unit/notes-controller.test.ts`
70
- - `npm run lint -- src/controllers/notes/notes.ts tests/helpers/fake-notes-store.ts tests/helpers/fake-note-service.ts tests/helpers/reset-fake-notes.ts tests/e2e-sdk/notes/0.list-workspace-notes.test.ts tests/e2e-sdk/notes/1.get-workspace-note.test.ts tests/e2e-sdk/notes/2.create-workspace-note.test.ts tests/mcp-e2e/notes/0.list-workspace-notes.test.ts tests/mcp-e2e/notes/1.get-workspace-note.test.ts tests/mcp-e2e/notes/2.create-workspace-note.test.ts tests/unit/notes-controller.test.ts tests/unit/notes-contracts.test.ts tests/unit/notes-routes.test.ts`
71
- - `npm run test:unit -- --runTestsByPath tests/unit/notes-controller.test.ts tests/unit/notes-contracts.test.ts tests/unit/notes-routes.test.ts`
72
- - `npm run mcp:skills:generate`
73
- - `npm run mcp:skills:validate`
74
- - Blocked locally: `env USE_BUILD_ARTIFACT=true npm run test:mcp-e2e:full` failed because `db:migrate:test` could not connect to MySQL at `localhost:3306`
75
-
76
-
77
- ## Follow-ups
78
-
79
- ### 2026-03-30-notes-list-ops
80
-
81
- - Confirm whether client and visitor roles should receive `notes.read` or `notes.write` in read-only org contexts.
82
-
83
- ### 2026-03-30-notes-mcp-opaque-ids
84
-
85
- - Re-run the MCP E2E suite in CI or an environment with the test MySQL instance available to confirm the notes MCP failures are resolved end to end.
9
+ - None
@@ -1,85 +0,0 @@
1
- # Release Notes 2.2.2-sdk.3
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.2`
5
- - Generated at: 2026-03-30T12:29:12.945Z
6
-
7
- ## Included Drafts
8
-
9
- - `docs/release-notes/2026-03-30-notes-list-ops.md` - 2026-03-30-notes-list-ops
10
- - `docs/release-notes/2026-03-30-notes-mcp-opaque-ids.md` - 2026-03-30-notes-mcp-opaque-ids
11
-
12
- ## Summary
13
-
14
- ### 2026-03-30-notes-list-ops
15
-
16
- Add Gate notes read and write endpoints for listing, reading, and creating workspace notes and folders.
17
-
18
- ### 2026-03-30-notes-mcp-opaque-ids
19
-
20
- Notes notes-tool validation and HTTP routing now match the note-service behavior more closely: MCP no longer treats note-service IDs as UUIDs, and the HTTP/SDK notes folder listing route no longer gets shadowed by the generic note-read route.
21
-
22
-
23
- ## API / SDK Changes
24
-
25
- ### 2026-03-30-notes-list-ops
26
-
27
- - Added `listWorkspaceNoteFolders` for `GET /:orgId/workspaces/:workspaceId/notes/folders`.
28
- - Added `listWorkspaceNotes` for `GET /:orgId/workspaces/:workspaceId/notes`.
29
- - Added `getWorkspaceNote` for `GET /:orgId/workspaces/:workspaceId/notes/:noteId`.
30
- - Added `createWorkspaceNoteFolder` for `POST /:orgId/workspaces/:workspaceId/notes/folders`.
31
- - Added `createWorkspaceNote` for `POST /:orgId/workspaces/:workspaceId/notes`.
32
- - Added the `notes.read` and `notes.write` service permissions for the new note operations.
33
-
34
- ### 2026-03-30-notes-mcp-opaque-ids
35
-
36
- - MCP notes tools no longer require UUID-formatted values for note-service IDs.
37
- - `GET /:orgId/workspaces/:workspaceId/notes/folders` now resolves to the folder-list operation instead of being captured by `/:noteId`.
38
- - Service runtime schema registration now overlays explicit opaque-string schemas for notes path/query params.
39
-
40
-
41
- ## Consumer Impact
42
-
43
- ### 2026-03-30-notes-list-ops
44
-
45
- - Consumers can now discover workspace note folders, fetch notes under a specific folder, read rendered html for a single note, and create folders or notes through Gate.
46
- - `listWorkspaceNotes` defaults to the workspace root when `parentId` is omitted.
47
- - `createWorkspaceNoteFolder` defaults `parentId` to `root`.
48
- - `createWorkspaceNote` defaults `parentId` to `default` and can append initial text or html content after creation.
49
-
50
- ### 2026-03-30-notes-mcp-opaque-ids
51
-
52
- - MCP consumers can pass real note-service IDs like `workspace-default-1` or `folder-projects-1` without hitting `INVALID_ARGS` UUID validation failures.
53
- - SDK and raw HTTP consumers can call the notes folder-list endpoint without it being misrouted into note-content fetching.
54
- - Notes E2E suites now reset fake note fixtures between tests so SDK/MCP coverage stays order-independent.
55
-
56
-
57
- ## Verification
58
-
59
- ### 2026-03-30-notes-list-ops
60
-
61
- - `npm run build`
62
- - `node --loader tsx scripts/build-sdk.mts`
63
- - `node --loader tsx scripts/generate-mcp-skills.mts`
64
- - `node --loader tsx scripts/validate-mcp-skills.mts`
65
-
66
- ### 2026-03-30-notes-mcp-opaque-ids
67
-
68
- - `npm run lint -- src/api/contracts/ops/notes/notes.ts src/api/contracts/schemas/runtime-schema-defs.ts src/api/contracts/schemas/runtime-schema-overrides.ts tests/unit/notes-contracts.test.ts tests/unit/notes-controller.test.ts`
69
- - `npm run test:unit -- --runTestsByPath tests/unit/notes-contracts.test.ts tests/unit/notes-controller.test.ts`
70
- - `npm run lint -- src/controllers/notes/notes.ts tests/helpers/fake-notes-store.ts tests/helpers/fake-note-service.ts tests/helpers/reset-fake-notes.ts tests/e2e-sdk/notes/0.list-workspace-notes.test.ts tests/e2e-sdk/notes/1.get-workspace-note.test.ts tests/e2e-sdk/notes/2.create-workspace-note.test.ts tests/mcp-e2e/notes/0.list-workspace-notes.test.ts tests/mcp-e2e/notes/1.get-workspace-note.test.ts tests/mcp-e2e/notes/2.create-workspace-note.test.ts tests/unit/notes-controller.test.ts tests/unit/notes-contracts.test.ts tests/unit/notes-routes.test.ts`
71
- - `npm run test:unit -- --runTestsByPath tests/unit/notes-controller.test.ts tests/unit/notes-contracts.test.ts tests/unit/notes-routes.test.ts`
72
- - `npm run mcp:skills:generate`
73
- - `npm run mcp:skills:validate`
74
- - Blocked locally: `env USE_BUILD_ARTIFACT=true npm run test:mcp-e2e:full` failed because `db:migrate:test` could not connect to MySQL at `localhost:3306`
75
-
76
-
77
- ## Follow-ups
78
-
79
- ### 2026-03-30-notes-list-ops
80
-
81
- - Confirm whether client and visitor roles should receive `notes.read` or `notes.write` in read-only org contexts.
82
-
83
- ### 2026-03-30-notes-mcp-opaque-ids
84
-
85
- - Re-run the MCP E2E suite in CI or an environment with the test MySQL instance available to confirm the notes MCP failures are resolved end to end.