gnougo-flow-core 0.1.2__tar.gz

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 (73) hide show
  1. gnougo_flow_core-0.1.2/.gitignore +492 -0
  2. gnougo_flow_core-0.1.2/PKG-INFO +1124 -0
  3. gnougo_flow_core-0.1.2/PORTING_TODO.md +271 -0
  4. gnougo_flow_core-0.1.2/README.md +1107 -0
  5. gnougo_flow_core-0.1.2/pyproject.toml +49 -0
  6. gnougo_flow_core-0.1.2/src/gnougo_flow_core/__init__.py +62 -0
  7. gnougo_flow_core-0.1.2/src/gnougo_flow_core/_jsmini.py +1253 -0
  8. gnougo_flow_core-0.1.2/src/gnougo_flow_core/checkpointing.py +37 -0
  9. gnougo_flow_core-0.1.2/src/gnougo_flow_core/cli.py +250 -0
  10. gnougo_flow_core-0.1.2/src/gnougo_flow_core/compilation.py +411 -0
  11. gnougo_flow_core-0.1.2/src/gnougo_flow_core/errors.py +67 -0
  12. gnougo_flow_core-0.1.2/src/gnougo_flow_core/expressions.py +388 -0
  13. gnougo_flow_core-0.1.2/src/gnougo_flow_core/integrations/__init__.py +21 -0
  14. gnougo_flow_core-0.1.2/src/gnougo_flow_core/integrations/mcp.py +340 -0
  15. gnougo_flow_core-0.1.2/src/gnougo_flow_core/integrations/routing_llm.py +74 -0
  16. gnougo_flow_core-0.1.2/src/gnougo_flow_core/json_schema.py +96 -0
  17. gnougo_flow_core-0.1.2/src/gnougo_flow_core/mcp_cache.py +107 -0
  18. gnougo_flow_core-0.1.2/src/gnougo_flow_core/models.py +321 -0
  19. gnougo_flow_core-0.1.2/src/gnougo_flow_core/parsing.py +230 -0
  20. gnougo_flow_core-0.1.2/src/gnougo_flow_core/reasoning.py +66 -0
  21. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime.py +836 -0
  22. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_contracts.py +97 -0
  23. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/__init__.py +56 -0
  24. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/emit_executor.py +39 -0
  25. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/human_input_executor.py +111 -0
  26. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/llm_call_executor.py +176 -0
  27. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/loop_parallel_executor.py +100 -0
  28. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/loop_sequential_executor.py +114 -0
  29. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/mcp_call_executor.py +525 -0
  30. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/mcp_list_executor.py +316 -0
  31. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/parallel_executor.py +76 -0
  32. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/sequence_executor.py +37 -0
  33. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/set_executor.py +32 -0
  34. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/switch_executor.py +99 -0
  35. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/template_render_executor.py +93 -0
  36. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/workflow_call_executor.py +216 -0
  37. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/workflow_execute_executor.py +125 -0
  38. gnougo_flow_core-0.1.2/src/gnougo_flow_core/runtime_steps/workflow_plan_executor.py +458 -0
  39. gnougo_flow_core-0.1.2/src/gnougo_flow_core/scripting.py +123 -0
  40. gnougo_flow_core-0.1.2/src/gnougo_flow_core/step_types.py +23 -0
  41. gnougo_flow_core-0.1.2/src/gnougo_flow_core/templating.py +238 -0
  42. gnougo_flow_core-0.1.2/tests/test_cancellation.py +103 -0
  43. gnougo_flow_core-0.1.2/tests/test_cli.py +127 -0
  44. gnougo_flow_core-0.1.2/tests/test_error_codes_phase6.py +109 -0
  45. gnougo_flow_core-0.1.2/tests/test_expressions.py +36 -0
  46. gnougo_flow_core-0.1.2/tests/test_format_date.py +30 -0
  47. gnougo_flow_core-0.1.2/tests/test_human_input.py +39 -0
  48. gnougo_flow_core-0.1.2/tests/test_jsmini.py +95 -0
  49. gnougo_flow_core-0.1.2/tests/test_json_schema.py +104 -0
  50. gnougo_flow_core-0.1.2/tests/test_loop_parallel_executor.py +120 -0
  51. gnougo_flow_core-0.1.2/tests/test_loop_sequential_executor.py +142 -0
  52. gnougo_flow_core-0.1.2/tests/test_mcp_call_llm_selection.py +308 -0
  53. gnougo_flow_core-0.1.2/tests/test_mcp_factory.py +135 -0
  54. gnougo_flow_core-0.1.2/tests/test_parallel_executor.py +105 -0
  55. gnougo_flow_core-0.1.2/tests/test_parser_compiler.py +168 -0
  56. gnougo_flow_core-0.1.2/tests/test_phase5_mcp_human.py +182 -0
  57. gnougo_flow_core-0.1.2/tests/test_reasoning_field.py +266 -0
  58. gnougo_flow_core-0.1.2/tests/test_resume.py +175 -0
  59. gnougo_flow_core-0.1.2/tests/test_runtime_core.py +138 -0
  60. gnougo_flow_core-0.1.2/tests/test_runtime_integrations.py +163 -0
  61. gnougo_flow_core-0.1.2/tests/test_runtime_logging.py +88 -0
  62. gnougo_flow_core-0.1.2/tests/test_runtime_telemetry.py +147 -0
  63. gnougo_flow_core-0.1.2/tests/test_scripting.py +93 -0
  64. gnougo_flow_core-0.1.2/tests/test_step_content_events.py +86 -0
  65. gnougo_flow_core-0.1.2/tests/test_step_descriptors.py +34 -0
  66. gnougo_flow_core-0.1.2/tests/test_template_render_executor.py +187 -0
  67. gnougo_flow_core-0.1.2/tests/test_templating.py +48 -0
  68. gnougo_flow_core-0.1.2/tests/test_workflow_call_executor.py +374 -0
  69. gnougo_flow_core-0.1.2/tests/test_workflow_execute.py +503 -0
  70. gnougo_flow_core-0.1.2/tests/test_workflow_input_defaults.py +38 -0
  71. gnougo_flow_core-0.1.2/tests/test_workflow_plan_mcp_guidance.py +138 -0
  72. gnougo_flow_core-0.1.2/tests/test_workflow_plan_parity.py +212 -0
  73. gnougo_flow_core-0.1.2/uv.lock +433 -0
