@skaile/workspaces 4.9.3 → 4.9.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 (77) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{asset-feeds-74HE5Q7W.js → asset-feeds-WHWQJOAQ.js} +4 -4
  3. package/dist/{asset-feeds-74HE5Q7W.js.map → asset-feeds-WHWQJOAQ.js.map} +1 -1
  4. package/dist/asset-manager/index.js +1 -1
  5. package/dist/{chunk-6L2WH2LS.js → chunk-3BDWW7OE.js} +6 -6
  6. package/dist/{chunk-6L2WH2LS.js.map → chunk-3BDWW7OE.js.map} +1 -1
  7. package/dist/{chunk-LN4M7WMX.js → chunk-5HZWDH3L.js} +5 -5
  8. package/dist/{chunk-LN4M7WMX.js.map → chunk-5HZWDH3L.js.map} +1 -1
  9. package/dist/{chunk-XZYZOCPK.js → chunk-7F4FGEMI.js} +3 -3
  10. package/dist/{chunk-XZYZOCPK.js.map → chunk-7F4FGEMI.js.map} +1 -1
  11. package/dist/{chunk-JU736VOI.js → chunk-HRVXHRL4.js} +222 -36
  12. package/dist/chunk-HRVXHRL4.js.map +1 -0
  13. package/dist/{chunk-2KVFAWUA.js → chunk-OIXSGSKM.js} +3 -3
  14. package/dist/{chunk-2KVFAWUA.js.map → chunk-OIXSGSKM.js.map} +1 -1
  15. package/dist/{chunk-WXECUQC6.js → chunk-PROIKXJR.js} +3 -3
  16. package/dist/{chunk-WXECUQC6.js.map → chunk-PROIKXJR.js.map} +1 -1
  17. package/dist/{chunk-VLRP35H4.js → chunk-R5NALZHK.js} +6 -6
  18. package/dist/{chunk-VLRP35H4.js.map → chunk-R5NALZHK.js.map} +1 -1
  19. package/dist/{chunk-O33RRDO5.js → chunk-SPAG2BWG.js} +2 -2
  20. package/dist/{chunk-O33RRDO5.js.map → chunk-SPAG2BWG.js.map} +1 -1
  21. package/dist/{chunk-7ZWLVXQN.js → chunk-TXXPJ5CQ.js} +2 -2
  22. package/dist/{chunk-7ZWLVXQN.js.map → chunk-TXXPJ5CQ.js.map} +1 -1
  23. package/dist/{chunk-RL7O3OZQ.js → chunk-US3NCUQF.js} +3 -3
  24. package/dist/{chunk-RL7O3OZQ.js.map → chunk-US3NCUQF.js.map} +1 -1
  25. package/dist/{chunk-LMS54WVA.js → chunk-YMHRKIMQ.js} +3 -3
  26. package/dist/{chunk-LMS54WVA.js.map → chunk-YMHRKIMQ.js.map} +1 -1
  27. package/dist/cli/index.js +28 -28
  28. package/dist/connectors/index.js +1 -1
  29. package/dist/{ensure-sources-VTIIEJBO.js → ensure-sources-QOQSDYIW.js} +4 -4
  30. package/dist/{ensure-sources-VTIIEJBO.js.map → ensure-sources-QOQSDYIW.js.map} +1 -1
  31. package/dist/factory-assets/connectors/box.js +1 -1
  32. package/dist/factory-assets/connectors/deploy.js +1 -1
  33. package/dist/factory-assets/connectors/devserver.js +1 -1
  34. package/dist/factory-assets/connectors/flow/adapter.js +1 -1
  35. package/dist/factory-assets/connectors/flow/run-flow.js +2 -2
  36. package/dist/factory-assets/connectors/flow.js +1 -1
  37. package/dist/factory-assets/connectors/git/CONNECTOR.md +7 -1
  38. package/dist/factory-assets/connectors/git/driver.d.ts +60 -10
  39. package/dist/factory-assets/connectors/git/driver.d.ts.map +1 -1
  40. package/dist/factory-assets/connectors/git.js +1 -1
  41. package/dist/factory-assets/connectors/gmail.js +1 -1
  42. package/dist/factory-assets/connectors/googledrive.js +1 -1
  43. package/dist/factory-assets/connectors/local.js +1 -1
  44. package/dist/factory-assets/connectors/mattermost.js +1 -1
  45. package/dist/factory-assets/connectors/memory.js +1 -1
  46. package/dist/factory-assets/connectors/minio.js +1 -1
  47. package/dist/factory-assets/connectors/postgres.js +1 -1
  48. package/dist/factory-assets/connectors/s3.js +1 -1
  49. package/dist/factory-assets/connectors/sharepoint.js +1 -1
  50. package/dist/factory-assets/connectors/sqlite.js +1 -1
  51. package/dist/factory-assets/connectors/static-server.js +1 -1
  52. package/dist/factory-assets/connectors/tunnel.js +1 -1
  53. package/dist/factory-assets/connectors/webdav.js +1 -1
  54. package/dist/factory-assets/connectors/xstate-store.js +1 -1
  55. package/dist/factory-assets/connectors/xstate.js +1 -1
  56. package/dist/{helpers-JJ4OLUVW.js → helpers-HGDWKXLE.js} +4 -4
  57. package/dist/{helpers-JJ4OLUVW.js.map → helpers-HGDWKXLE.js.map} +1 -1
  58. package/dist/{library-publish-IA76SB6X.js → library-publish-6QYWX635.js} +6 -6
  59. package/dist/{library-publish-IA76SB6X.js.map → library-publish-6QYWX635.js.map} +1 -1
  60. package/dist/{open-library-F24FIE65.js → open-library-R74XCRPC.js} +5 -5
  61. package/dist/{open-library-F24FIE65.js.map → open-library-R74XCRPC.js.map} +1 -1
  62. package/dist/{project-OGJSXBAC.js → project-OFUZ5D3S.js} +5 -5
  63. package/dist/{project-OGJSXBAC.js.map → project-OFUZ5D3S.js.map} +1 -1
  64. package/dist/runner/index.js +4 -4
  65. package/dist/sdk/asset-manager.js +1 -1
  66. package/dist/sdk/index.js +4 -4
  67. package/dist/sdk/runner.js +4 -4
  68. package/dist/{setup-3IIIW3QM.js → setup-OYXGVHBF.js} +5 -5
  69. package/dist/{setup-3IIIW3QM.js.map → setup-OYXGVHBF.js.map} +1 -1
  70. package/dist/{source-HBEZDIWE.js → source-MEQTWW3S.js} +6 -6
  71. package/dist/{source-HBEZDIWE.js.map → source-MEQTWW3S.js.map} +1 -1
  72. package/dist/{source-manifest-publish-G7ZAYFMH.js → source-manifest-publish-EPPOGSLD.js} +7 -7
  73. package/dist/{source-manifest-publish-G7ZAYFMH.js.map → source-manifest-publish-EPPOGSLD.js.map} +1 -1
  74. package/dist/tui/index.js +4 -4
  75. package/dist/workspace-plugin/index.js +1 -1
  76. package/package.json +1 -1
  77. package/dist/chunk-JU736VOI.js.map +0 -1
