@skaile/workspaces 0.52.0 → 0.53.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.53.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#277](https://github.com/skaile-ai/workspaces/pull/277) [`6a914a2`](https://github.com/skaile-ai/workspaces/commit/6a914a2ae40fb7be4463334e3e5dbb3faaf97738) Thanks [@peteralbert](https://github.com/peteralbert)! - Enable in-container OAuth token refresh for per-session SharePoint and WebDAV mounts. `connectorRefreshKind` now maps `sharepoint`→`sharepoint-mount` and `webdav`→`webdav-mount` (in addition to `git`), so the connector token mediator routes their proactive/reactive refreshes to the platform's `host.refresh_credential` handler instead of refusing them. The rclone drivers already carried the apply path (re-render INI + stop/respawn), so these mounts no longer go stale (`invalid_client`) ~1h after wake. `googledrive` remains excluded until its driver gains a refresh controller.
8
+
3
9
  ## 0.52.0
4
10
 
5
11
  ### Minor Changes
@@ -4024,7 +4024,16 @@ function setupManagedGitconfig(projectDir, serverLog) {
4024
4024
  }
4025
4025
  }
4026
4026
  function connectorRefreshKind(driver) {
4027
- return driver === "git" ? "git-mount" : null;
4027
+ switch (driver) {
4028
+ case "git":
4029
+ return "git-mount";
4030
+ case "sharepoint":
4031
+ return "sharepoint-mount";
4032
+ case "webdav":
4033
+ return "webdav-mount";
4034
+ default:
4035
+ return null;
4036
+ }
4028
4037
  }
4029
4038
  function buildConnectorTokenMediator(deps) {
4030
4039
  return async ({ connectorId, reason, driver, providerLinkId }) => {
@@ -5814,5 +5823,5 @@ function touchSession(state) {
5814
5823
  }
5815
5824
 
5816
5825
  export { CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CapabilityRegistry, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, MarkdownStreamer, PreInitRingSink, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildConnectorTokenMediator, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, builtinCapabilities, clearPreInitRingSink, clearSession, compileComposition, computeCapabilitySignature, connectorRefreshKind, createAgentSession, createSessionStimulusBus, defineCapability, deleteSession, dispatchRunnerCapabilityInvocation, emitSystemPromptComposed, ensureGitConfigInclude, extractClaudeAiOauthExpiresAt, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, installPreInitRingSink, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadSession, loadSessionById, mcpAuthSecretKey, newSession, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, resetRunnerLogStore, resolveAgentComposition, resolveAgentMixins, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveMixin, runAgentChat, saveSession, setCurrentSession, startAgentServer, touchSession, writeClaudeCodeCredentialsFile };
5817
- //# sourceMappingURL=chunk-MGB657EG.js.map
5818
- //# sourceMappingURL=chunk-MGB657EG.js.map
5826
+ //# sourceMappingURL=chunk-V4BGVOJC.js.map
5827
+ //# sourceMappingURL=chunk-V4BGVOJC.js.map