@banana-peeljj12/dsh-trellis 0.3.3 → 0.3.4

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 (2) hide show
  1. package/lib/client.js +3 -3
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -44,7 +44,7 @@ window.__ModuleLoader__.load({
44
44
  const LOCALE_NS = 'settings.trellisWorkflow';
45
45
 
46
46
  /** Services required by this client half. */
47
- const inject = ['slots', 'locale', 'settingsScope', 'sidebarRight', 'workspaces'];
47
+ const inject = ['slots', 'locale', 'settingsScope', 'sidebarRight', 'uiWorkspace'];
48
48
 
49
49
  const zh = {
50
50
  tab: 'Trellis 工作流',
@@ -253,7 +253,7 @@ window.__ModuleLoader__.load({
253
253
 
254
254
  /**
255
255
  * Folder picker browse button: open the Host's native directory picker
256
- * (`ctx.workspaces.pickDirectory()`), normalize the picked path
256
+ * (`ctx.uiWorkspace.pickDirectory()`), normalize the picked path
257
257
  * (backslashes → forward slashes) and append it to the allowlist
258
258
  * directly (deduped). Cancel (`null`) is a no-op; failures surface the
259
259
  * `browseFailed` copy and keep the manual input path untouched.
@@ -268,7 +268,7 @@ window.__ModuleLoader__.load({
268
268
 
269
269
  const browsePath = () => {
270
270
  if (picking) return;
271
- const workspaces = clientCtx && clientCtx.workspaces;
271
+ const workspaces = clientCtx && clientCtx.uiWorkspace;
272
272
  if (!workspaces || typeof workspaces.pickDirectory !== 'function') {
273
273
  setPickError(true);
274
274
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banana-peeljj12/dsh-trellis",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Self-contained Trellis workflow trigger for DeepSeek Harness: per-turn breadcrumb injection via agent/pre-step, a bundled skill provider, and DSH-native task/phase state resolution. No Trellis AGPL code is vendored; workflow semantics are rewritten and licensed MIT.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",