package/dist/cli/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { AI_RESOURCES } from '../chunk-F4PCBWPB.js';
3
- import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-VLRP35H4.js';
4
- import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-RL7O3OZQ.js';
3
+ import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-R5NALZHK.js';
4
+ import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-US3NCUQF.js';
5
5
  import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-S4RYZDBB.js';
6
- import { makeSourceCommand, syncProjectSources } from '../chunk-6L2WH2LS.js';
7
- import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-XZYZOCPK.js';
8
- import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-2KVFAWUA.js';
6
+ import { makeSourceCommand, syncProjectSources } from '../chunk-3BDWW7OE.js';
7
+ import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-7F4FGEMI.js';
8
+ import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-OIXSGSKM.js';
9
9
  import { LocalSecretsProvider } from '../chunk-6BEGKO2Q.js';
10
- import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-LN4M7WMX.js';
11
- import { buildClaudePluginFiles } from '../chunk-7ZWLVXQN.js';
10
+ import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-5HZWDH3L.js';
11
+ import { buildClaudePluginFiles } from '../chunk-TXXPJ5CQ.js';
12
12
  import '../chunk-XEWX4V7T.js';
13
13
  import '../chunk-WPW5XS6I.js';
14
14
  import '../chunk-FAI2SMFE.js';
@@ -24,12 +24,12 @@ import '../chunk-73ZXUUL6.js';
24
24
  import '../chunk-32NA4TVC.js';
25
25
  import '../chunk-W3UDISS2.js';
26
26
  import '../chunk-2HUQUTJ3.js';
27
- import { runFlow, resumeFlow } from '../chunk-WXECUQC6.js';
27
+ import { runFlow, resumeFlow } from '../chunk-PROIKXJR.js';
28
28
  import '../chunk-4R6DROGN.js';
29
29
  import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-3XXQPHGL.js';
30
30
  import '../chunk-7BUZQVRR.js';
31
31
  import '../chunk-I3UWSGEB.js';
32
- import '../chunk-JU736VOI.js';
32
+ import '../chunk-HRVXHRL4.js';
33
33
  import '../chunk-SDNGG6FB.js';
34
34
  import '../chunk-JUZJUKWM.js';
35
35
  import '../chunk-ZVYWMD6Q.js';
@@ -47,7 +47,7 @@ import '../chunk-REYJKU7T.js';
47
47
  import '../chunk-2D5BYAL6.js';
48
48
  import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-ELPR5XBG.js';
49
49
  import '../chunk-QAH24E5U.js';
50
- import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-O33RRDO5.js';
50
+ import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-SPAG2BWG.js';
51
51
  import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-7LHSC2DS.js';
52
52
  import '../chunk-M5H4DWIA.js';
53
53
  import '../chunk-UKJMQZV6.js';
@@ -125,7 +125,7 @@ async function runSearch(kind, query, opts) {
125
125
  }
126
126
  }
