@knoflows/engine 0.1.0-beta.18 → 0.1.1-alpha.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.
Files changed (54) hide show
  1. package/dist/engine.js +19 -19
  2. package/dist/migrations/20260921193000_local_repo_remote/migration.sql +3 -0
  3. package/dist/migrations/20260921193000_local_repo_remote/snapshot.json +1378 -0
  4. package/package.json +1 -1
  5. package/static/assets/i18n/en.json +14 -0
  6. package/static/assets/i18n/es.json +14 -0
  7. package/static/chunk--EZIkevK.js +1 -0
  8. package/static/{chunk-D3JZ8ur5.js → chunk-8ezEUcxN.js} +6 -6
  9. package/static/chunk-B17yZLWe.js +1 -0
  10. package/static/{chunk-7NTQwN96.js → chunk-B8OjWpOp.js} +1 -1
  11. package/static/chunk-BHko4hHm.js +1 -0
  12. package/static/{chunk-DSgUAlqN.js → chunk-BIJScqTM.js} +1 -1
  13. package/static/{chunk-B_R_vsLt.js → chunk-BKYaECRn.js} +1 -1
  14. package/static/chunk-BLN4QkSi.js +1 -0
  15. package/static/{chunk-BrP_q6LZ.js → chunk-BRAytoQl.js} +1 -1
  16. package/static/{chunk-xeQj_hSF.js → chunk-BaLWULJh.js} +1 -1
  17. package/static/{chunk-Dx92ksvP.js → chunk-BcDRgzYZ.js} +1 -1
  18. package/static/{chunk-5xJXPFlv.js → chunk-Bok52e_k.js} +1 -1
  19. package/static/{chunk-CuwZV6XG.js → chunk-BowAQ7m9.js} +1 -1
  20. package/static/{chunk-C9PkSfMb.js → chunk-Bz7bE4tT.js} +1 -1
  21. package/static/{chunk-BCHj6l85.js → chunk-C7P7hUiX.js} +1 -1
  22. package/static/{chunk-BcQQgpKh.js → chunk-CAxHAuhV.js} +1 -1
  23. package/static/{chunk-Cvoe3MtC.js → chunk-CGHIKxZG.js} +1 -1
  24. package/static/{chunk-CZoPJsBm.js → chunk-CJWR0gwk.js} +1 -1
  25. package/static/{chunk-BRZ5T52h.js → chunk-CZA-kp5w.js} +1 -1
  26. package/static/{chunk-ZqQUQSE8.js → chunk-CoQPYpxp.js} +1 -1
  27. package/static/{chunk-DAONFRT8.js → chunk-CtiubhW7.js} +1 -1
  28. package/static/{chunk-hpn_m1ZC.js → chunk-CwEMAptL.js} +1 -1
  29. package/static/{chunk-CRGkNzel.js → chunk-D-ueyYEC.js} +3 -3
  30. package/static/{chunk-DHC_yfIa.js → chunk-D1355dNd.js} +1 -1
  31. package/static/{chunk-CV-FUe_H.js → chunk-D8qyjd0z.js} +1 -1
  32. package/static/{chunk-Dg-4XevL.js → chunk-DOAz4S6b.js} +1 -1
  33. package/static/{chunk-VXZaUyyE.js → chunk-DbQy6dR8.js} +1 -1
  34. package/static/chunk-DdDI9wRc.js +5 -0
  35. package/static/{chunk-BIdwV0jx.js → chunk-Det50scT.js} +1 -1
  36. package/static/{chunk-BIL86kgf.js → chunk-Dm_EWkUz.js} +1 -1
  37. package/static/chunk-DoJknvak.js +1 -0
  38. package/static/{chunk-DEF7Ge5B.js → chunk-DrncP2Qx.js} +1 -1
  39. package/static/{chunk-DvWh-Q5D.js → chunk-EDwdt-Wk.js} +1 -1
  40. package/static/chunk-IjKs-6Cl.js +1 -0
  41. package/static/{chunk-DyiDg8XX.js → chunk-LPXHXTnJ.js} +1 -1
  42. package/static/{chunk-DVJ9L-aC.js → chunk-SiaN7xSQ.js} +1 -1
  43. package/static/{chunk-Bv1r1Ly-.js → chunk-YU-Bg77r.js} +1 -1
  44. package/static/{chunk-Ysn4Fbgj.js → chunk-bSS_wejP.js} +1 -1
  45. package/static/{chunk-CLM-K-Vg.js → chunk-iIEmH_ui.js} +1 -1
  46. package/static/{chunk-CPNxRF7A.js → chunk-vINo5yVD.js} +1 -1
  47. package/static/index.html +1 -1
  48. package/static/{main-SI5AKDMC.js → main-3VZRFHGG.js} +1 -1
  49. package/static/chunk--WRMKpmO.js +0 -5
  50. package/static/chunk-BaYdwXIA.js +0 -1
  51. package/static/chunk-C3Xml1YG.js +0 -1
  52. package/static/chunk-DDhSFoAE.js +0 -1
  53. package/static/chunk-DaO-gpzS.js +0 -1
  54. package/static/chunk-pi-mtheN.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knoflows/engine",
