@spotpatch/runtime 1.7.0 → 1.8.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/dist/index.js CHANGED
@@ -1764,19 +1764,21 @@ var AGENT_PANEL_STYLES = `
1764
1764
  width: anchor-size(width);
1765
1765
  max-height: min(280px, 40vh);
1766
1766
  margin: 0;
1767
- overflow: hidden;
1767
+ overflow: auto;
1768
1768
  border: 1px solid rgb(139 124 247 / 28%);
1769
1769
  border-radius: 12px;
1770
1770
  padding: 6px;
1771
1771
  background: #10151e;
1772
1772
  box-shadow: 0 18px 50px rgb(0 0 0 / 38%);
1773
- opacity: 0;
1774
- transform: translateY(-5px) scale(.985);
1773
+ opacity: 1;
1774
+ transform: translateY(0) scale(1);
1775
1775
  transition: opacity 150ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1), overlay 180ms allow-discrete, display 180ms allow-discrete;
1776
1776
  }
1777
- ::picker(select):popover-open { opacity: 1; transform: translateY(0) scale(1); }
1778
1777
  @starting-style {
1779
- ::picker(select):popover-open { opacity: 0; transform: translateY(-5px) scale(.985); }
1778
+ .spotpatch-agent select::picker(select):popover-open {
1779
+ opacity: 0;
1780
+ transform: translateY(-5px) scale(.985);
1781
+ }
1780
1782
  }
1781
1783
  .spotpatch-agent select option {
1782
1784
  min-height: 42px;
@@ -2773,14 +2775,14 @@ var UI_MESSAGES = Object.freeze({
2773
2775
  mode: "Execution mode",
2774
2776
  review: "Review",
2775
2777
  autoGated: "Auto gated",
2776
- trustedFast: "Trusted fast",
2778
+ trustedFast: "Trusted direct",
2777
2779
  provider: "Provider",
2778
2780
  model: "Model",
2779
2781
  providerAriaLabel: "AI provider",
2780
2782
  modelAriaLabel: "AI model",
2781
2783
  providerUnavailable: "Provider configuration is unavailable.",
2782
2784
  consent: (provider) => `I understand selected context and allowed source may be sent to ${provider}; its data policy is my responsibility.`,
2783
- trustedFastConsent: (provider) => `Enable trusted fast mode for ${provider}: send allowed project context, include current local changes, and directly apply AI changes after required checks, including file deletions and configuration changes.`,
2785
+ trustedFastConsent: (provider) => `Enable trusted direct mode for ${provider}: send allowed project context, include current local changes, skip project validation checks, and immediately apply AI changes, including file deletions and configuration changes.`,
2784
2786
  connectionNotTested: "Optional connection check not run",
2785
2787
  workspaceNotChecked: "Local workspace not checked",
2786
2788
  checkingWorkspace: "Checking Git workspace and isolated execution\u2026",
@@ -2792,7 +2794,7 @@ var UI_MESSAGES = Object.freeze({
2792
2794
  capabilityVerified: "Agent capability verified",
2793
2795
  capabilityVerifiedAnnouncement: "AI provider capability verified.",
2794
2796
  testingCapability: "Testing authentication, tools, continuation, and streaming\u2026",
2795
- applying: "Applying validated changes to the project.",
2797
+ applying: "Applying changes to the project.",
2796
2798
  cancelling: "Cancelling Agent job.",
2797
2799
  reverting: "Reverting the applied Agent change.",
2798
2800
  consentRequired: "Confirm remote provider data transmission before running AI.",
@@ -2911,14 +2913,14 @@ var UI_MESSAGES = Object.freeze({
2911
2913
  mode: "\u6267\u884C\u65B9\u5F0F",
2912
2914
  review: "\u5BA1\u9605\u6A21\u5F0F",
2913
2915
  autoGated: "\u53D7\u63A7\u81EA\u52A8\u6A21\u5F0F",
2914
- trustedFast: "\u53EF\u4FE1\u5FEB\u901F\u6A21\u5F0F",
2916
+ trustedFast: "\u53EF\u4FE1\u6781\u901F\u6A21\u5F0F",
2915
2917
  provider: "\u6A21\u578B\u670D\u52A1",
2916
2918
  model: "\u6A21\u578B",
2917
2919
  providerAriaLabel: "AI \u6A21\u578B\u670D\u52A1",
2918
2920
  modelAriaLabel: "AI \u6A21\u578B",
2919
2921
  providerUnavailable: "\u6A21\u578B\u670D\u52A1\u914D\u7F6E\u4E0D\u53EF\u7528\u3002",
2920
2922
  consent: (provider) => `\u6211\u4E86\u89E3\u9009\u4E2D\u4E0A\u4E0B\u6587\u4E0E\u83B7\u51C6\u6E90\u7801\u53EF\u80FD\u53D1\u9001\u5230 ${provider}\uFF0C\u5E76\u81EA\u884C\u8D1F\u8D23\u5176\u6570\u636E\u7B56\u7565\u3002`,
2921
- trustedFastConsent: (provider) => `\u4E3A ${provider} \u542F\u7528\u53EF\u4FE1\u5FEB\u901F\u6A21\u5F0F\uFF1A\u53D1\u9001\u83B7\u51C6\u7684\u9879\u76EE\u4E0A\u4E0B\u6587\u3001\u7EB3\u5165\u5F53\u524D\u672C\u5730\u4FEE\u6539\uFF0C\u5E76\u5728\u5FC5\u9700\u68C0\u67E5\u901A\u8FC7\u540E\u76F4\u63A5\u5E94\u7528 AI \u53D8\u66F4\uFF0C\u5305\u62EC\u5220\u9664\u6587\u4EF6\u4E0E\u914D\u7F6E\u53D8\u66F4\u3002`,
2923
+ trustedFastConsent: (provider) => `\u4E3A ${provider} \u542F\u7528\u53EF\u4FE1\u6781\u901F\u6A21\u5F0F\uFF1A\u53D1\u9001\u83B7\u51C6\u7684\u9879\u76EE\u4E0A\u4E0B\u6587\u3001\u7EB3\u5165\u5F53\u524D\u672C\u5730\u4FEE\u6539\u3001\u8DF3\u8FC7\u9879\u76EE\u9A8C\u8BC1\u68C0\u67E5\uFF0C\u5E76\u7ACB\u5373\u5E94\u7528 AI \u53D8\u66F4\uFF0C\u5305\u62EC\u5220\u9664\u6587\u4EF6\u4E0E\u914D\u7F6E\u53D8\u66F4\u3002`,
2922
2924
  connectionNotTested: "\u5C1A\u672A\u6267\u884C\u53EF\u9009\u8FDE\u63A5\u68C0\u67E5",
2923
2925
  workspaceNotChecked: "\u5C1A\u672A\u68C0\u67E5\u672C\u5730\u5DE5\u4F5C\u533A",
2924
2926
  checkingWorkspace: "\u6B63\u5728\u68C0\u67E5 Git \u5DE5\u4F5C\u533A\u4E0E\u9694\u79BB\u6267\u884C\u73AF\u5883\u2026\u2026",
@@ -2930,7 +2932,7 @@ var UI_MESSAGES = Object.freeze({
2930
2932
  capabilityVerified: "Agent \u80FD\u529B\u9A8C\u8BC1\u901A\u8FC7",
2931
2933
  capabilityVerifiedAnnouncement: "AI \u6A21\u578B\u670D\u52A1\u80FD\u529B\u9A8C\u8BC1\u901A\u8FC7\u3002",
2932
2934
  testingCapability: "\u6B63\u5728\u9A8C\u8BC1\u9274\u6743\u3001\u5DE5\u5177\u8C03\u7528\u3001\u8FDE\u7EED\u8C03\u7528\u4E0E\u6D41\u5F0F\u54CD\u5E94\u2026\u2026",
2933
- applying: "\u6B63\u5728\u5C06\u5DF2\u9A8C\u8BC1\u53D8\u66F4\u5E94\u7528\u5230\u9879\u76EE\u3002",
2935
+ applying: "\u6B63\u5728\u5C06\u53D8\u66F4\u5E94\u7528\u5230\u9879\u76EE\u3002",
2934
2936
  cancelling: "\u6B63\u5728\u53D6\u6D88 Agent \u4EFB\u52A1\u3002",
2935
2937
  reverting: "\u6B63\u5728\u64A4\u9500\u5DF2\u5E94\u7528\u7684 Agent \u53D8\u66F4\u3002",
2936
2938
  consentRequired: "\u8FD0\u884C AI \u524D\uFF0C\u8BF7\u5148\u786E\u8BA4\u5141\u8BB8\u5411\u8FDC\u7A0B\u6A21\u578B\u670D\u52A1\u4F20\u8F93\u6570\u636E\u3002",