127
127
  async function searchIndex(query, kind) {
128
- const { openLibrary: openLibrary2 } = await import('../open-library-F24FIE65.js');
128
+ const { openLibrary: openLibrary2 } = await import('../open-library-R74XCRPC.js');
129
129
  const library = await openLibrary2();
130
130
  try {
131
131
  const defs = await library.listAssetDefs(kind ? { kind } : {});
@@ -178,7 +178,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
178
178
  const factory = await searchFactory(projectDir, query, kind);
179
179
  let entries = unionEntries(await searchIndex(query, kind), factory);
180
180
  if (entries.length === 0 && !query && !kind && !airGapped) {
181
- const { autoSyncForSearch } = await import('../source-HBEZDIWE.js');
181
+ const { autoSyncForSearch } = await import('../source-MEQTWW3S.js');
182
182
  if (await autoSyncForSearch(projectDir)) {
183
183
  entries = unionEntries(await searchIndex(query, kind), factory);
184
184
  }
@@ -232,7 +232,7 @@ async function searchStore(query, kind, opts, airGapped) {
232
232
  logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
233
233
  return;
234
234
  }
235
- const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
235
+ const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-R74XCRPC.js');
236
236
  try {
237
237
  const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
238
238
  const assets = await remote.listAssets(kind ? { kind } : {});
@@ -547,7 +547,7 @@ async function resolveInfoEntry(am2, ref, opts) {
547
547
  return { entry: match ?? deployed };
548
548
  }
549
549
  const lookup = opts.storeLookup ?? (async (filter) => {
550
- const { resolveCatalogSource } = await import('../open-library-F24FIE65.js');
550
+ const { resolveCatalogSource } = await import('../open-library-R74XCRPC.js');
551
551
  const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
552
552
  try {
553
553
  return await source.listAssets(filter);
@@ -563,7 +563,7 @@ async function resolveInfoEntry(am2, ref, opts) {
563
563
  );
564
564
  return { entry: hit ? catalogAssetToEntry(hit) : null };
565
565
  } catch (err) {
566
- const { LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
566
+ const { LocalCatalogDisabledError } = await import('../open-library-R74XCRPC.js');
567
567
  const storeNote = err instanceof Error ? err.message : String(err);
568
568
  const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
569
569
  return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
@@ -1183,7 +1183,7 @@ function makeCatalogCommand() {
1183
1183
  return catalog;
1184
1184
  }
1185
1185
  async function runLocalCatalogTest(projectDir) {
1186
- const { resolveCatalogSource } = await import('../open-library-F24FIE65.js');
1186
+ const { resolveCatalogSource } = await import('../open-library-R74XCRPC.js');
1187
1187
  let resolved;
1188
1188
  try {
1189
1189
  resolved = await resolveCatalogSource({ projectDir });
@@ -3500,16 +3500,16 @@ function makeLibraryCommand() {
3500
3500
  });
3501
3501
  cmd.command("publish <lib>").description("Push + register the library's manifest atomically (needs git backend)").option("--asset <ref>", "Publish only the single asset matching this ref/name").option("--create-repo", "Provision + link a public github repo if the library has no remote").option("--ref <gitref>", "Git ref to ingest (default: the library branch or main)").option("--dry-run", "Print the plan; push nothing and call no store endpoint").action(
3502
3502
  async (lib, opts) => {
3503
- const { runLibraryPublish } = await import('../library-publish-IA76SB6X.js');
3503
+ const { runLibraryPublish } = await import('../library-publish-6QYWX635.js');
3504
3504
  await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
3505
3505
  }
3506
3506
  );
3507
3507
  cmd.command("register <lib>").description("Register the library's manifest without pushing (bytes already on github)").option("--asset <ref>", "Publish only the single asset matching this ref/name").option("--ref <gitref>", "Git ref to ingest (default: the library branch or main)").option("--dry-run", "Print the plan; call no store endpoint").action(async (lib, opts) => {
3508
- const { runLibraryRegister } = await import('../library-publish-IA76SB6X.js');
3508
+ const { runLibraryRegister } = await import('../library-publish-6QYWX635.js');
3509
3509
  await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
3510
3510
  });
3511
3511
  cmd.command("yank <lib>").description("Retract the library's published assets from the store").option("--asset <ref>", "Yank only the single asset matching this ref/name").action(async (lib, opts) => {
3512
- const { runLibraryYank } = await import('../library-publish-IA76SB6X.js');
3512
+ const { runLibraryYank } = await import('../library-publish-6QYWX635.js');
3513
3513
  await withStoreErrorHandling(() => runLibraryYank(lib, opts));
3514
3514
  });
3515
3515
  return cmd;
@@ -4231,7 +4231,7 @@ function scheduleSoftDepPreview() {
4231
4231
  }
4232
4232
  async function loadAssets() {
4233
4233
  softDepPreviewCache.clear();
4234
- const { gatherAssetFeeds } = await import('../asset-feeds-74HE5Q7W.js');
4234
+ const { gatherAssetFeeds } = await import('../asset-feeds-WHWQJOAQ.js');
4235
4235
  const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
4236
4236
  if (notes.length > 0) {
4237
4237
  state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
@@ -4437,7 +4437,7 @@ function reconcileCollapsedSets(rows) {
4437
4437
  async function loadSourcesAndLibraries() {
4438
4438
  try {
4439
4439
  const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
4440
- import('../open-library-F24FIE65.js'),
4440
+ import('../open-library-R74XCRPC.js'),
4441
4441
  import('../library/index.js'),
4442
4442
  import('../core/index.js')
4443
4443
  ]);
@@ -7232,7 +7232,7 @@ function makeServeCommand() {
7232
7232
  );
7233
7233
  }
7234
7234
  async function ensurePluginsLoadedForServe(projectDir) {
7235
- const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-JJ4OLUVW.js');
7235
+ const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-HGDWKXLE.js');
7236
7236
  try {
7237
7237
  const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
7238
7238
  const config = resolveSkWorkspaceConfig2(projectDir);
@@ -7251,7 +7251,7 @@ async function ensurePluginsLoadedForServe(projectDir) {
7251
7251
  }
7252
7252
  }
7253
7253
  async function runCompileTest(opts) {
7254
- const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-JJ4OLUVW.js');
7254
+ const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-HGDWKXLE.js');
7255
7255
  const { tmpdir } = await import('os');
7256
7256
  const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
7257
7257
  const { fileURLToPath: fileURLToPath2 } = await import('url');
@@ -8133,7 +8133,7 @@ function makeStoreCommand() {
8133
8133
  process.exit(2);
8134
8134
  });
8135
8135
  store.command("search <query>").description("Search the AI Asset Store catalog by name, description, or publisher").option("--kind <kind>", "Filter by asset kind (skill, agent, prompt, flow, \u2026)").option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (query, opts) => {
8136
- const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
8136
+ const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-R74XCRPC.js');
8137
8137
  try {
8138
8138
  const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
8139
8139
  const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
@@ -8166,8 +8166,8 @@ function makeStoreCommand() {
8166
8166
  }
8167
8167
  });
8168
8168
  store.command("show <ref>").description("Show a store asset's details + provenance (source, files, integrity)").option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (ref, opts) => {
8169
- const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
8170
- const { supportsInstallManifest } = await import('../project-OGJSXBAC.js');
8169
+ const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-R74XCRPC.js');
8170
+ const { supportsInstallManifest } = await import('../project-OFUZ5D3S.js');
8171
8171
  try {
8172
8172
  const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
8173
8173
  const asset = await remote.resolve(ref);
@@ -9255,7 +9255,7 @@ async function bootstrapUserConfig() {
9255
9255
  }
9256
9256
  async function hydrateInitSources(resolved, created) {
9257
9257
  try {
9258
- const { ensureSourcesCloned } = await import('../ensure-sources-VTIIEJBO.js');
9258
+ const { ensureSourcesCloned } = await import('../ensure-sources-QOQSDYIW.js');
9259
9259
  const hydrate = ensureSourcesCloned(resolved, { quiet: true });
9260
9260
  for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
9261
9261
  if (hydrate.failed.length > 0) {
@@ -9295,7 +9295,7 @@ function printInitSummary(resolved, projectDir, created) {
9295
9295
  console.log();
9296
9296
  }
9297
9297
  program.command("setup").description("Interactive provider setup wizard").action(async () => {
9298
- const { cmdSetup } = await import('../setup-3IIIW3QM.js');
9298
+ const { cmdSetup } = await import('../setup-OYXGVHBF.js');
9299
9299
  await cmdSetup([], { projectDir: process.cwd() });
9300
9300
  });
9301
9301
  program.addCommand(makeInstallCommand());
@@ -1,4 +1,4 @@
1
- export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorManager, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NO_ACTIVE_FLOW_ERROR, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, classifyConnectError, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock } from '../chunk-JU736VOI.js';
1
+ export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorManager, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NO_ACTIVE_FLOW_ERROR, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, classifyConnectError, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock } from '../chunk-HRVXHRL4.js';
2
2
  export { CONNECT_ERROR_KIND_PROPERTY, ClassifiedConnectError, declaredConnectErrorKind, withConnectErrorKind } from '../chunk-SDNGG6FB.js';
3
3
  export { ConnectorFieldMissingError, ConnectorStartupError, EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, readUnavailableMarker, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations } from '../chunk-JUZJUKWM.js';
4
4
  import '../chunk-ZVYWMD6Q.js';
@@ -1,5 +1,5 @@
1
- import { logErr, logOk, logInfo } from './chunk-2KVFAWUA.js';
2
- import './chunk-O33RRDO5.js';
1
+ import { logErr, logOk, logInfo } from './chunk-OIXSGSKM.js';
2
+ import './chunk-SPAG2BWG.js';
3
3
  import './chunk-7LHSC2DS.js';
4
4
  import './chunk-M5H4DWIA.js';
5
5
  import './chunk-UKJMQZV6.js';
@@ -89,5 +89,5 @@ function ensureSourcesCloned(projectDir, opts = {}) {
89
89
  }
90
90
 
91
91
  export { ensureSourcesCloned };
92
- //# sourceMappingURL=ensure-sources-VTIIEJBO.js.map
93
- //# sourceMappingURL=ensure-sources-VTIIEJBO.js.map
92
+ //# sourceMappingURL=ensure-sources-QOQSDYIW.js.map
93
+ //# sourceMappingURL=ensure-sources-QOQSDYIW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../cli/src/ensure-sources.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,SAAS,gBAAgB,GAAA,EAAqB;AAC5C,EAAA,OAAY,IAAA,CAAA,IAAA,CAAK,iBAAA,EAAkB,EAAG,GAAG,CAAA;AAC3C;AASA,SAAS,kBAAA,CAAmB,UAAkB,KAAA,EAAsC;AAClF,EAAA,IAAI;AACF,IAAA,OAAO,mBAAA,CAAoB,IAAA,CAAK,QAAQ,CAAA,CAAE,UAAA,EAAW;AAAA,EACvD,SAAS,GAAA,EAAK;AACZ,IAAA,IAAI,CAAC,KAAA,EAAO;AACV,MAAA,MAAA,CAAO,CAAA,eAAA,EAAkB,QAAQ,CAAA,EAAA,EAAK,GAAA,YAAe,KAAA,GAAQ,IAAI,OAAA,GAAU,MAAA,CAAO,GAAG,CAAC,CAAA,CAAE,CAAA;AAAA,IAC1F;AACA,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAMA,SAAS,kBAAA,CAAmB,KAAA,EAAoB,KAAA,EAAgB,MAAA,EAA4B;AAC1F,EAAA,MAAM,GAAA,GAAM,cAAA,CAAe,KAAA,CAAM,GAAG,CAAA;AACpC,EAAA,MAAM,IAAA,GAAO,eAAA,CAAgB,KAAA,CAAM,GAAG,CAAA;AACtC,EAAA,MAAM,IAAA,GAAO,gBAAgB,GAAG,CAAA;AAChC,EAAA,IAAI,UAAA,CAAW,IAAI,CAAA,EAAG;AACpB,IAAA,MAAA,CAAO,MAAA,CAAO,KAAK,IAAI,CAAA;AACvB,IAAA;AAAA,EACF;AACA,EAAA,SAAA,CAAe,aAAQ,IAAI,CAAA,EAAG,EAAE,SAAA,EAAW,MAAM,CAAA;AACjD,EAAA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AA,EAAG,OAAO,MAAA;AAElC,EAAA,MAAM,KAAA,GAAQ,KAAK,KAAA,IAAS,KAAA;AAC5B,EAAA,MAAM,OAAA,GAAU,kBAAA,CAAmB,QAAA,EAAU,KAAK,CAAA;AAClD,EAAA,IAAI,OAAA,KAAY,MAAM,OAAO,MAAA;AAC7B,EAAA,IAAI,OAAA,CAAQ,MAAA,KAAW,CAAA,EAAG,OAAO,MAAA;AAEjC,EAAA,KAAA,MAAW,SAAS,OAAA,EAAS;AAC3B,IAAA,kBAAA,CAAmB,KAAA,EAAO,OAAO,MAAM,CAAA;AAAA,EACzC;AAEA,EAAA,IAAI,CAAC,KAAA,EAAO;AACV,IAAA,iBAAA,CAAkB,MAAM,CAAA;AAAA,EAC1B;AAEA,EAAA,OAAO,MAAA;AACT","file":"ensure-sources-VTIIEJBO.js","sourcesContent":["/**\n * ensure-sources.ts — hydrate the `~/.skaile/cache/sources/` clone cache from a\n * project's `skaile.yaml` `sources:` entries.\n *\n * Called by `skaile init` (idempotent: no-op when no sources declared) and\n * `skaile install` so checking out a project pulls its source clones onto\n * the local machine.\n */\n\nimport { spawnSync } from \"node:child_process\";\nimport { existsSync, mkdirSync } from \"node:fs\";\nimport * as path from \"node:path\";\nimport {\n getGlobalCacheDir,\n type SourceEntry,\n sourceCacheKey,\n sourceShortName,\n WorkspaceYamlEditor,\n} from \"@skaile/workspaces/core\";\nimport { logErr, logInfo, logOk } from \"./helpers.ts\";\n\nfunction sourceClonePath(key: string): string {\n return path.join(getGlobalCacheDir(), key);\n}\n\nexport interface EnsureResult {\n cloned: string[];\n cached: string[];\n failed: string[];\n}\n\n/** Load `sources:` from a project's `skaile.yaml`, or `null` when unavailable. */\nfunction loadProjectSources(yamlPath: string, quiet: boolean): SourceEntry[] | null {\n try {\n return WorkspaceYamlEditor.load(yamlPath).getSources();\n } catch (err) {\n if (!quiet) {\n logErr(`Could not read ${yamlPath}: ${err instanceof Error ? err.message : String(err)}`);\n }\n return null;\n }\n}\n\n/**\n * Hydrate a single source entry into `result`: skip when already cached,\n * otherwise clone and record success/failure. Mutates `result` in place.\n */\nfunction hydrateSourceEntry(entry: SourceEntry, quiet: boolean, result: EnsureResult): void {\n const key = sourceCacheKey(entry.url);\n const slug = sourceShortName(entry.url);\n const dest = sourceClonePath(key);\n if (existsSync(dest)) {\n result.cached.push(slug);\n return;\n }\n mkdirSync(path.dirname(dest), { recursive: true });\n const args = [\"clone\", entry.url, dest];\n if (entry.pin) args.splice(1, 0, \"--branch\", entry.pin);\n const clone = spawnSync(\"git\", args, { stdio: quiet ? \"pipe\" : \"inherit\" });\n if (clone.status !== 0) {\n result.failed.push(slug);\n if (quiet) {\n logErr(`git clone failed for ${entry.url}`);\n }\n return;\n }\n result.cloned.push(slug);\n}\n\n/** Log a full-hydrate summary of cloned + reused-cached entries. */\nfunction logHydrateSummary(result: EnsureResult): void {\n for (const n of result.cloned) logOk(`Cloned source \"${n}\".`);\n if (result.cached.length > 0) {\n logInfo(`Reused cached clones: ${result.cached.join(\", \")}`);\n }\n}\n\n/**\n * Walk `projectDir/skaile.yaml` `sources:` and clone any entries whose\n * clone directory does not yet exist under `~/.skaile/cache/sources/`. Existing\n * clones are left untouched — this is hydration, not sync.\n *\n * Quiet by default: when `quiet: true` the helper only prints failures.\n * On full hydrate (`quiet: false`) it logs each cloned/cached entry.\n */\nexport function ensureSourcesCloned(\n projectDir: string,\n opts: { quiet?: boolean } = {},\n): EnsureResult {\n const result: EnsureResult = { cloned: [], cached: [], failed: [] };\n const yamlPath = path.join(projectDir, \"skaile.yaml\");\n if (!existsSync(yamlPath)) return result;\n\n const quiet = opts.quiet ?? false;\n const sources = loadProjectSources(yamlPath, quiet);\n if (sources === null) return result;\n if (sources.length === 0) return result;\n\n for (const entry of sources) {\n hydrateSourceEntry(entry, quiet, result);\n }\n\n if (!quiet) {\n logHydrateSummary(result);\n }\n\n return result;\n}\n"]}
1
+ {"version":3,"sources":["../cli/src/ensure-sources.ts"],"names":[],"mappings":";;;;;;;;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AAI,OAAA,CAAQ,MAAA,KAAW,CAAA,EAAG,OAAO,MAAA;AAEjC,EAAA,KAAA,MAAW,SAAS,OAAA,EAAS;AAC3B,IAAA,kBAAA,CAAmB,KAAA,EAAO,OAAO,MAAM,CAAA;AAAA,EACzC;AAEA,EAAA,IAAI,CAAC,KAAA,EAAO;AACV,IAAA,iBAAA,CAAkB,MAAM,CAAA;AAAA,EAC1B;AAEA,EAAA,OAAO,MAAA;AACT","file":"ensure-sources-QOQSDYIW.js","sourcesContent":["/**\n * ensure-sources.ts — hydrate the `~/.skaile/cache/sources/` clone cache from a\n * project's `skaile.yaml` `sources:` entries.\n *\n * Called by `skaile init` (idempotent: no-op when no sources declared) and\n * `skaile install` so checking out a project pulls its source clones onto\n * the local machine.\n */\n\nimport { spawnSync } from \"node:child_process\";\nimport { existsSync, mkdirSync } from \"node:fs\";\nimport * as path from \"node:path\";\nimport {\n getGlobalCacheDir,\n type SourceEntry,\n sourceCacheKey,\n sourceShortName,\n WorkspaceYamlEditor,\n} from \"@skaile/workspaces/core\";\nimport { logErr, logInfo, logOk } from \"./helpers.ts\";\n\nfunction sourceClonePath(key: string): string {\n return path.join(getGlobalCacheDir(), key);\n}\n\nexport interface EnsureResult {\n cloned: string[];\n cached: string[];\n failed: string[];\n}\n\n/** Load `sources:` from a project's `skaile.yaml`, or `null` when unavailable. */\nfunction loadProjectSources(yamlPath: string, quiet: boolean): SourceEntry[] | null {\n try {\n return WorkspaceYamlEditor.load(yamlPath).getSources();\n } catch (err) {\n if (!quiet) {\n logErr(`Could not read ${yamlPath}: ${err instanceof Error ? err.message : String(err)}`);\n }\n return null;\n }\n}\n\n/**\n * Hydrate a single source entry into `result`: skip when already cached,\n * otherwise clone and record success/failure. Mutates `result` in place.\n */\nfunction hydrateSourceEntry(entry: SourceEntry, quiet: boolean, result: EnsureResult): void {\n const key = sourceCacheKey(entry.url);\n const slug = sourceShortName(entry.url);\n const dest = sourceClonePath(key);\n if (existsSync(dest)) {\n result.cached.push(slug);\n return;\n }\n mkdirSync(path.dirname(dest), { recursive: true });\n const args = [\"clone\", entry.url, dest];\n if (entry.pin) args.splice(1, 0, \"--branch\", entry.pin);\n const clone = spawnSync(\"git\", args, { stdio: quiet ? \"pipe\" : \"inherit\" });\n if (clone.status !== 0) {\n result.failed.push(slug);\n if (quiet) {\n logErr(`git clone failed for ${entry.url}`);\n }\n return;\n }\n result.cloned.push(slug);\n}\n\n/** Log a full-hydrate summary of cloned + reused-cached entries. */\nfunction logHydrateSummary(result: EnsureResult): void {\n for (const n of result.cloned) logOk(`Cloned source \"${n}\".`);\n if (result.cached.length > 0) {\n logInfo(`Reused cached clones: ${result.cached.join(\", \")}`);\n }\n}\n\n/**\n * Walk `projectDir/skaile.yaml` `sources:` and clone any entries whose\n * clone directory does not yet exist under `~/.skaile/cache/sources/`. Existing\n * clones are left untouched — this is hydration, not sync.\n *\n * Quiet by default: when `quiet: true` the helper only prints failures.\n * On full hydrate (`quiet: false`) it logs each cloned/cached entry.\n */\nexport function ensureSourcesCloned(\n projectDir: string,\n opts: { quiet?: boolean } = {},\n): EnsureResult {\n const result: EnsureResult = { cloned: [], cached: [], failed: [] };\n const yamlPath = path.join(projectDir, \"skaile.yaml\");\n if (!existsSync(yamlPath)) return result;\n\n const quiet = opts.quiet ?? false;\n const sources = loadProjectSources(yamlPath, quiet);\n if (sources === null) return result;\n if (sources.length === 0) return result;\n\n for (const entry of sources) {\n hydrateSourceEntry(entry, quiet, result);\n }\n\n if (!quiet) {\n logHydrateSummary(result);\n }\n\n return result;\n}\n"]}
@@ -1,4 +1,4 @@
1
- export { BoxConnector, createConnector4 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { BoxConnector, createConnector4 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { DeployConnector, createConnector2 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { DeployConnector, createConnector2 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { DevServerConnector, createConnector3 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { DevServerConnector, createConnector3 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { FlowAdapter, createConnector, describeFlowOperations } from '../../../chunk-JU736VOI.js';
1
+ export { FlowAdapter, createConnector, describeFlowOperations } from '../../../chunk-HRVXHRL4.js';
2
2
  import '../../../chunk-SDNGG6FB.js';
3
3
  import '../../../chunk-JUZJUKWM.js';
4
4
  import '../../../chunk-ZVYWMD6Q.js';
@@ -1,7 +1,7 @@
1
- export { resolveFlowPath, resumeFlow, runFlow } from '../../../chunk-WXECUQC6.js';
1
+ export { resolveFlowPath, resumeFlow, runFlow } from '../../../chunk-PROIKXJR.js';
2
2
  import '../../../chunk-4R6DROGN.js';
3
3
  import '../../../chunk-3XXQPHGL.js';
4
- import '../../../chunk-JU736VOI.js';
4
+ import '../../../chunk-HRVXHRL4.js';
5
5
  import '../../../chunk-SDNGG6FB.js';
6
6
  import '../../../chunk-JUZJUKWM.js';
7
7
  import '../../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { ClassifierSubpromptRunner, FlowAdapter, SessionInlineSubFlowRunner, SessionNodeExecutor, SessionSubpromptRunner, buildFlowPromptEvent, classifierQuestion, createConnector, describeFlowOperations, driveOrchestratorTurn } from '../../chunk-JU736VOI.js';
1
+ export { ClassifierSubpromptRunner, FlowAdapter, SessionInlineSubFlowRunner, SessionNodeExecutor, SessionSubpromptRunner, buildFlowPromptEvent, classifierQuestion, createConnector, describeFlowOperations, driveOrchestratorTurn } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -138,7 +138,13 @@ migration error pointing at this doc.
138
138
  ### Behavior
139
139
 
140
140
  - **mount**: Clones the repo (or pulls if `.git` exists). Creates a session branch if configured.
141
- - **session branch tracking**: The clone is `--single-branch`, so its only fetch refspec maps the base branch. On every connect, the driver adds `+refs/heads/<sessionBranch>:refs/remotes/origin/<sessionBranch>` to `remote.origin.fetch` (only if no refspec maps it yet) and fetches that ref. A session branch already on origin (for example after a wake on a new node) is checked out from `origin/<sessionBranch>`; otherwise it is created from the base as before. The driver pushes a session branch with `-u`, so `@{upstream}` resolves and `sync_status` reports `hasUpstream: true`. The refspec also makes an agent's own `git push` update the remote-tracking ref.
141
+ - **session branch tracking**: The clone is `--single-branch`, so its only fetch refspec maps the base branch. On every connect, the driver fetches `+refs/heads/<sessionBranch>:refs/remotes/origin/<sessionBranch>`. When origin has the branch, the driver adds that refspec to `remote.origin.fetch` (only if no refspec maps it yet). When origin does not have it, the driver removes the refspec, because a refspec for a missing branch makes every plain `git fetch origin` fail. A session branch already on origin (for example after a wake on a new node) is checked out from `origin/<sessionBranch>`; otherwise it is created from the base as before. The driver pushes a session branch with `-u` and then records the refspec and the remote-tracking ref, so `@{upstream}` resolves and `sync_status` reports `hasUpstream: true`. The refspec also makes a later `git push` by the agent update the remote-tracking ref.
142
+ - **reused local session branch**: When the local session branch already exists (a warm checkout) and origin has the branch, the driver sets the upstream to `origin/<sessionBranch>` and then:
143
+ - fast-forwards the local branch (`merge --ff-only`) when it is an ancestor of `origin/<sessionBranch>` (another node pushed newer work);
144
+ - keeps the local branch and logs a warning when it has commits that origin does not have. The driver never rewrites it. When origin also has commits that the local branch does not have (the branches diverged, for example after an older driver rewrote the branch), the driver merges `origin/<sessionBranch>` in.
145
+ When origin does not have the branch, the local branch is used as it is. For Tier-1, the driver refreshes the token in the origin URL before this fetch, so the stale token of an old clone does not fail it. For Tier-2, a failed first fetch is retried after auth is reconciled, and the retry applies the same rules.
146
+ - **periodic fetch with `sync.autoRebase`**: The driver keeps the session branch current with `origin/<base>`, but it never rewrites published commits. Each tick fetches the session branch from origin. Only when origin does not have it is the branch rebased onto `origin/<base>`, as before. In all other cases (origin has it, or the fetch failed) the driver merges `origin/<base>` in. A merge can run with uncommitted changes that do not touch the merged files, where a rebase refuses. Merge conflicts are handled as on close: keep "ours" and save "theirs" as `.conflict` files. When a refspec names a branch that origin does not have (other than the base), the tick removes that refspec and its stale tracking ref, then fetches again. Until the branch is pushed, `sync_status` then reports `hasUpstream: false`.
147
+ - **driver push of a session branch** (hibernate, close, auto-commit): When `origin/<sessionBranch>` holds commits that the local branch does not have, the driver first merges them in. The push is then a fast-forward and never needs a force.
142
148
  - **unmount**: Stops periodic fetch and auto-commit timers.
143
149
  - **sync**: Pulls from origin on the active branch.
144
150
  - **watch**: Uses chokidar with `.git/**` ignored. Resets the auto-commit idle timer on changes.
@@ -166,13 +166,15 @@ export declare class GitConnector extends AbstractConnector {
166
166
  */
167
167
  private checkoutSessionBranch;
168
168
  /**
169
- * Map the session branch to `refs/remotes/origin/<sessionBranch>` (fetch
170
- * refspec) and fetch it once. Never throws: a missing remote branch is the
171
- * normal case for a new session, and any other failure leaves the checkout as
172
- * it was before this fix (the caller creates the branch from the base).
169
+ * Fetch the session branch into `refs/remotes/origin/<sessionBranch>` and,
170
+ * when origin has it, map it with a fetch refspec. Never throws: a missing
171
+ * remote branch is the normal case for a new session, and any other failure
172
+ * leaves the checkout as it was (the caller creates the branch from the base).
173
173
  *
174
- * Also repairs a checkout cloned before this refspec existed, because it runs
175
- * on every connect.
174
+ * The refspec is added only once origin has the branch, and removed when
175
+ * origin does not have it: a configured refspec for a missing branch makes
176
+ * every plain `git fetch origin` fail. Runs on every connect, so it also
177
+ * repairs a checkout cloned before the refspec existed.
176
178
  */
177
179
  private trackSessionBranch;
178
180
  /**
@@ -184,10 +186,43 @@ export declare class GitConnector extends AbstractConnector {
184
186
  */
185
187
  private adoptOriginSessionBranch;
186
188
  /**
187
- * Push the active branch. A session branch is pushed with `-u` after its
188
- * fetch refspec is ensured, so the push also updates
189
- * `refs/remotes/origin/<branch>` and `@{upstream}` resolves — the platform's
190
- * hibernate save gate reads exactly that. The base branch keeps its plain push.
189
+ * Line up a reused local session branch (checked out) with
190
+ * `origin/<sessionBranch>` after a successful fetch. Never rewrites local
191
+ * history and never throws:
192
+ * - local is an ancestor of origin → fast-forward (another node pushed
193
+ * newer work);
194
+ * - local has commits that origin does not have → keep them and log a
195
+ * warning; when origin also has commits that local lacks (diverged),
196
+ * merge origin in with {@link integrateOriginSessionBranch};
197
+ * - origin has no such branch → nothing to do.
198
+ * In the first two cases the upstream is set to `origin/<sessionBranch>`.
199
+ */
200
+ private reconcileLocalSessionBranch;
201
+ /**
202
+ * Merge `origin/<branch>` into the checked-out session branch when origin
203
+ * holds commits that the local branch lacks (another node or the agent
204
+ * pushed, or an older driver rewrote the local branch). A merge, never a
205
+ * rebase: the commits on origin are published. After this, a push of the
206
+ * branch is a fast-forward and needs no force. Never throws; a merge that
207
+ * cannot complete is aborted, and the push that follows fails as before.
208
+ */
209
+ private integrateOriginSessionBranch;
210
+ /**
211
+ * After a successful push of a session branch: map it with a fetch refspec
212
+ * and point `refs/remotes/origin/<branch>` at the pushed tip. The push ran
213
+ * before the refspec existed (a refspec for a branch that origin does not
214
+ * have yet would break `git fetch origin`), so git did not update the
215
+ * tracking ref itself. With both, `@{upstream}` resolves and the platform's
216
+ * hibernate save gate sees `ahead` 0. Never throws.
217
+ */
218
+ private recordPushedSessionBranch;
219
+ /**
220
+ * Push the active branch. A session branch first gets any commits that are
221
+ * only on `origin/<branch>` merged in, so the push is a fast-forward and
222
+ * never needs a force. It is pushed with `-u` and then recorded (see
223
+ * {@link recordPushedSessionBranch}), so `@{upstream}` resolves — the
224
+ * platform's hibernate save gate reads exactly that. The base branch keeps
225
+ * its plain push.
191
226
  */
192
227
  private pushActiveBranch;
193
228
  /**
@@ -417,6 +452,21 @@ export declare class GitConnector extends AbstractConnector {
417
452
  private startPeriodicFetch;
418
453
  /** One periodic-fetch tick. Bails out at each resumption point once disconnected. */
419
454
  private runPeriodicFetch;
455
+ /**
456
+ * `git fetch origin` for the periodic tick. When origin no longer has a
457
+ * branch that a session refspec names (for example a session branch deleted
458
+ * after a merge, or one from an earlier session on this checkout), that
459
+ * refspec fails the whole fetch. Drop it and fetch again. The base branch
460
+ * refspec is never dropped.
461
+ */
462
+ private fetchOrigin;
463
+ /**
464
+ * Merge `origin/<base>` into a published session branch (periodic tick with
465
+ * `autoRebase`). No-op when the base is already contained. Conflicts are
466
+ * handled like the merge on close: keep "ours" (the session branch) and
467
+ * save "theirs" as `.conflict` files.
468
+ */
469
+ private mergeBaseIntoSessionBranch;
420
470
  /**
421
471
  * Attempt to resolve merge/rebase conflicts by keeping "ours" and copying
422
472
  * "theirs" to a .conflict file. If resolution fails entirely, abort.
@@ -1 +1 @@
1
- {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../../../factory-assets/connectors/git/driver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAEf,cAAc,EAMd,QAAQ,EAER,WAAW,EACX,YAAY,EACb,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EACL,iBAAiB,EAelB,MAAM,+BAA+B,CAAC;AAOvC,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,aAAa;IACrB,gBAAgB,EAAE,MAAM,CAAC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G;YACW,0BAA0B;IAqBxC;;;;OAIG;YACW,uBAAuB;IAkDrC;;OAEG;YACW,mBAAmB;IAgDjC,OAAO,CAAC,qBAAqB;IAM7B,OAAO,CAAC,oBAAoB;YAiCd,iBAAiB;YAkBjB,qBAAqB;CAapC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C;AAED,gFAAgF;AAChF,eAAO,MAAM,MAAM;;CAAuB,CAAC"}
@@ -1,4 +1,4 @@
1
- export { GitConnector, MAX_REARM_MS, MIN_REFRESH_DELAY_MS, REFRESH_LEAD_MS, __test, createConnector5 as createConnector, readGitSyncStatus } from '../../chunk-JU736VOI.js';
1
+ export { GitConnector, MAX_REARM_MS, MIN_REFRESH_DELAY_MS, REFRESH_LEAD_MS, __test, createConnector5 as createConnector, readGitSyncStatus } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { GmailConnector, createConnector6 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { GmailConnector, createConnector6 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { GoogleDriveConnector, createConnector7 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { GoogleDriveConnector, createConnector7 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { LocalConnector, createConnector8 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { LocalConnector, createConnector8 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { MattermostConnector, createConnector9 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { MattermostConnector, createConnector9 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { MemoryConnector, createConnector10 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { MemoryConnector, createConnector10 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { MinIOConnector, createConnector11 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { MinIOConnector, createConnector11 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { PostgresConnector, createConnector12 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { PostgresConnector, createConnector12 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { S3Connector, createConnector13 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { S3Connector, createConnector13 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { SharePointConnector, createConnector14 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { SharePointConnector, createConnector14 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { SQLiteConnector, createConnector15 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { SQLiteConnector, createConnector15 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { StaticServerConnector, createConnector16 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { StaticServerConnector, createConnector16 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { TunnelConnector, createConnector17 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { TunnelConnector, createConnector17 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { WebDAVConnector, createConnector18 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { WebDAVConnector, createConnector18 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { XStateStoreConnector, createConnector20 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { XStateStoreConnector, createConnector20 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,4 +1,4 @@
1
- export { XStateConnector, createConnector19 as createConnector } from '../../chunk-JU736VOI.js';
1
+ export { XStateConnector, createConnector19 as createConnector } from '../../chunk-HRVXHRL4.js';
2
2
  import '../../chunk-SDNGG6FB.js';
3
3
  import '../../chunk-JUZJUKWM.js';
4
4
  import '../../chunk-ZVYWMD6Q.js';
@@ -1,5 +1,5 @@
1
- export { KIND_COL_WIDTH, S, bareSoftDepName, colorRef, fitWidth, formatRelativeTime, formatSoftDepAddPreview, formatSoftDepHint, formatSoftDepRemovePreview, formatSoftDepSection, kindColor, kindColorPad, logErr, logInfo, logOk, logWarn } from './chunk-2KVFAWUA.js';
2
- import './chunk-O33RRDO5.js';
1
+ export { KIND_COL_WIDTH, S, bareSoftDepName, colorRef, fitWidth, formatRelativeTime, formatSoftDepAddPreview, formatSoftDepHint, formatSoftDepRemovePreview, formatSoftDepSection, kindColor, kindColorPad, logErr, logInfo, logOk, logWarn } from './chunk-OIXSGSKM.js';
2
+ import './chunk-SPAG2BWG.js';
3
3
  import './chunk-7LHSC2DS.js';
4
4
  import './chunk-M5H4DWIA.js';
5
5
  import './chunk-UKJMQZV6.js';
@@ -27,5 +27,5 @@ import './chunk-UQ6LFBPZ.js';
27
27
  import './chunk-DKCFWSVW.js';
28
28
  import './chunk-N7B3LZ7V.js';
29
29
  import './chunk-NSBPE2FW.js';
30
- //# sourceMappingURL=helpers-JJ4OLUVW.js.map
31
- //# sourceMappingURL=helpers-JJ4OLUVW.js.map
30
+ //# sourceMappingURL=helpers-HGDWKXLE.js.map
31
+ //# sourceMappingURL=helpers-HGDWKXLE.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"helpers-JJ4OLUVW.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"helpers-HGDWKXLE.js"}
@@ -1,11 +1,11 @@
1
- import { makeHttpPublisherClient, bareName, refFor, formatNamespaceAvailability, preflightNamespace, publishToStore } from './chunk-LMS54WVA.js';
1
+ import { makeHttpPublisherClient, bareName, refFor, formatNamespaceAvailability, preflightNamespace, publishToStore } from './chunk-YMHRKIMQ.js';
2
2
  import { isStoreAuthenticated } from './chunk-S4RYZDBB.js';
3
- import { openLibraryManager } from './chunk-XZYZOCPK.js';
4
- import { logErr, logInfo, logOk, S } from './chunk-2KVFAWUA.js';
3
+ import { openLibraryManager } from './chunk-7F4FGEMI.js';
4
+ import { logErr, logInfo, logOk, S } from './chunk-OIXSGSKM.js';
5
5
  import './chunk-AOE4KOMJ.js';
6
6
  import './chunk-REYJKU7T.js';
7
7
  import './chunk-ELPR5XBG.js';
8
- import './chunk-O33RRDO5.js';
8
+ import './chunk-SPAG2BWG.js';
9
9
  import './chunk-7LHSC2DS.js';
10
10
  import './chunk-M5H4DWIA.js';
11
11
  import './chunk-UKJMQZV6.js';
@@ -275,5 +275,5 @@ async function runLibraryYank(name, opts, client) {
275
275
  }
276
276
 
277
277
  export { runLibraryPublish, runLibraryRegister, runLibraryYank };
278
- //# sourceMappingURL=library-publish-IA76SB6X.js.map
279
- //# sourceMappingURL=library-publish-IA76SB6X.js.map
278
+ //# sourceMappingURL=library-publish-6QYWX635.js.map
279
+ //# sourceMappingURL=library-publish-6QYWX635.js.map