3
- "version": "0.1.0-beta.18",
3
+ "version": "0.1.1-alpha.0",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -55,12 +55,18 @@
55
55
  "local-repos.column.localPath": "Repository path",
56
56
  "local-repos.column.worktreeBasePath": "Worktree base",
57
57
  "local-repos.column.defaultBranch": "Default branch",
58
+ "local-repos.column.remoteRepo": "Remote repository",
58
59
  "local-repos.column.actions": "Actions",
59
60
  "local-repos.form.name": "Name",
60
61
  "local-repos.form.localPath": "Repository path",
61
62
  "local-repos.form.worktreeBasePath": "Worktree base path (optional)",
62
63
  "local-repos.form.worktreeBaseHint": "Defaults to a sibling folder next to the repository. Do not nest worktrees inside the repo itself.",
63
64
  "local-repos.form.defaultBranch": "Default branch (optional)",
65
+ "local-repos.form.remoteInstance": "Remote provider instance (optional)",
66
+ "local-repos.form.remoteInstancePlaceholder": "Not linked",
67
+ "local-repos.form.remoteIdentifier": "Remote repository",
68
+ "local-repos.form.remoteIdentifierPlaceholder": "Choose a known repository",
69
+ "local-repos.form.remoteHint": "Link this checkout to a specific provider instance's remote repo so workflows can resolve it from a pull request.",
64
70
  "local-repos.loadFailed": "Failed to load local repositories",
65
71
  "local-repos.saveFailed": "Failed to save local repository",
66
72
  "local-repos.deleteFailed": "Failed to delete local repository",
@@ -362,6 +368,10 @@
362
368
  "step-list.createWorktree.newBranch": "New branch",
363
369
  "step-list.createWorktree.existingBranch": "Existing branch",
364
370
  "step-list.createWorktree.repoPath": "Repository path",
371
+ "step-list.createWorktree.repoSource": "Repository",
372
+ "step-list.createWorktree.repoPathPick": "Choose a local path",
373
+ "step-list.createWorktree.resolveFromPr": "Resolve automatically from PR",
374
+ "step-list.createWorktree.resolveFromPrHint": "At run time, uses the registered local repository that matches this pull request's remote repo. Link one under Manage → Local Repositories.",
365
375
  "step-list.createWorktree.catalogPlaceholder": "Choose from catalog",
366
376
  "step-list.createWorktree.browseManually": "Or browse manually",
367
377
  "step-list.createWorktree.baseBranch": "Base branch",
@@ -465,6 +475,8 @@
465
475
  "settings.bitbucket.baseUrl": "Bitbucket base URL",
466
476
  "settings.bitbucket.email": "Bitbucket email",
467
477
  "settings.bitbucket.workspace": "Bitbucket workspace",
478
+ "settings.bitbucket.knownRepoSlugs": "Known repositories",
479
+ "settings.bitbucket.knownRepoSlugsHint": "Remote repo slugs commonly queried for pull requests. Separate from local checkouts on Manage → Repositories.",
468
480
  "settings.apiKey.label": "API key",
469
481
  "settings.apiKey.configured": "Configured ✓",
470
482
  "settings.apiKey.notConfigured": "Not configured",
@@ -563,6 +575,8 @@
563
575
  "views.editor.template": "Template",
564
576
  "views.editor.pickTemplate": "Choose a query template, or switch to raw JSON",
565
577
  "views.editor.missingParam": "{{label}} is required",
578
+ "views.editor.useAllKnownRepos": "Use all known repositories",
579
+ "views.editor.knownReposOverLimit": "You have {{count}} known repos; select up to {{limit}}",
566
580
  "views.editor.resolveFailed": "Failed to resolve query template",
567
581
  "views.editor.invalidJson": "Query must be a JSON object",
568
582
  "views.editor.validation": "Validation",
@@ -55,12 +55,18 @@
55
55
  "local-repos.column.localPath": "Ruta del repositorio",
56
56
  "local-repos.column.worktreeBasePath": "Base de worktrees",
57
57
  "local-repos.column.defaultBranch": "Rama por defecto",
58
+ "local-repos.column.remoteRepo": "Repositorio remoto",
58
59
  "local-repos.column.actions": "Acciones",
59
60
  "local-repos.form.name": "Nombre",
60
61
  "local-repos.form.localPath": "Ruta del repositorio",
61
62
  "local-repos.form.worktreeBasePath": "Ruta base de worktrees (opcional)",
62
63
  "local-repos.form.worktreeBaseHint": "Por defecto es una carpeta hermana junto al repositorio. No anides worktrees dentro del propio repo.",
63
64
  "local-repos.form.defaultBranch": "Rama por defecto (opcional)",
