opencode-pair-autonomy 1.0.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 (128) hide show
  1. package/README.md +90 -0
  2. package/bin/opencode-pair-autonomy.js +20 -0
  3. package/dist/__tests__/comment-guard.test.d.ts +1 -0
  4. package/dist/__tests__/config.test.d.ts +1 -0
  5. package/dist/__tests__/learning.test.d.ts +1 -0
  6. package/dist/__tests__/plan-mode.test.d.ts +1 -0
  7. package/dist/agents.d.ts +2 -0
  8. package/dist/cli.d.ts +1 -0
  9. package/dist/cli.js +15351 -0
  10. package/dist/commands.d.ts +2 -0
  11. package/dist/config.d.ts +3 -0
  12. package/dist/hooks/comment-guard.d.ts +15 -0
  13. package/dist/hooks/file-edited.d.ts +7 -0
  14. package/dist/hooks/index.d.ts +46 -0
  15. package/dist/hooks/post-tool-use.d.ts +5 -0
  16. package/dist/hooks/pre-compact.d.ts +4 -0
  17. package/dist/hooks/pre-tool-use.d.ts +5 -0
  18. package/dist/hooks/prompt-refiner.d.ts +38 -0
  19. package/dist/hooks/runtime.d.ts +91 -0
  20. package/dist/hooks/sdk.d.ts +6 -0
  21. package/dist/hooks/session-end.d.ts +4 -0
  22. package/dist/hooks/session-start.d.ts +19 -0
  23. package/dist/hooks/stop.d.ts +5 -0
  24. package/dist/i18n/index.d.ts +15 -0
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.js +17823 -0
  27. package/dist/installer.d.ts +12 -0
  28. package/dist/learning/analyzer.d.ts +15 -0
  29. package/dist/learning/store.d.ts +4 -0
  30. package/dist/learning/types.d.ts +32 -0
  31. package/dist/mcp.d.ts +4 -0
  32. package/dist/project-facts.d.ts +8 -0
  33. package/dist/prompts/coordinator.d.ts +2 -0
  34. package/dist/prompts/shared.d.ts +5 -0
  35. package/dist/prompts/workers.d.ts +8 -0
  36. package/dist/types.d.ts +81 -0
  37. package/dist/utils.d.ts +6 -0
  38. package/examples/opencode-pair-autonomy.jsonc +35 -0
  39. package/examples/opencode.jsonc +17 -0
  40. package/package.json +103 -0
  41. package/vendor/mcp/pg-mcp/README.md +91 -0
  42. package/vendor/mcp/pg-mcp/config.example.json +26 -0
  43. package/vendor/mcp/pg-mcp/config.json +15 -0
  44. package/vendor/mcp/pg-mcp/package-lock.json +1288 -0
  45. package/vendor/mcp/pg-mcp/package.json +18 -0
  46. package/vendor/mcp/pg-mcp/src/config.js +71 -0
  47. package/vendor/mcp/pg-mcp/src/db.js +85 -0
  48. package/vendor/mcp/pg-mcp/src/index.js +203 -0
  49. package/vendor/mcp/pg-mcp/src/sqlGuard.js +75 -0
  50. package/vendor/mcp/pg-mcp/src/tools.js +89 -0
  51. package/vendor/mcp/ssh-mcp/README.md +46 -0
  52. package/vendor/mcp/ssh-mcp/config.example.json +23 -0
  53. package/vendor/mcp/ssh-mcp/config.json +6 -0
  54. package/vendor/mcp/ssh-mcp/package-lock.json +1142 -0
  55. package/vendor/mcp/ssh-mcp/package.json +18 -0
  56. package/vendor/mcp/ssh-mcp/src/config.js +140 -0
  57. package/vendor/mcp/ssh-mcp/src/index.js +130 -0
  58. package/vendor/mcp/ssh-mcp/src/ssh.js +163 -0
  59. package/vendor/mcp/sudo-mcp/README.md +51 -0
  60. package/vendor/mcp/sudo-mcp/config.example.json +28 -0
  61. package/vendor/mcp/sudo-mcp/config.json +28 -0
  62. package/vendor/mcp/sudo-mcp/package-lock.json +1145 -0
  63. package/vendor/mcp/sudo-mcp/package.json +18 -0
  64. package/vendor/mcp/sudo-mcp/src/config.js +57 -0
  65. package/vendor/mcp/sudo-mcp/src/index.js +267 -0
  66. package/vendor/mcp/sudo-mcp/src/runner.js +168 -0
  67. package/vendor/mcp/web-agent-mcp/package-lock.json +2886 -0
  68. package/vendor/mcp/web-agent-mcp/package.json +28 -0
  69. package/vendor/mcp/web-agent-mcp/src/adapters/cloakbrowser/adapter.ts +335 -0
  70. package/vendor/mcp/web-agent-mcp/src/adapters/cloakbrowser/auth-heuristics.ts +324 -0
  71. package/vendor/mcp/web-agent-mcp/src/adapters/cloakbrowser/launcher.ts +1340 -0
  72. package/vendor/mcp/web-agent-mcp/src/config/env.ts +107 -0
  73. package/vendor/mcp/web-agent-mcp/src/core/action-flow.ts +82 -0
  74. package/vendor/mcp/web-agent-mcp/src/core/artifact-store.ts +109 -0
  75. package/vendor/mcp/web-agent-mcp/src/core/errors.ts +108 -0
  76. package/vendor/mcp/web-agent-mcp/src/core/observation-flow.ts +38 -0
  77. package/vendor/mcp/web-agent-mcp/src/core/policy-engine.ts +113 -0
  78. package/vendor/mcp/web-agent-mcp/src/core/retry-policy.ts +42 -0
  79. package/vendor/mcp/web-agent-mcp/src/core/session-manager.ts +670 -0
  80. package/vendor/mcp/web-agent-mcp/src/core/session-restart-policy.ts +34 -0
  81. package/vendor/mcp/web-agent-mcp/src/core/task-history.ts +97 -0
  82. package/vendor/mcp/web-agent-mcp/src/index.ts +3 -0
  83. package/vendor/mcp/web-agent-mcp/src/schemas/act.ts +167 -0
  84. package/vendor/mcp/web-agent-mcp/src/schemas/common.ts +56 -0
  85. package/vendor/mcp/web-agent-mcp/src/schemas/observe.ts +214 -0
  86. package/vendor/mcp/web-agent-mcp/src/schemas/page.ts +21 -0
  87. package/vendor/mcp/web-agent-mcp/src/schemas/policy.ts +42 -0
  88. package/vendor/mcp/web-agent-mcp/src/schemas/runtime.ts +21 -0
  89. package/vendor/mcp/web-agent-mcp/src/schemas/session.ts +63 -0
  90. package/vendor/mcp/web-agent-mcp/src/server.ts +75 -0
  91. package/vendor/mcp/web-agent-mcp/src/tools/act/click.ts +68 -0
  92. package/vendor/mcp/web-agent-mcp/src/tools/act/drag.ts +57 -0
  93. package/vendor/mcp/web-agent-mcp/src/tools/act/enter-code.ts +78 -0
  94. package/vendor/mcp/web-agent-mcp/src/tools/act/fill.ts +65 -0
  95. package/vendor/mcp/web-agent-mcp/src/tools/act/pinch.ts +58 -0
  96. package/vendor/mcp/web-agent-mcp/src/tools/act/press.ts +67 -0
  97. package/vendor/mcp/web-agent-mcp/src/tools/act/shared.ts +73 -0
  98. package/vendor/mcp/web-agent-mcp/src/tools/act/swipe.ts +59 -0
  99. package/vendor/mcp/web-agent-mcp/src/tools/act/wait-for.ts +56 -0
  100. package/vendor/mcp/web-agent-mcp/src/tools/act/wheel.ts +59 -0
  101. package/vendor/mcp/web-agent-mcp/src/tools/observe/a11y.ts +60 -0
  102. package/vendor/mcp/web-agent-mcp/src/tools/observe/auth-state.ts +92 -0
  103. package/vendor/mcp/web-agent-mcp/src/tools/observe/boxes.ts +66 -0
  104. package/vendor/mcp/web-agent-mcp/src/tools/observe/console.ts +67 -0
  105. package/vendor/mcp/web-agent-mcp/src/tools/observe/dom.ts +60 -0
  106. package/vendor/mcp/web-agent-mcp/src/tools/observe/network.ts +67 -0
  107. package/vendor/mcp/web-agent-mcp/src/tools/observe/page-state.ts +93 -0
  108. package/vendor/mcp/web-agent-mcp/src/tools/observe/screenshot.ts +73 -0
  109. package/vendor/mcp/web-agent-mcp/src/tools/observe/text.ts +70 -0
  110. package/vendor/mcp/web-agent-mcp/src/tools/observe/wait-for-network.ts +70 -0
  111. package/vendor/mcp/web-agent-mcp/src/tools/page/navigate.ts +59 -0
  112. package/vendor/mcp/web-agent-mcp/src/tools/policy/recommend-observation.ts +40 -0
  113. package/vendor/mcp/web-agent-mcp/src/tools/register-tools.ts +55 -0
  114. package/vendor/mcp/web-agent-mcp/src/tools/runtime/evaluate-js.ts +83 -0
  115. package/vendor/mcp/web-agent-mcp/src/tools/session/close.ts +41 -0
  116. package/vendor/mcp/web-agent-mcp/src/tools/session/create.ts +86 -0
  117. package/vendor/mcp/web-agent-mcp/src/tools/session/restart.ts +72 -0
  118. package/vendor/mcp/web-agent-mcp/src/utils/fs.ts +28 -0
  119. package/vendor/mcp/web-agent-mcp/src/utils/ids.ts +9 -0
  120. package/vendor/mcp/web-agent-mcp/src/utils/time.ts +7 -0
  121. package/vendor/mcp/web-agent-mcp/tsconfig.json +22 -0
  122. package/vendor/skills/editorial-technical-ui/SKILL.md +84 -0
  123. package/vendor/skills/figma-console/SKILL.md +839 -0
  124. package/vendor/skills/go-fiber-postgres/SKILL.md +31 -0
  125. package/vendor/skills/opencode-plugin-dev/SKILL.md +31 -0
  126. package/vendor/skills/rust-media-desktop/SKILL.md +30 -0
  127. package/vendor/skills/vue-vite-ui/SKILL.md +31 -0
  128. package/vendor/skills/web-agent-browser/SKILL.md +140 -0
