ww-agentic-workflows 1.0.0b1__py3-none-any.whl

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 (171) hide show
  1. ww/__init__.py +18 -0
  2. ww/_bundled_extensions/ww/git/extension.py +1790 -0
  3. ww/action_execution.py +865 -0
  4. ww/actions/__init__.py +94 -0
  5. ww/actions/command.py +440 -0
  6. ww/actions/contracts.py +714 -0
  7. ww/actions/extension.py +208 -0
  8. ww/actions/mcp.py +83 -0
  9. ww/actions/prompt.py +73 -0
  10. ww/actions/skill.py +62 -0
  11. ww/actions/slash_command.py +63 -0
  12. ww/agents.py +151 -0
  13. ww/amendments.py +54 -0
  14. ww/artifacts.py +111 -0
  15. ww/assessments.py +181 -0
  16. ww/assets/__init__.py +2 -0
  17. ww/assets/agent_instructions.md +49 -0
  18. ww/assets/docs/examples.md +853 -0
  19. ww/assets/docs/features.md +4763 -0
  20. ww/assets/docs/specification.md +1811 -0
  21. ww/assets/noww_skill.md +12 -0
  22. ww/assets/workflows/onboarding.yaml +589 -0
  23. ww/assets/workflows/scriptize.yaml +167 -0
  24. ww/assets/ww-automate_skill.md +23 -0
  25. ww/assets/ww-debug-report_skill.md +46 -0
  26. ww/assets/ww-deduce-feedback_skill.md +44 -0
  27. ww/assets/ww-feedback-rules_skill.md +48 -0
  28. ww/assets/ww-learn-project_skill.md +22 -0
  29. ww/assets/ww-refresh_skill.md +26 -0
  30. ww/assets/ww-rule_skill.md +110 -0
  31. ww/assets/ww-rules-from-artifacts_skill.md +22 -0
  32. ww/assets/ww-scriptize_skill.md +38 -0
  33. ww/assets/ww-setup_skill.md +94 -0
  34. ww/assets/ww-solve_skill.md +23 -0
  35. ww/assets/ww-suggest_skill.md +32 -0
  36. ww/assets/ww-wizard_skill.md +110 -0
  37. ww/assets/ww-workflow-feedback_skill.md +38 -0
  38. ww/assets/ww_skill.md +81 -0
  39. ww/assignments.py +141 -0
  40. ww/bootstrap.py +430 -0
  41. ww/builtin_workflows.py +209 -0
  42. ww/changes.py +326 -0
  43. ww/child_coordination.py +495 -0
  44. ww/children.py +98 -0
  45. ww/claude_permissions.py +115 -0
  46. ww/cli/__init__.py +7 -0
  47. ww/cli/__main__.py +6 -0
  48. ww/cli/audit.py +137 -0
  49. ww/cli/catalogs.py +132 -0
  50. ww/cli/discover.py +558 -0
  51. ww/cli/initialization.py +902 -0
  52. ww/cli/lookup.py +266 -0
  53. ww/cli/main.py +2109 -0
  54. ww/cli/parser.py +1327 -0
  55. ww/cli/prompts.py +226 -0
  56. ww/cli/updates.py +120 -0
  57. ww/completion_artifacts.py +187 -0
  58. ww/completion_inputs.py +44 -0
  59. ww/config/__init__.py +588 -0
  60. ww/config/actions.py +591 -0
  61. ww/config/composition.py +571 -0
  62. ww/config/rules.py +633 -0
  63. ww/config/steps.py +904 -0
  64. ww/config/values.py +223 -0
  65. ww/config_files.py +233 -0
  66. ww/config_snapshots.py +368 -0
  67. ww/config_writes.py +356 -0
  68. ww/contracts.py +133 -0
  69. ww/control.py +37 -0
  70. ww/defaults.py +138 -0
  71. ww/design_docs.py +32 -0
  72. ww/direct_work.py +275 -0
  73. ww/discovery.py +104 -0
  74. ww/documents.py +217 -0
  75. ww/errors.py +18 -0
  76. ww/executable.py +63 -0
  77. ww/execution_models/__init__.py +64 -0
  78. ww/execution_models/construction.py +148 -0
  79. ww/execution_models/decoding.py +40 -0
  80. ww/execution_models/plan_codec.py +532 -0
  81. ww/execution_models/records.py +1275 -0
  82. ww/execution_models/runs.py +273 -0
  83. ww/extensions/__init__.py +40 -0
  84. ww/extensions/api.py +568 -0
  85. ww/extensions/registry.py +870 -0
  86. ww/extensions/store.py +78 -0
  87. ww/feedback.py +344 -0
  88. ww/handler_repairs.py +57 -0
  89. ww/hooks/__init__.py +37 -0
  90. ww/hooks/agents.py +305 -0
  91. ww/hooks/install.py +168 -0
  92. ww/hooks/notices.py +32 -0
  93. ww/hooks/runtime.py +72 -0
  94. ww/inspect.py +895 -0
  95. ww/instructions/__init__.py +17 -0
  96. ww/instructions/builder.py +1640 -0
  97. ww/instructions/collection.py +101 -0
  98. ww/instructions/commands.py +293 -0
  99. ww/instructions/handoff.py +198 -0
  100. ww/instructions/models.py +741 -0
  101. ww/instructions/policy.py +210 -0
  102. ww/instructions/text.py +134 -0
  103. ww/interactions.py +173 -0
  104. ww/interpolation.py +37 -0
  105. ww/item_collections.py +90 -0
  106. ww/items.py +128 -0
  107. ww/locking.py +210 -0
  108. ww/metadata_publication.py +230 -0
  109. ww/onboarding.py +229 -0
  110. ww/open_work.py +42 -0
  111. ww/operations.py +159 -0
  112. ww/operator_ui/__init__.py +17 -0
  113. ww/operator_ui/page.html +351 -0
  114. ww/operator_ui/server.py +215 -0
  115. ww/operator_ui/session.py +342 -0
  116. ww/operator_ui/sheet.py +104 -0
  117. ww/operator_ui/view.py +76 -0
  118. ww/output.py +312 -0
  119. ww/output_adapters/__init__.py +12 -0
  120. ww/output_adapters/base.py +25 -0
  121. ww/output_adapters/json_adapter.py +37 -0
  122. ww/output_adapters/markdown.py +2188 -0
  123. ww/output_adapters/rule_pages.py +447 -0
  124. ww/output_adapters/terminal.py +21 -0
  125. ww/package_updates.py +167 -0
  126. ww/plan/__init__.py +39 -0
  127. ww/plan/actions.py +211 -0
  128. ww/plan/compiler.py +1523 -0
  129. ww/plan/constructs.py +384 -0
  130. ww/plan/models.py +637 -0
  131. ww/project_config.py +797 -0
  132. ww/recovery.py +401 -0
  133. ww/replanning.py +353 -0
  134. ww/results.py +118 -0
  135. ww/rule_checks.py +347 -0
  136. ww/rule_conversion.py +387 -0
  137. ww/rule_disputes.py +148 -0
  138. ww/rule_stats.py +304 -0
  139. ww/rule_store.py +456 -0
  140. ww/rule_verification.py +780 -0
  141. ww/rule_views.py +626 -0
  142. ww/rule_writes.py +1050 -0
  143. ww/run_coordination.py +158 -0
  144. ww/run_reports.py +1041 -0
  145. ww/runtimes.py +115 -0
  146. ww/service.py +4997 -0
  147. ww/setup_apply.py +428 -0
  148. ww/step_values.py +20 -0
  149. ww/storage.py +464 -0
  150. ww/storage_adapters/__init__.py +36 -0
  151. ww/storage_adapters/base.py +554 -0
  152. ww/storage_adapters/filesystem.py +498 -0
  153. ww/storage_adapters/memory.py +210 -0
  154. ww/storage_adapters/project_metadata.py +69 -0
  155. ww/storage_adapters/task_document.py +554 -0
  156. ww/task_ids.py +128 -0
  157. ww/task_references.py +124 -0
  158. ww/transitions.py +1181 -0
  159. ww/updates.py +399 -0
  160. ww/upgrade.py +95 -0
  161. ww/validation.py +168 -0
  162. ww/variables.py +257 -0
  163. ww/workflow_config.py +859 -0
  164. ww/workflow_update.py +239 -0
  165. ww/workflow_validation.py +962 -0
  166. ww/workspace.py +50 -0
  167. ww_agentic_workflows-1.0.0b1.dist-info/METADATA +702 -0
  168. ww_agentic_workflows-1.0.0b1.dist-info/RECORD +171 -0
  169. ww_agentic_workflows-1.0.0b1.dist-info/WHEEL +4 -0
  170. ww_agentic_workflows-1.0.0b1.dist-info/entry_points.txt +2 -0
  171. ww_agentic_workflows-1.0.0b1.dist-info/licenses/LICENSE +674 -0
ww/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ # SPDX-License-Identifier: GPL-3.0-or-later
2
+ """ww: local-first agentic workflows."""
3
+
4
+ from importlib.metadata import PackageNotFoundError, version
5
+
6
+ try:
7
+ __version__ = version("ww-agentic-workflows")
8
+ except PackageNotFoundError:
9
+ __version__ = "1.0.0b1"
10
+ # Shown by ``--version`` and ``init``: syntax, state, and commands may still
11
+ # change between pulls, as documentation/limitations.md describes.
12
+ STAGE = "beta"
13
+ BETA_NOTICE = (
14
+ "ww is in beta: ww.yaml syntax, task state, and "
15
+ "commands may still change. What is not promised yet: "
16
+ "https://github.com/from-developers-for-developers/agentic-workflows/blob/"
17
+ "main/documentation/limitations.md"
18
+ )