65
+ "local-repos.form.remoteInstance": "Instancia de proveedor remoto (opcional)",
66
+ "local-repos.form.remoteInstancePlaceholder": "Sin vincular",
67
+ "local-repos.form.remoteIdentifier": "Repositorio remoto",
68
+ "local-repos.form.remoteIdentifierPlaceholder": "Elige un repositorio conocido",
69
+ "local-repos.form.remoteHint": "Vincula esta copia local a un repositorio remoto de una instancia concreta para que los flujos puedan resolverlo desde un pull request.",
64
70
  "local-repos.loadFailed": "No se pudieron cargar los repositorios locales",
65
71
  "local-repos.saveFailed": "No se pudo guardar el repositorio local",
66
72
  "local-repos.deleteFailed": "No se pudo eliminar el repositorio local",
@@ -362,6 +368,10 @@
362
368
  "step-list.createWorktree.newBranch": "Rama nueva",
363
369
  "step-list.createWorktree.existingBranch": "Rama existente",
364
370
  "step-list.createWorktree.repoPath": "Ruta del repositorio",
371
+ "step-list.createWorktree.repoSource": "Repositorio",
372
+ "step-list.createWorktree.repoPathPick": "Elegir una ruta local",
373
+ "step-list.createWorktree.resolveFromPr": "Resolver automáticamente desde el PR",
374
+ "step-list.createWorktree.resolveFromPrHint": "En tiempo de ejecución usa el repositorio local registrado que coincida con el remoto de este pull request. Vincula uno en Gestionar → Repositorios.",
365
375
  "step-list.createWorktree.catalogPlaceholder": "Elegir del catálogo",
366
376
  "step-list.createWorktree.browseManually": "O examinar manualmente",
367
377
  "step-list.createWorktree.baseBranch": "Rama base",
@@ -465,6 +475,8 @@
465
475
  "settings.bitbucket.baseUrl": "URL base de Bitbucket",
466
476
  "settings.bitbucket.email": "Correo de Bitbucket",
467
477
  "settings.bitbucket.workspace": "Espacio de trabajo de Bitbucket",
478
+ "settings.bitbucket.knownRepoSlugs": "Repositorios conocidos",
479
+ "settings.bitbucket.knownRepoSlugsHint": "Slugs remotos que sueles consultar para pull requests. Independiente de las copias locales en Gestionar → Repositorios.",
468
480
  "settings.apiKey.label": "Clave de API",
469
481
  "settings.apiKey.configured": "Configurada ✓",
470
482
  "settings.apiKey.notConfigured": "No configurada",
@@ -563,6 +575,8 @@
563
575
  "views.editor.template": "Plantilla",
564
576
  "views.editor.pickTemplate": "Elige una plantilla de consulta, o pasa a JSON en crudo",
565
577
  "views.editor.missingParam": "{{label}} es obligatorio",
578
+ "views.editor.useAllKnownRepos": "Usar todos los repositorios conocidos",
579
+ "views.editor.knownReposOverLimit": "Tienes {{count}} repositorios conocidos; selecciona como máximo {{limit}}",
566
580
  "views.editor.resolveFailed": "No se pudo resolver la plantilla de consulta",
567
581
  "views.editor.invalidJson": "La consulta debe ser un objeto JSON",
568
582
  "views.editor.validation": "Validación",
@@ -0,0 +1 @@
1
+ import {C,b4 as N2,aV as ix,b5 as cx,ba as Se,i as ie}from'./main-3VZRFHGG.js';var f=(()=>{class i{constructor(){this.http=C(N2),this.apiBase=ix.apiBaseUrl;}getSettings(){return this.http.get(`${this.apiBase}/settings`).pipe(cx())}updateSettings(t){return this.http.patch(`${this.apiBase}/settings`,t).pipe(cx())}listProviderInstances(){return this.http.get(`${this.apiBase}/provider-instances`).pipe(cx())}createProviderInstance(t){return this.http.post(`${this.apiBase}/provider-instances`,t).pipe(cx())}updateProviderInstance(t,r){return this.http.patch(`${this.apiBase}/provider-instances/${encodeURIComponent(t)}`,r).pipe(cx())}deleteProviderInstance(t){return this.http.delete(`${this.apiBase}/provider-instances/${encodeURIComponent(t)}`).pipe(cx())}testProviderConnection(t){return this.http.post(`${this.apiBase}/provider-instances/${encodeURIComponent(t)}/test-connection`,{}).pipe(cx())}getProviderStatus(){return this.http.get(`${this.apiBase}/providers/status`).pipe(cx())}setSecret(t,r){return this.http.post(`${this.apiBase}/secrets/${encodeURIComponent(t)}`,{value:r},{responseType:"text"}).pipe(Se(()=>{}),cx())}static{this.\u0275fac=function(r){return new(r||i)};}static{this.\u0275prov=ie({token:i,factory:i.\u0275fac,providedIn:"root"});}}return i})();export{f};