kanban-lite 1.2.2 → 1.2.3
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/cli.js +168 -85
- package/dist/extension.js +157 -74
- package/dist/mcp-server.js +94 -33
- package/dist/sdk/index.cjs +94 -32
- package/dist/sdk/index.mjs +94 -32
- package/dist/sdk/sdk/KanbanSDK.d.ts +5 -9
- package/dist/sdk/sdk/modules/cards.d.ts +11 -2
- package/dist/sdk/sdk/types.d.ts +1 -1
- package/dist/sdk/shared/config.d.ts +17 -1
- package/dist/standalone-webview/index.js +15 -15
- package/dist/standalone-webview/index.js.map +1 -1
- package/dist/standalone.js +219 -121
- package/package.json +1 -1
- package/src/mcp-server/index.ts +1 -1
- package/src/sdk/KanbanSDK.d.ts +5 -9
- package/src/sdk/KanbanSDK.ts +7 -10
- package/src/sdk/integrationCatalog.ts +1 -0
- package/src/sdk/modules/cards.ts +13 -24
- package/src/sdk/plugins/index.ts +10 -2
- package/src/sdk/types.d.ts +1 -1
- package/src/sdk/types.ts +1 -0
- package/src/sdk/webhooks.ts +19 -2
- package/src/shared/config.ts +124 -2
- package/src/standalone/internal/runtime.ts +11 -6
- package/src/standalone/server.ts +21 -7
- package/src/standalone/watcherSetup.ts +9 -0
- package/src/webview/standalone-shim.ts +2 -1
|
@@ -171,7 +171,10 @@ export interface KanbanConfig {
|
|
|
171
171
|
webhooks?: Webhook[];
|
|
172
172
|
/** Label definitions keyed by label name, with color and optional group. */
|
|
173
173
|
labels?: Record<string, LabelDefinition>;
|
|
174
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* @deprecated Removed in favour of the webhook plugin. Register a webhook
|
|
176
|
+
* for the `card.action.triggered` event instead.
|
|
177
|
+
*/
|
|
175
178
|
actionWebhookUrl?: string;
|
|
176
179
|
/**
|
|
177
180
|
* Global auto-increment card ID counter shared across all boards.
|
|
@@ -255,6 +258,13 @@ export interface KanbanConfig {
|
|
|
255
258
|
customHeadHtml?: string;
|
|
256
259
|
/** Path to an HTML file (relative to workspace root) whose content is injected into the standalone board's `<head>` element. Takes precedence over `customHeadHtml`. */
|
|
257
260
|
customHeadHtmlFile?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Optional URL base path prefix for subfolder reverse-proxy deployments
|
|
263
|
+
* (e.g. `'/kanban'`). Must start with `/` and have no trailing slash.
|
|
264
|
+
* When set, all asset URLs, the WebSocket endpoint, and API routes are
|
|
265
|
+
* served under this prefix. Only applies to the standalone server.
|
|
266
|
+
*/
|
|
267
|
+
basePath?: string;
|
|
258
268
|
}
|
|
259
269
|
/**
|
|
260
270
|
* Default configuration used when no `.kanban.json` file exists or when
|
|
@@ -282,6 +292,12 @@ export declare function configPath(workspaceRoot: string): string;
|
|
|
282
292
|
* returns the default config. If the file contains a v1 config, it is
|
|
283
293
|
* automatically migrated to v2 format and persisted back to disk.
|
|
284
294
|
*
|
|
295
|
+
* Any `${VAR_NAME}` placeholders found in string values are resolved against
|
|
296
|
+
* `process.env` before the config is returned. If a referenced environment
|
|
297
|
+
* variable is not set the process will throw a descriptive error rather than
|
|
298
|
+
* silently falling back to defaults, because an unresolved secret is never a
|
|
299
|
+
* safe default.
|
|
300
|
+
*
|
|
285
301
|
* @param workspaceRoot - Absolute path to the workspace root directory.
|
|
286
302
|
* @returns The parsed (and possibly migrated) kanban configuration.
|
|
287
303
|
*
|