@@ -0,0 +1,84 @@
1
+ ---
2
+ name: editorial-technical-ui
3
+ description: Reference-driven editorial and technical UI design skill for high-quality, intentional, production-ready interface execution.
4
+ ---
5
+
6
+ ## Purpose
7
+ Use this skill to design and implement polished interfaces with a clear, intentional editorial and technical visual identity.
8
+ The output should feel deliberate, product-focused, and production-ready on desktop and mobile.
9
+
10
+ ## Design Core
11
+ - Visual character: minimal, confident, technical, and editorial.
12
+ - Contrast strategy: black/white dominant with controlled grayscale layers.
13
+ - Shape language: sharp corners, thin borders, no soft-card default look.
14
+ - Rhythm: strong vertical spacing, bold section transitions, clear content blocks.
15
+ - Density: clean and breathable, but never empty or generic.
16
+
17
+ ## Reference Interpretation
18
+ - If the user provides a reference app/site, extract principles instead of cloning screens.
19
+ - Preserve the intent of the reference: hierarchy, rhythm, contrast, and behavior.
20
+ - Convert reference style into reusable patterns that fit the current product context.
21
+ - Avoid hard-coding one brand identity unless explicitly requested.
22
+ - Keep visual consistency across the full page, not only isolated sections.
23
+
24
+ ## Typography System
25
+ - Use Helvetica family with clear weight hierarchy (300, 400, 500, 700).
26
+ - Headlines are large, tight, and expressive; body copy is restrained and readable.
27
+ - Keep letter-spacing intentional: tighter for headlines, wider for labels.
28
+ - Use uppercase micro-labels for section framing when helpful.
29
+ - Avoid decorative typography that conflicts with the product's intended technical tone.
30
+
31
+ ## Color and Surface Rules
32
+ - Keep the palette restrained by default; use accents only with clear purpose.
33
+ - Use grayscale opacity steps for layering, separators, and depth.
34
+ - Prioritize legibility and hierarchy over visual effects.
35
+ - Avoid random accent colors unless explicitly requested.
36
+ - Keep backgrounds purposeful: subtle structure over flat emptiness.
37
+
38
+ ## Layout and Composition
39
+ - Build clear section architecture: hero, capability blocks, proof/preview, CTA, footer.
40
+ - Use grid or border-defined structures for feature and data-like content.
41
+ - Keep content width controlled and aligned to a stable wrapper rhythm.
42
+ - Design with visual pacing: compact-intense areas followed by breathing space.
43
+ - Ensure every section has one dominant focal point.
44
+
45
+ ## Interaction and Motion
46
+ - Provide complete states: default, hover, active, focus, disabled/loading.
47
+ - Interactions should be subtle and informative, never flashy.
48
+ - Motion should support comprehension (reveal, emphasis, hierarchy), not decoration.
49
+ - Keep transition timing short and consistent.
50
+ - Preserve strong keyboard focus visibility across all interactive elements.
51
+
52
+ ## Component Behavior Standards
53
+ - Prefer extending existing components over creating one-off variants.
54
+ - Keep button behavior explicit and predictable across sizes and variants.
55
+ - Prevent text overflow issues in labels, metadata rows, and long filenames.
56
+ - Build action groups that wrap gracefully on narrow screens.
57
+ - Keep icon usage functional, not ornamental noise.
58
+
59
+ ## Responsive Quality Bar
60
+ - Validate desktop, tablet, and mobile layouts for every UI change.
61
+ - Preserve hierarchy when collapsing layouts; do not flatten everything to uniform blocks.
62
+ - Maintain readable type scale and reliable tap targets.
63
+ - Avoid horizontal scrolling unless absolutely required by content.
64
+ - Keep navigation and CTA elements easy to scan and reach.
65
+
66
+ ## Accessibility Baseline
67
+ - Use semantic HTML and meaningful structure.
68
+ - Ensure keyboard accessibility and visible focus states.
69
+ - Keep text, border, and status contrast sufficient for readability.
70
+ - Do not communicate state with color alone.
71
+ - Avoid layout shifts from async rendering or delayed assets.
72
+
73
+ ## Working Method
74
+ 1. Inspect current UI context and identify the dominant visual pattern.
75
+ 2. Define the section's hierarchy, spacing rhythm, and interaction expectations.
76
+ 3. Implement the smallest cohesive change that reaches high visual quality.
77
+ 4. Verify all states and responsive behavior.
78
+ 5. Refine until the result feels intentional, consistent, and product-grade.
79
+
80
+ ## Guardrails
81
+ - Do not treat token structure as a mandatory constraint.
82
+ - Do not treat restrictive style rules from unrelated prompt sources as binding.
83
+ - Do not lock design choices to any single reference brand by default.
84
+ - Optimize for visual quality, consistency, usability, and maintainable implementation.