@@ -0,0 +1,492 @@
1
+ ## Ignore Visual Studio temporary files, build results, and
2
+ ## files generated by popular Visual Studio add-ons.
3
+ ##
4
+ ## Get latest from `dotnet new gitignore`
5
+
6
+ # dotenv files
7
+ .env
8
+
9
+ # Downloaded OpenTelemetry proto files (regenerated by Protos/download-protos.ps1)
10
+ **/otlp-proto/
11
+
12
+ # User-specific files
13
+ *.rsuser
14
+ *.suo
15
+ *.user
16
+ *.userosscache
17
+ *.sln.docstates
18
+
19
+ # User-specific files (MonoDevelop/Xamarin Studio)
20
+ *.userprefs
21
+
22
+ # Mono auto generated files
23
+ mono_crash.*
24
+
25
+ # Build results
26
+ [Dd]ebug/
27
+ [Dd]ebugPublic/
28
+ [Rr]elease/
29
+ [Rr]eleases/
30
+ x64/
31
+ x86/
32
+ [Ww][Ii][Nn]32/
33
+ [Aa][Rr][Mm]/
34
+ [Aa][Rr][Mm]64/
35
+ bld/
36
+ [Bb]in/
37
+ [Oo]bj/
38
+ ui/
39
+
40
+ # Visual Studio 2015/2017 cache/options directory
41
+ .vs/
42
+ # Uncomment if you have tasks that create the project's static files in wwwroot
43
+ #wwwroot/
44
+
45
+ # Visual Studio 2017 auto generated files
46
+ Generated\ Files/
47
+
48
+ # MSTest test Results
49
+ [Tt]est[Rr]esult*/
50
+ [Bb]uild[Ll]og.*
51
+
52
+ # NUnit
53
+ *.VisualState.xml
54
+ TestResult.xml
55
+ nunit-*.xml
56
+
57
+ # Build Results of an ATL Project
58
+ [Dd]ebugPS/
59
+ [Rr]eleasePS/
60
+ dlldata.c
61
+
62
+ # Benchmark Results
63
+ BenchmarkDotNet.Artifacts/
64
+
65
+ # .NET
66
+ project.lock.json
67
+ project.fragment.lock.json
68
+ artifacts/
69
+
70
+ # Tye
71
+ .tye/
72
+
73
+ # ASP.NET Scaffolding
74
+ ScaffoldingReadMe.txt
75
+
76
+ # StyleCop
77
+ StyleCopReport.xml
78
+
79
+ # Files built by Visual Studio
80
+ *_i.c
81
+ *_p.c
82
+ *_h.h
83
+ *.ilk
84
+ *.meta
85
+ *.obj
86
+ *.iobj
87
+ *.pch
88
+ *.pdb
89
+ *.ipdb
90
+ *.pgc
91
+ *.pgd
92
+ *.rsp
93
+ *.sbr
94
+ *.tlb
95
+ *.tli
96
+ *.tlh
97
+ *.tmp
98
+ *.tmp_proj
99
+ *_wpftmp.csproj
100
+ *.log
101
+ *.tlog
102
+ *.vspscc
103
+ *.vssscc
104
+ .builds
105
+ *.pidb
106
+ *.svclog
107
+ *.scc
108
+
109
+ # Chutzpah Test files
110
+ _Chutzpah*
111
+
112
+ # Visual C++ cache files
113
+ ipch/
114
+ *.aps
115
+ *.ncb
116
+ *.opendb
117
+ *.opensdf
118
+ *.sdf
119
+ *.cachefile
120
+ *.VC.db
121
+ *.VC.VC.opendb
122
+
123
+ # Visual Studio profiler
124
+ *.psess
125
+ *.vsp
126
+ *.vspx
127
+ *.sap
128
+
129
+ # Visual Studio Trace Files
130
+ *.e2e
131
+
132
+ # TFS 2012 Local Workspace
133
+ $tf/
134
+
135
+ # Guidance Automation Toolkit
136
+ *.gpState
137
+
138
+ # ReSharper is a .NET coding add-in
139
+ _ReSharper*/
140
+ *.[Rr]e[Ss]harper
141
+ *.DotSettings.user
142
+
143
+ # TeamCity is a build add-in
144
+ _TeamCity*
145
+
146
+ # DotCover is a Code Coverage Tool
147
+ *.dotCover
148
+
149
+ # AxoCover is a Code Coverage Tool
150
+ .axoCover/*
151
+ !.axoCover/settings.json
152
+
153
+ # Coverlet is a free, cross platform Code Coverage Tool
154
+ coverage*.json
155
+ coverage*.xml
156
+ coverage*.info
157
+
158
+ # Visual Studio code coverage results
159
+ *.coverage
160
+ *.coveragexml
161
+
162
+ # NCrunch
163
+ _NCrunch_*
164
+ .*crunch*.local.xml
165
+ nCrunchTemp_*
166
+
167
+ # MightyMoose
168
+ *.mm.*
169
+ AutoTest.Net/
170
+
171
+ # Web workbench (sass)
172
+ .sass-cache/
173
+
174
+ # Installshield output folder
175
+ [Ee]xpress/
176
+
177
+ # DocProject is a documentation generator add-in
178
+ DocProject/buildhelp/
179
+ DocProject/Help/*.HxT
180
+ DocProject/Help/*.HxC
181
+ DocProject/Help/*.hhc
182
+ DocProject/Help/*.hhk
183
+ DocProject/Help/*.hhp
184
+ DocProject/Help/Html2
185
+ DocProject/Help/html
186
+
187
+ # Click-Once directory
188
+ publish/
189
+
190
+ # Publish Web Output
191
+ *.[Pp]ublish.xml
192
+ *.azurePubxml
193
+ # Note: Comment the next line if you want to checkin your web deploy settings,
194
+ # but database connection strings (with potential passwords) will be unencrypted
195
+ *.pubxml
196
+ *.publishproj
197
+
198
+ # Microsoft Azure Web App publish settings. Comment the next line if you want to
199
+ # checkin your Azure Web App publish settings, but sensitive information contained
200
+ # in these scripts will be unencrypted
201
+ PublishScripts/
202
+
203
+ # NuGet Packages
204
+ *.nupkg
205
+ # NuGet Symbol Packages
206
+ *.snupkg
207
+ # The packages folder can be ignored because of Package Restore
208
+ **/[Pp]ackages/*
209
+ # except build/, which is used as an MSBuild target.
210
+ !**/[Pp]ackages/build/
211
+ # Uncomment if necessary however generally it will be regenerated when needed
212
+ #!**/[Pp]ackages/repositories.config
213
+ # NuGet v3's project.json files produces more ignorable files
214
+ *.nuget.props
215
+ *.nuget.targets
216
+
217
+ # Microsoft Azure Build Output
218
+ csx/
219
+ *.build.csdef
220
+
221
+ # Microsoft Azure Emulator
222
+ ecf/
223
+ rcf/
224
+
225
+ # Windows Store app package directories and files
226
+ AppPackages/
227
+ BundleArtifacts/
228
+ Package.StoreAssociation.xml
229
+ _pkginfo.txt
230
+ *.appx
231
+ *.appxbundle
232
+ *.appxupload
233
+
234
+ # Visual Studio cache files
235
+ # files ending in .cache can be ignored
236
+ *.[Cc]ache
237
+ # but keep track of directories ending in .cache
238
+ !?*.[Cc]ache/
239
+
240
+ # Others
241
+ ClientBin/
242
+ ~$*
243
+ *~
244
+ *.dbmdl
245
+ *.dbproj.schemaview
246
+ *.jfm
247
+ *.pfx
248
+ *.publishsettings
249
+ orleans.codegen.cs
250
+
251
+ # Including strong name files can present a security risk
252
+ # (https://github.com/github/gitignore/pull/2483#issue-259490424)
253
+ #*.snk
254
+
255
+ # Since there are multiple workflows, uncomment next line to ignore bower_components
256
+ # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
257
+ #bower_components/
258
+
259
+ # RIA/Silverlight projects
260
+ Generated_Code/
261
+
262
+ # Backup & report files from converting an old project file
263
+ # to a newer Visual Studio version. Backup files are not needed,
264
+ # because we have git ;-)
265
+ _UpgradeReport_Files/
266
+ Backup*/
267
+ UpgradeLog*.XML
268
+ UpgradeLog*.htm
269
+ ServiceFabricBackup/
270
+ *.rptproj.bak
271
+
272
+ # SQL Server files
273
+ *.mdf
274
+ *.ldf
275
+ *.ndf
276
+
277
+ # Business Intelligence projects
278
+ *.rdl.data
279
+ *.bim.layout
280
+ *.bim_*.settings
281
+ *.rptproj.rsuser
282
+ *- [Bb]ackup.rdl
283
+ *- [Bb]ackup ([0-9]).rdl
284
+ *- [Bb]ackup ([0-9][0-9]).rdl
285
+
286
+ # Microsoft Fakes
287
+ FakesAssemblies/
288
+
289
+ # GhostDoc plugin setting file
290
+ *.GhostDoc.xml
291
+
292
+ # Node.js Tools for Visual Studio
293
+ .ntvs_analysis.dat
294
+ node_modules/
295
+
296
+ # Visual Studio 6 build log
297
+ *.plg
298
+
299
+ # Visual Studio 6 workspace options file
300
+ *.opt
301
+
302
+ # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
303
+ *.vbw
304
+
305
+ # Visual Studio 6 auto-generated project file (contains which files were open etc.)
306
+ *.vbp
307
+
308
+ # Visual Studio 6 workspace and project file (working project files containing files to include in project)
309
+ *.dsw
310
+ *.dsp
311
+
312
+ # Visual Studio 6 technical files
313
+ *.ncb
314
+ *.aps
315
+
316
+ # Visual Studio LightSwitch build output
317
+ **/*.HTMLClient/GeneratedArtifacts
318
+ **/*.DesktopClient/GeneratedArtifacts
319
+ **/*.DesktopClient/ModelManifest.xml
320
+ **/*.Server/GeneratedArtifacts
321
+ **/*.Server/ModelManifest.xml
322
+ _Pvt_Extensions
323
+
324
+ # Paket dependency manager
325
+ .paket/paket.exe
326
+ paket-files/
327
+
328
+ # FAKE - F# Make
329
+ .fake/
330
+
331
+ # CodeRush personal settings
332
+ .cr/personal
333
+
334
+ # Python Tools for Visual Studio (PTVS)
335
+ __pycache__/
336
+ *.pyc
337
+
338
+ # Cake - Uncomment if you are using it
339
+ # tools/**
340
+ # !tools/packages.config
341
+
342
+ # Tabs Studio
343
+ *.tss
344
+
345
+ # Telerik's JustMock configuration file
346
+ *.jmconfig
347
+
348
+ # BizTalk build output
349
+ *.btp.cs
350
+ *.btm.cs
351
+ *.odx.cs
352
+ *.xsd.cs
353
+
354
+ # OpenCover UI analysis results
355
+ OpenCover/
356
+
357
+ # Azure Stream Analytics local run output
358
+ ASALocalRun/
359
+
360
+ # MSBuild Binary and Structured Log
361
+ *.binlog
362
+
363
+ # NVidia Nsight GPU debugger configuration file
364
+ *.nvuser
365
+
366
+ # MFractors (Xamarin productivity tool) working folder
367
+ .mfractor/
368
+
369
+ # Local History for Visual Studio
370
+ .localhistory/
371
+
372
+ # Visual Studio History (VSHistory) files
373
+ .vshistory/
374
+
375
+ # BeatPulse healthcheck temp database
376
+ healthchecksdb
377
+
378
+ # Backup folder for Package Reference Convert tool in Visual Studio 2017
379
+ MigrationBackup/
380
+
381
+ # Ionide (cross platform F# VS Code tools) working folder
382
+ .ionide/
383
+
384
+ # Fody - auto-generated XML schema
385
+ FodyWeavers.xsd
386
+
387
+ # VS Code files for those working on multiple tools
388
+ .vscode/*
389
+ !.vscode/settings.json
390
+ !.vscode/tasks.json
391
+ !.vscode/launch.json
392
+ !.vscode/extensions.json
393
+ *.code-workspace
394
+
395
+ # Local History for Visual Studio Code
396
+ .history/
397
+
398
+ # Windows Installer files from build outputs
399
+ *.cab
400
+ *.msi
401
+ *.msix
402
+ *.msm
403
+ *.msp
404
+
405
+ # JetBrains Rider
406
+ *.sln.iml
407
+ .idea/
408
+
409
+ ##
410
+ ## Visual studio for Mac
411
+ ##
412
+
413
+
414
+ # globs
415
+ Makefile.in
416
+ *.userprefs
417
+ *.usertasks
418
+ config.make
419
+ config.status
420
+ aclocal.m4
421
+ install-sh
422
+ autom4te.cache/
423
+ *.tar.gz
424
+ tarballs/
425
+ test-results/
426
+
427
+ # Mac bundle stuff
428
+ *.dmg
429
+ *.app
430
+
431
+ # content below from: https://github.com/github/gitignore/blob/main/Global/macOS.gitignore
432
+ # General
433
+ .DS_Store
434
+ .AppleDouble
435
+ .LSOverride
436
+
437
+ # Icon must end with two \r
438
+ Icon
439
+
440
+
441
+ # Thumbnails
442
+ ._*
443
+
444
+ # Files that might appear in the root of a volume
445
+ .DocumentRevisions-V100
446
+ .fseventsd
447
+ .Spotlight-V100
448
+ .TemporaryItems
449
+ .Trashes
450
+ .VolumeIcon.icns
451
+ .com.apple.timemachine.donotpresent
452
+
453
+ # Directories potentially created on remote AFP share
454
+ .AppleDB
455
+ .AppleDesktop
456
+ Network Trash Folder
457
+ Temporary Items
458
+ .apdisk
459
+
460
+ # content below from: https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
461
+ # Windows thumbnail cache files
462
+ Thumbs.db
463
+ ehthumbs.db
464
+ ehthumbs_vista.db
465
+
466
+ # Dump file
467
+ *.stackdump
468
+
469
+ # Folder config file
470
+ [Dd]esktop.ini
471
+
472
+ # Recycle Bin used on file shares
473
+ $RECYCLE.BIN/
474
+
475
+ # Windows Installer files
476
+ *.cab
477
+ *.msi
478
+ *.msix
479
+ *.msm
480
+ *.msp
481
+
482
+ # Windows shortcuts
483
+
484
+ *.lnk
485
+
486
+ # Vim temporary swap files
487
+ *.swp
488
+
489
+ wwwroot
490
+ *.db
491
+ *.sqlite
492
+ *.Development.json