roksta 0.3.2__cp311-cp311-macosx_10_9_universal2.whl → 0.3.8__cp311-cp311-macosx_10_9_universal2.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 (131) hide show
  1. roksta/__init__.cpython-311-darwin.so +0 -0
  2. roksta/ai/__init__.cpython-311-darwin.so +0 -0
  3. roksta/ai/call_ai.cpython-311-darwin.so +0 -0
  4. roksta/ai/gemini.cpython-311-darwin.so +0 -0
  5. roksta/ai/generic.cpython-311-darwin.so +0 -0
  6. roksta/ai/llm.cpython-311-darwin.so +0 -0
  7. roksta/ai/openai.cpython-311-darwin.so +0 -0
  8. roksta/ai/tools/__init__.cpython-311-darwin.so +0 -0
  9. roksta/ai/tools/delete_file.cpython-311-darwin.so +0 -0
  10. roksta/ai/tools/edit_file.cpython-311-darwin.so +0 -0
  11. roksta/ai/tools/final_response.cpython-311-darwin.so +0 -0
  12. roksta/ai/tools/get_file_summaries.cpython-311-darwin.so +0 -0
  13. roksta/ai/tools/read_file.cpython-311-darwin.so +0 -0
  14. roksta/ai/tools/regex_replace.cpython-311-darwin.so +0 -0
  15. roksta/ai/tools/shell_any.cpython-311-darwin.so +0 -0
  16. roksta/ai/tools/shell_limited.cpython-311-darwin.so +0 -0
  17. roksta/ai/tools/tool_defs.cpython-311-darwin.so +0 -0
  18. roksta/ai/tools/tool_utils.cpython-311-darwin.so +0 -0
  19. roksta/ai/tools/web_fetch.cpython-311-darwin.so +0 -0
  20. roksta/ai/tools/write_file.cpython-311-darwin.so +0 -0
  21. roksta/analytics.cpython-311-darwin.so +0 -0
  22. roksta/balance.cpython-311-darwin.so +0 -0
  23. roksta/build_project.cpython-311-darwin.so +0 -0
  24. roksta/chat_workflow.cpython-311-darwin.so +0 -0
  25. roksta/check_for_updates.cpython-311-darwin.so +0 -0
  26. roksta/check_subtask_sequence.cpython-311-darwin.so +0 -0
  27. roksta/checkpoints.cpython-311-darwin.so +0 -0
  28. roksta/clarify_goal.cpython-311-darwin.so +0 -0
  29. roksta/codebase_listing.cpython-311-darwin.so +0 -0
  30. roksta/command_handlers/__init__.cpython-311-darwin.so +0 -0
  31. roksta/command_handlers/handle_activate_command.cpython-311-darwin.so +0 -0
  32. roksta/command_handlers/handle_add_funds_command.cpython-311-darwin.so +0 -0
  33. roksta/command_handlers/handle_auto_charge_command.cpython-311-darwin.so +0 -0
  34. roksta/command_handlers/handle_auto_commit_command.cpython-311-darwin.so +0 -0
  35. roksta/command_handlers/handle_building_command.cpython-311-darwin.so +0 -0
  36. roksta/command_handlers/handle_chat_command.cpython-311-darwin.so +0 -0
  37. roksta/command_handlers/handle_dev_rate_command.cpython-311-darwin.so +0 -0
  38. roksta/command_handlers/handle_feedback_command.cpython-311-darwin.so +0 -0
  39. roksta/command_handlers/handle_goal_command.cpython-311-darwin.so +0 -0
  40. roksta/command_handlers/handle_help_command.cpython-311-darwin.so +0 -0
  41. roksta/command_handlers/handle_init_command.cpython-311-darwin.so +0 -0
  42. roksta/command_handlers/handle_linting_command.cpython-311-darwin.so +0 -0
  43. roksta/command_handlers/handle_login_command.cpython-311-darwin.so +0 -0
  44. roksta/command_handlers/handle_logout_command.cpython-311-darwin.so +0 -0
  45. roksta/command_handlers/handle_payment_details_command.cpython-311-darwin.so +0 -0
  46. roksta/command_handlers/handle_quit_command.cpython-311-darwin.so +0 -0
  47. roksta/command_handlers/handle_redeem_command.cpython-311-darwin.so +0 -0
  48. roksta/command_handlers/handle_request_activation_command.cpython-311-darwin.so +0 -0
  49. roksta/command_handlers/handle_testing_command.cpython-311-darwin.so +0 -0
  50. roksta/command_handlers/handle_usage_command.cpython-311-darwin.so +0 -0
  51. roksta/create_default_config.cpython-311-darwin.so +0 -0
  52. roksta/create_default_ignore_file.cpython-311-darwin.so +0 -0
  53. roksta/default_config.cpython-311-darwin.so +0 -0
  54. roksta/default_ignores.cpython-311-darwin.so +0 -0
  55. roksta/discover_test_command.cpython-311-darwin.so +0 -0
  56. roksta/enums.cpython-311-darwin.so +0 -0
  57. roksta/env.cpython-311-darwin.so +0 -0
  58. roksta/extended_text_area.cpython-311-darwin.so +0 -0
  59. roksta/firebase.cpython-311-darwin.so +0 -0
  60. roksta/firebase_auth_web.cpython-311-darwin.so +0 -0
  61. roksta/firebase_config.cpython-311-darwin.so +0 -0
  62. roksta/fix_tests.cpython-311-darwin.so +0 -0
  63. roksta/gen_codebase_summaries.cpython-311-darwin.so +0 -0
  64. roksta/gen_one_line_goal.cpython-311-darwin.so +0 -0
  65. roksta/gen_subtasks.cpython-311-darwin.so +0 -0
  66. roksta/get_codebase_structure.cpython-311-darwin.so +0 -0
  67. roksta/get_failing_tests.cpython-311-darwin.so +0 -0
  68. roksta/goal_workflow.cpython-311-darwin.so +0 -0
  69. roksta/init_codebase.cpython-311-darwin.so +0 -0
  70. roksta/lint_code.cpython-311-darwin.so +0 -0
  71. roksta/logger.cpython-311-darwin.so +0 -0
  72. roksta/main.cpython-311-darwin.so +0 -0
  73. roksta/make_issue.cpython-311-darwin.so +0 -0
  74. roksta/new_features.cpython-311-darwin.so +0 -0
  75. roksta/parse_directive_cli_tokens.cpython-311-darwin.so +0 -0
  76. roksta/parse_readme.cpython-311-darwin.so +0 -0
  77. roksta/propose_solution.cpython-311-darwin.so +0 -0
  78. roksta/response_formats.cpython-311-darwin.so +0 -0
  79. roksta/rewrite_goal.cpython-311-darwin.so +0 -0
  80. roksta/roksta.cpython-311-darwin.so +0 -0
  81. roksta/run_cli_goal.cpython-311-darwin.so +0 -0
  82. roksta/save_chat_transcript.cpython-311-darwin.so +0 -0
  83. roksta/select_files.cpython-311-darwin.so +0 -0
  84. roksta/tips.cpython-311-darwin.so +0 -0
  85. roksta/utils.cpython-311-darwin.so +0 -0
  86. roksta/write_code.cpython-311-darwin.so +0 -0
  87. roksta-0.3.8.dist-info/METADATA +471 -0
  88. roksta-0.3.8.dist-info/RECORD +91 -0
  89. {roksta-0.3.2.dist-info → roksta-0.3.8.dist-info}/top_level.txt +0 -1
  90. roksta-0.3.2.dist-info/METADATA +0 -40
  91. roksta-0.3.2.dist-info/RECORD +0 -121
  92. tests/__init__.py +0 -2
  93. tests/conftest.py +0 -211
  94. tests/functions/__init__.py +0 -2
  95. tests/functions/api_v1_00/__init__.py +0 -2
  96. tests/functions/api_v1_00/test__analytics.py +0 -416
  97. tests/functions/api_v1_00/test__gemini_proxy.py +0 -352
  98. tests/functions/api_v1_00/test__generic_proxy.py +0 -428
  99. tests/functions/api_v1_00/test__get_payment_details.py +0 -356
  100. tests/functions/api_v1_00/test__openai_proxy.py +0 -449
  101. tests/functions/api_v1_00/test__redeem_credit_code.py +0 -167
  102. tests/functions/api_v1_00/test__sync_emails.py +0 -325
  103. tests/functions/api_v1_00/test__take_payment.py +0 -491
  104. tests/functions/api_v1_00/test__use_activation_code.py +0 -438
  105. tests/functions/api_v1_01/__init__.py +0 -2
  106. tests/functions/api_v1_01/test__analytics.py +0 -416
  107. tests/functions/api_v1_01/test__gemini_proxy.py +0 -352
  108. tests/functions/api_v1_01/test__generic_proxy.py +0 -428
  109. tests/functions/api_v1_01/test__get_payment_details.py +0 -356
  110. tests/functions/api_v1_01/test__openai_proxy.py +0 -449
  111. tests/functions/api_v1_01/test__redeem_credit_code.py +0 -167
  112. tests/functions/api_v1_01/test__sync_emails.py +0 -325
  113. tests/functions/api_v1_01/test__take_payment.py +0 -491
  114. tests/functions/api_v1_01/test__use_activation_code.py +0 -438
  115. tests/functions/api_v1_02/__init__.py +0 -2
  116. tests/functions/api_v1_02/test__analytics.py +0 -416
  117. tests/functions/api_v1_02/test__gemini_proxy.py +0 -352
  118. tests/functions/api_v1_02/test__generic_proxy.py +0 -428
  119. tests/functions/api_v1_02/test__get_payment_details.py +0 -356
  120. tests/functions/api_v1_02/test__openai_proxy.py +0 -449
  121. tests/functions/api_v1_02/test__redeem_credit_code.py +0 -167
  122. tests/functions/api_v1_02/test__sync_emails.py +0 -325
  123. tests/functions/api_v1_02/test__take_payment.py +0 -491
  124. tests/functions/api_v1_02/test__use_activation_code.py +0 -438
  125. tests/functions/api_v1_02/test_proxy_keyword_replacement.py +0 -557
  126. tests/functions/api_v1_02/test_replace_keywords.py +0 -74
  127. tests/functions/test_auth.py +0 -24
  128. tests/functions/test_main.py +0 -73
  129. tests/functions/test_utils.py +0 -484
  130. {roksta-0.3.2.dist-info → roksta-0.3.8.dist-info}/WHEEL +0 -0
  131. {roksta-0.3.2.dist-info → roksta-0.3.8.dist-info}/entry_points.txt +0 -0
@@ -1,121 +0,0 @@
1
- roksta-0.3.2.dist-info/RECORD,,
2
- roksta-0.3.2.dist-info/WHEEL,sha256=VWNc5NH4DDoQDkc74R-nMZPza3RGJ6ac2abjVbvC-0k,141
3
- roksta-0.3.2.dist-info/entry_points.txt,sha256=mzRdYg_DlzZRwjxYUt9-gyoRCkM1QBTeTbwETgiTdGw,44
4
- roksta-0.3.2.dist-info/top_level.txt,sha256=lvciNZQ1dPGXpiCLdWVXK03n9fKHjbQdwjqQbnUjeYM,13
5
- roksta-0.3.2.dist-info/METADATA,sha256=XgnSDc8MqytQD1jnmYC-tuyMdYvoa0MPRR_JP-ugZbg,1456
6
- roksta/logger.cpython-311-darwin.so,sha256=xch275vL4nC3HeSUxVdjTpnXmRXq2Jd1auVsd-a3bNs,122016
7
- roksta/lint_code.cpython-311-darwin.so,sha256=6lSjs-uw6m3hVmhZS6QlFnd6jskgSk7xm178ag-Yx2I,207920
8
- roksta/get_codebase_structure.cpython-311-darwin.so,sha256=gFFoEJU2H9vJgmbRWjcqY2tSqc_7eUJPWIGTDgSQZk4,189984
9
- roksta/checkpoints.cpython-311-darwin.so,sha256=4vZMS8o8V6fez18V-ln64U4tXsOBPqbGgLE7pyYhZkQ,238032
10
- roksta/extended_text_area.cpython-311-darwin.so,sha256=hPsQ9DKb5Hqsl0QjVSZMvPc-DYkneWCOcUp7gN3BLNc,290904
11
- roksta/firebase_config.cpython-311-darwin.so,sha256=BKPNge6g8lDyI4M6dAxXVasD1T-j9stNUT--pB-AGT8,86568
12
- roksta/init_codebase.cpython-311-darwin.so,sha256=zkIyCBplbsLfHDScvB_fD04d-rE640B3yEAUJOuAa4Y,308400
13
- roksta/gen_one_line_goal.cpython-311-darwin.so,sha256=LGggcZkhy9W8RTUIzj9vcACw0KZs7Big3_TpTXE3IZc,207560
14
- roksta/new_features.cpython-311-darwin.so,sha256=6X3c1I7MJS-JoX6xUtAll2_WOkdLn8Ol-eJhDozoNbw,85632
15
- roksta/chat_workflow.cpython-311-darwin.so,sha256=uQ4mon110StmmfbIALtZ9JOI76d6yIqOu_WUsxZLbgw,257232
16
- roksta/select_files.cpython-311-darwin.so,sha256=3kmwxH1UysuYKBc10m7FqHfO-pWe0Ybpxoc8o3BDhmA,207600
17
- roksta/parse_readme.cpython-311-darwin.so,sha256=2vXGMqTmmn9vm1twZkudrs4IXL6RTm0TYBcJwUlY0_E,207088
18
- roksta/firebase.cpython-311-darwin.so,sha256=bsMQ26yMRkpO24ADGhxOWKShbjh2fpcrWJXpXGFJXRw,471616
19
- roksta/goal_workflow.cpython-311-darwin.so,sha256=CiCCgwXMqFo1IyYtGu9XtrWNztSLXhZ_o9lfFETobSc,505312
20
- roksta/tips.cpython-311-darwin.so,sha256=EYg4qd9vQ1_x0KahqcYXEmhjf4u2fDHvMPkDhcN-4Ss,85592
21
- roksta/write_code.cpython-311-darwin.so,sha256=ShK28eVTEfMesKW8GrdW0V7dBBVcKvbdj_En9LV2jZ4,190944
22
- roksta/enums.cpython-311-darwin.so,sha256=rGABZEs5M_6PDdxssR9-gwfDhqMoor9kOyoxf79VFnI,404232
23
- roksta/analytics.cpython-311-darwin.so,sha256=lXYObBh_e8QiM7PQHipcKWtl5sD04ygEi71p2dvtc9k,256576
24
- roksta/main.cpython-311-darwin.so,sha256=LFCeVyu9__bUV9SuSuHyvHvZb0NU95H2LyesUHHref0,122152
25
- roksta/response_formats.cpython-311-darwin.so,sha256=BthAKv6MpQLL6SPni865ADEgw9VQwy-w1kgEEev-xGY,153928
26
- roksta/check_for_updates.cpython-311-darwin.so,sha256=WecZ1t8qGQfpWQpuMHVQ6CamNhFtfuuWXZ6G1gP0ntI,290200
27
- roksta/utils.cpython-311-darwin.so,sha256=XVgHddZSStNGmfoNKelCr_RA59_4qgTGXMT9zD0mhp8,605352
28
- roksta/fix_tests.cpython-311-darwin.so,sha256=e7JDWuf7wUAwqXl3NHrhT9M_BM6vTWcMpSS68wgSfBA,223984
29
- roksta/firebase_auth_web.cpython-311-darwin.so,sha256=U51PxZ0Qocf5yE5WfMacrIC2VAvYqRxraf5DvKAeNfM,439656
30
- roksta/env.cpython-311-darwin.so,sha256=lD1IGITMWkXR_JDzLujTQubrc2_TyDZzPSItiXekUsw,87992
31
- roksta/get_failing_tests.cpython-311-darwin.so,sha256=1jvAcZKA8gsnsrq6-HNsro-rQkqesYZIi9nKhf8g5m8,207576
32
- roksta/clarify_goal.cpython-311-darwin.so,sha256=hvrnJAqt5XA3-ddDTUzEWMwHr4qc5giJx-I_m43v9lc,191232
33
- roksta/roksta.cpython-311-darwin.so,sha256=ltrItSAV4smydDxHcj7XZVZAjZWjrZ3mWbsLCPuF03o,555120
34
- roksta/build_project.cpython-311-darwin.so,sha256=vUvI_82FBp5at73GbjzytM40VdyuxNrMSoy-TF0_hW0,190992
35
- roksta/rewrite_goal.cpython-311-darwin.so,sha256=Ef34h7nGUNKgGcRQY2EKLKkSrcNLKp4xzKE9JTmg6QY,174512
36
- roksta/run_cli_goal.cpython-311-darwin.so,sha256=mIDRX9GJIZUYock-CE_VUBvR-zLvYAkXQRCCdMUXlU4,207120
37
- roksta/codebase_listing.cpython-311-darwin.so,sha256=yqwkwIMP3MKag60iU2LEYWt36jCXgjmnFL7UuKiUUaQ,155656
38
- roksta/default_config.cpython-311-darwin.so,sha256=okjKjvIXlHp_m_82TZIFdMT9fgEAfr1R3EodQhIX564,102152
39
- roksta/__init__.cpython-311-darwin.so,sha256=0ErvE_Ab31A1ApkmxEhfJuljCTrEA6VccImUD3_9z8U,85488
40
- roksta/create_default_config.cpython-311-darwin.so,sha256=8XKJkl0wIXVr2tiyhgA_BDiJ6-jumjzxDcehxWq9cYo,121656
41
- roksta/make_issue.cpython-311-darwin.so,sha256=sPSYITShHG4HpdqDow8XbLhADJ-as4J4Jl_bviKOx0Q,222064
42
- roksta/propose_solution.cpython-311-darwin.so,sha256=TWGxScLzLPTpijeCxfjkKFuTEY1YD6_ILhNK1GgRuqM,190920
43
- roksta/balance.cpython-311-darwin.so,sha256=VtXA6plincv8iIgiqYjhEsKf5n8egbt3EeZDujzfejs,389536
44
- roksta/gen_codebase_summaries.cpython-311-darwin.so,sha256=KYIPW6UaQV_XJEMttZHuUCyyHlPAQDVOvZwMNr2SIzg,621328
45
- roksta/command_handlers/handle_goal_command.cpython-311-darwin.so,sha256=HKsEAcRKIzeOXsQh_ELLIlO1Tn87rn6Iztd2OP0PWi8,157080
46
- roksta/command_handlers/handle_quit_command.cpython-311-darwin.so,sha256=fR56AJ2gJf8J7mg0LBfQxNez-MLn8nJuVlIW86OyW94,87480
47
- roksta/command_handlers/handle_payment_details_command.cpython-311-darwin.so,sha256=7feybmTcI2KUbH0xiKDjxgOMlRnTZC7cTUuwgBcOOOE,173464
48
- roksta/command_handlers/handle_request_activation_command.cpython-311-darwin.so,sha256=tnoUINf47lvZzBRziVlv0gHPQFzXKEdwDoFt9KbRsYw,206920
49
- roksta/command_handlers/handle_feedback_command.cpython-311-darwin.so,sha256=plXKfXFR9EgR0IZ4RtphZPrGtHEyrdnCG1DIE6xNAQc,190240
50
- roksta/command_handlers/handle_testing_command.cpython-311-darwin.so,sha256=BF5TjoweefIIWfItkxIma1Lo4nrSB49X9r_QvRDknWw,156016
51
- roksta/command_handlers/handle_chat_command.cpython-311-darwin.so,sha256=3_QJ4Iz4-nudRDMYWzhi7mnujrakmQ-8Rbv4Hcs1jt0,156632
52
- roksta/command_handlers/handle_init_command.cpython-311-darwin.so,sha256=KeaaNZ35JHAobBKZADxk-KpOLcX7lqOF7wvPHyDIliU,157064
53
- roksta/command_handlers/handle_activate_command.cpython-311-darwin.so,sha256=b6KTsnjifBgDajxnHFHhkXgnmpYzWz2AT_ZgbWsJ1EE,240256
54
- roksta/command_handlers/handle_login_command.cpython-311-darwin.so,sha256=IpbeFewFpDfP1lnOGSmj7hHLNx0WG5JrSLymbLamQ3U,207032
55
- roksta/command_handlers/handle_dev_rate_command.cpython-311-darwin.so,sha256=g4DPbDawA0cSdYxsh405vl9jeOD2-pLaTBG5umMvXEs,123008
56
- roksta/command_handlers/handle_linting_command.cpython-311-darwin.so,sha256=qlKlwYSW64qXXO-41MpZg-g_MzgtU9foV09mmN-Jipg,156016
57
- roksta/command_handlers/handle_help_command.cpython-311-darwin.so,sha256=TT9unIC2ecyomkRAZjg0W8WZOEVsrMXJaDoruBz0xOc,253160
58
- roksta/command_handlers/handle_auto_commit_command.cpython-311-darwin.so,sha256=mCzSmi2eSzhKMPxQh_eVljRdFoysNSz8l6WarlO-4oI,122512
59
- roksta/command_handlers/handle_add_funds_command.cpython-311-darwin.so,sha256=bzmPLTlKyg39Zb4XDdFsKOo6U13frwqIKtTyP-DVauc,207792
60
- roksta/command_handlers/__init__.cpython-311-darwin.so,sha256=g0IaXlbYKxBp04YtfYnncYV7NczDDSuBFqLDWnNGXcg,86176
61
- roksta/command_handlers/handle_logout_command.cpython-311-darwin.so,sha256=DusVzoMddXp1AdlDnaTlE9KsquuQnqymA7_sDZXvrwA,121608
62
- roksta/command_handlers/handle_auto_charge_command.cpython-311-darwin.so,sha256=dtim1-R2jM56qfBmHolpsAWddYnUgFvRHmoYEzttgIM,156480
63
- roksta/command_handlers/handle_usage_command.cpython-311-darwin.so,sha256=UeAh5EgYp0WJHTlOky66CRm1F09-nq3r80HgMDaKe4U,207880
64
- roksta/command_handlers/handle_redeem_command.cpython-311-darwin.so,sha256=hDiLfcQiSSn4P8gZmZWGTW1LtQtbsim-VvJmi8SeluE,157592
65
- roksta/command_handlers/handle_building_command.cpython-311-darwin.so,sha256=4Um5FdVi6zIs_e3o9U-2MAgDCrNgvhgZXXiuri-sMjM,156016
66
- roksta/ai/openai.cpython-311-darwin.so,sha256=KenHrHkUb1R3-XQnzui6dWIOqObeITzx95e2m_LYbm0,290352
67
- roksta/ai/call_ai.cpython-311-darwin.so,sha256=B3n-xiMlSb_QWeBCZm27fbWsFJGxKfJ9D7JuMCd5B84,224048
68
- roksta/ai/llm.cpython-311-darwin.so,sha256=T4egotoBbjHDoJybP0hb4uISN3etJhoNMaedj9Ypk6c,288232
69
- roksta/ai/gemini.cpython-311-darwin.so,sha256=Lpe8zqa9psk7tHnSM1aqm69m0wm7SJyOg66hDIp3tfw,389600
70
- roksta/ai/generic.cpython-311-darwin.so,sha256=WHnoku2qYaOZh3zv17qbxOAYa6xsnL6jdxSkJh6wdHU,290368
71
- roksta/ai/__init__.cpython-311-darwin.so,sha256=dpXQ14GwJxUat0fxONmbamSbzHo2JsnZHVeNP3LY_No,85488
72
- roksta/ai/tools/edit_file.cpython-311-darwin.so,sha256=H5ZTyxRy-oFpeWo9-QDIQAbBk06i-m6vPLWOvuqjq2U,155200
73
- roksta/ai/tools/get_file_summaries.cpython-311-darwin.so,sha256=nN5pffyj9VHidsVG5_MtNRGVRJp7ZVg9sEORiddXrts,122712
74
- roksta/ai/tools/shell_limited.cpython-311-darwin.so,sha256=XsZPLlEpjhpinJ-XTPzHJjLq7wTgG1slUX3em_Y3SBg,190640
75
- roksta/ai/tools/regex_replace.cpython-311-darwin.so,sha256=nMap5bNM9LvEZ1i-4S0BoDd39CE2qGE0LwZyeYYaUNA,155552
76
- roksta/ai/tools/shell_any.cpython-311-darwin.so,sha256=9I7orZwYxgOpSb4aeouYLvj_4ElixKcIRPxIQEr3yBA,223856
77
- roksta/ai/tools/delete_file.cpython-311-darwin.so,sha256=1oWbFE966dhN8GswvNY9JdlzSQvK1NpUMKPZ7T2MgyY,122032
78
- roksta/ai/tools/write_file.cpython-311-darwin.so,sha256=4xI09Qe0V1DzhiEBbNjq-2KSl5myTa4SYVZigJqSM7s,122112
79
- roksta/ai/tools/read_file.cpython-311-darwin.so,sha256=Ti2F5s7kOk67Y5gw5Ruz58NhjpL2sjtDVuJXgK1nt18,155792
80
- roksta/ai/tools/tool_utils.cpython-311-darwin.so,sha256=nnESmKl1_OY3hVapfUBKonVKPv45ImqMhH9ggmYX0-w,291136
81
- roksta/ai/tools/tool_defs.cpython-311-darwin.so,sha256=riq3T4XRoxIFOAVmbtojuCr3yA3lcybhhIIY1a3RigM,137440
82
- roksta/ai/tools/__init__.cpython-311-darwin.so,sha256=730VwpSAsKw6iIZ-uK8Uy5jEatE6Db1TJ1yoGi_36VQ,87216
83
- roksta/ai/tools/final_response.cpython-311-darwin.so,sha256=nutHi0A1M1C8csSCZsKsKrYMqq3xjcFt9B97rl6Iml0,88024
84
- tests/conftest.py,sha256=Y2cx3Jups9GkKGxOG2fSSoIr3rgfUa9QzipMoQ-ehKU,7878
85
- tests/__init__.py,sha256=J6ztnXNqM8TSQCgHXMWb6NRq1kN_h4ql63Jq-TYR8XE,124
86
- tests/functions/test_utils.py,sha256=_zlgSa99JYVyJ0LDe3yaPztS92kqGRKkgjon__XmfFM,16721
87
- tests/functions/test_auth.py,sha256=I3oFTw2LTuUsnQ75v5SCfgUPnpel_pDKqUH0VAJpXQw,992
88
- tests/functions/__init__.py,sha256=mLXx3UARcv07vs_fGJuy3L5ZRn9IRsF9zIuL5IOnwdk,95
89
- tests/functions/test_main.py,sha256=h0W_4ISo95WzRy2HpXZw3cuNOTcYk_2QCIZffZJEfEU,2575
90
- tests/functions/api_v1_02/test__sync_emails.py,sha256=OTyf2YbBK7e4pWIQTUGYR4x6il1Hb3g4FYqQ_fRj1nA,12699
91
- tests/functions/api_v1_02/test__take_payment.py,sha256=I-XJasGuLW5wTMAu4nAgFkA8Mo_zVpGPvkJ2LrrJGCk,18022
92
- tests/functions/api_v1_02/test_replace_keywords.py,sha256=pa7bZ8I9XgtI5dUZq-efcHh9amN2_XHP8abXYqtDGc0,2683
93
- tests/functions/api_v1_02/test__gemini_proxy.py,sha256=mf8ubRmNxxxN80H6EA-iDPwu6Oue6Rmgxl6tiFNpfrU,13344
94
- tests/functions/api_v1_02/test_proxy_keyword_replacement.py,sha256=I5H73_QydSKLiDp7hDHGHbSkDOdv-BT4gYHGqEiVtM0,23632
95
- tests/functions/api_v1_02/test__analytics.py,sha256=oKjd7_zjnttcb-5BuA93yllkm0OOF4YWnfTUW1-icnM,15806
96
- tests/functions/api_v1_02/__init__.py,sha256=3RCSoj_5UQPw9Z5NeAgYz2s4gfcZIi7g36qk_Ed5TiA,124
97
- tests/functions/api_v1_02/test__use_activation_code.py,sha256=tNyTkkRtrpjei-7F31UNwrcU-PbP-QnkWNU7h2n5Yqo,16960
98
- tests/functions/api_v1_02/test__redeem_credit_code.py,sha256=7GD3tGgO2Lk0BCjUmzZACJiwocEhLBvXrrut0x13IWU,6347
99
- tests/functions/api_v1_02/test__openai_proxy.py,sha256=xlO2zmG64LlrKrbjFz-ds6Map7vy4SjIuHfZJDAqGK8,17726
100
- tests/functions/api_v1_02/test__get_payment_details.py,sha256=i5Px3NkLxqw8D3tVPrYdRJJF5jlNmysSuX_NNolbIa4,13735
101
- tests/functions/api_v1_02/test__generic_proxy.py,sha256=KZkOtmc71aOnWlz2L7B6CFhRNEV73bExG3GR14oD2L0,17673
102
- tests/functions/api_v1_01/test__sync_emails.py,sha256=OTyf2YbBK7e4pWIQTUGYR4x6il1Hb3g4FYqQ_fRj1nA,12699
103
- tests/functions/api_v1_01/test__take_payment.py,sha256=I-XJasGuLW5wTMAu4nAgFkA8Mo_zVpGPvkJ2LrrJGCk,18022
104
- tests/functions/api_v1_01/test__gemini_proxy.py,sha256=mf8ubRmNxxxN80H6EA-iDPwu6Oue6Rmgxl6tiFNpfrU,13344
105
- tests/functions/api_v1_01/test__analytics.py,sha256=oKjd7_zjnttcb-5BuA93yllkm0OOF4YWnfTUW1-icnM,15806
106
- tests/functions/api_v1_01/__init__.py,sha256=3RCSoj_5UQPw9Z5NeAgYz2s4gfcZIi7g36qk_Ed5TiA,124
107
- tests/functions/api_v1_01/test__use_activation_code.py,sha256=tNyTkkRtrpjei-7F31UNwrcU-PbP-QnkWNU7h2n5Yqo,16960
108
- tests/functions/api_v1_01/test__redeem_credit_code.py,sha256=7GD3tGgO2Lk0BCjUmzZACJiwocEhLBvXrrut0x13IWU,6347
109
- tests/functions/api_v1_01/test__openai_proxy.py,sha256=xlO2zmG64LlrKrbjFz-ds6Map7vy4SjIuHfZJDAqGK8,17726
110
- tests/functions/api_v1_01/test__get_payment_details.py,sha256=i5Px3NkLxqw8D3tVPrYdRJJF5jlNmysSuX_NNolbIa4,13735
111
- tests/functions/api_v1_01/test__generic_proxy.py,sha256=KZkOtmc71aOnWlz2L7B6CFhRNEV73bExG3GR14oD2L0,17673
112
- tests/functions/api_v1_00/test__sync_emails.py,sha256=OTyf2YbBK7e4pWIQTUGYR4x6il1Hb3g4FYqQ_fRj1nA,12699
113
- tests/functions/api_v1_00/test__take_payment.py,sha256=I-XJasGuLW5wTMAu4nAgFkA8Mo_zVpGPvkJ2LrrJGCk,18022
114
- tests/functions/api_v1_00/test__gemini_proxy.py,sha256=mf8ubRmNxxxN80H6EA-iDPwu6Oue6Rmgxl6tiFNpfrU,13344
115
- tests/functions/api_v1_00/test__analytics.py,sha256=oKjd7_zjnttcb-5BuA93yllkm0OOF4YWnfTUW1-icnM,15806
116
- tests/functions/api_v1_00/__init__.py,sha256=3RCSoj_5UQPw9Z5NeAgYz2s4gfcZIi7g36qk_Ed5TiA,124
117
- tests/functions/api_v1_00/test__use_activation_code.py,sha256=tNyTkkRtrpjei-7F31UNwrcU-PbP-QnkWNU7h2n5Yqo,16960
118
- tests/functions/api_v1_00/test__redeem_credit_code.py,sha256=7GD3tGgO2Lk0BCjUmzZACJiwocEhLBvXrrut0x13IWU,6347
119
- tests/functions/api_v1_00/test__openai_proxy.py,sha256=xlO2zmG64LlrKrbjFz-ds6Map7vy4SjIuHfZJDAqGK8,17726
120
- tests/functions/api_v1_00/test__get_payment_details.py,sha256=i5Px3NkLxqw8D3tVPrYdRJJF5jlNmysSuX_NNolbIa4,13735
121
- tests/functions/api_v1_00/test__generic_proxy.py,sha256=KZkOtmc71aOnWlz2L7B6CFhRNEV73bExG3GR14oD2L0,17673
tests/__init__.py DELETED
@@ -1,2 +0,0 @@
1
- # tests package marker
2
- # This file allows pytest to import tests using package-qualified names, avoiding import collisions.
tests/conftest.py DELETED
@@ -1,211 +0,0 @@
1
- import os
2
- import sys
3
- import importlib
4
- import types as _types_mod
5
-
6
- # Ensure local package is imported before any globally installed packages.
7
- sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
8
-
9
- # Ensure functions directory is on sys.path so top-level function helpers (e.g. 'utils')
10
- # can be imported by tests after the functions/ reorganisation.
11
- _functions_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'functions'))
12
- if _functions_root not in sys.path:
13
- sys.path.insert(0, _functions_root)
14
-
15
- # Ensure functions/api_v0_01 (or a compatible API directory) is on sys.path so tests that import top-level function
16
- # modules (e.g. '_analytics') can still find them after the functions/ reorganisation.
17
- _api_candidates = ['api_v0_01', 'api_v001', 'api_v0_1', 'api_v01']
18
- _functions_api_dir = None
19
- for candidate in _api_candidates:
20
- candidate_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'functions', candidate))
21
- if os.path.isdir(candidate_path):
22
- _functions_api_dir = candidate_path
23
- break
24
- if _functions_api_dir and _functions_api_dir not in sys.path:
25
- sys.path.insert(0, _functions_api_dir)
26
-
27
- # Provide a minimal google.genai.types stub if the real package is not available.
28
- # This avoids import-time errors in tests that import modules which reference
29
- # google.genai.types at import time. The stub is intentionally lightweight and
30
- # only implements the attributes needed for import and simple spec-based mocks
31
- # used in the test-suite. Individual tests may still override these with more
32
- # detailed fakes when required.
33
-
34
-
35
- def _attach_gtypes_stubs(gtypes_mod):
36
- """
37
- Attach minimal placeholder implementations to the provided module object.
38
- Only attaches attributes that are missing on the module to avoid clobbering
39
- a real installed package.
40
- """
41
- # Minimal placeholder implementations
42
- class GenerateContentConfig:
43
- def __init__(self, **kwargs):
44
- self.__dict__.update(kwargs)
45
- self.kwargs = kwargs
46
- def to_json_dict(self):
47
- return dict(self.kwargs)
48
-
49
- class ThinkingConfig:
50
- def __init__(self, thinking_budget=None):
51
- self.thinking_budget = thinking_budget
52
-
53
- class AutomaticFunctionCallingConfig:
54
- def __init__(self, disable=False):
55
- self.disable = disable
56
-
57
- class GoogleSearch:
58
- def __init__(self):
59
- pass
60
-
61
- class Tool:
62
- def __init__(self, **kwargs):
63
- self.kwargs = kwargs
64
-
65
- class UsageMetadata:
66
- def __init__(self, prompt_token_count=0, total_token_count=0):
67
- self.prompt_token_count = prompt_token_count
68
- self.total_token_count = total_token_count
69
-
70
- class FinishReasonEnum:
71
- def __init__(self, name='FINISH_REASON_UNSPECIFIED'):
72
- self.name = name
73
-
74
- class FinishReason:
75
- FINISH_REASON_UNSPECIFIED = FinishReasonEnum('FINISH_REASON_UNSPECIFIED')
76
-
77
- class Part:
78
- def __init__(self, text=None, function_call=None):
79
- self.text = text
80
- self.function_call = function_call
81
-
82
- @classmethod
83
- def from_function_response(cls, name=None, response=None):
84
- inst = cls()
85
- inst.function_response = _types_mod.SimpleNamespace(name=name, response=response)
86
- return inst
87
-
88
- class Content:
89
- def __init__(self, role=None, parts=None):
90
- self.role = role
91
- self.parts = parts or []
92
-
93
- def model_dump(self, mode='json'):
94
- return {'role': self.role, 'parts': [getattr(p, 'text', p) for p in self.parts]}
95
-
96
- class FunctionCall:
97
- def __init__(self, name=None, args=None):
98
- self.name = name
99
- self.args = args
100
-
101
- class Candidate:
102
- def __init__(self, content=None, finish_reason=None):
103
- self.content = content
104
- self.finish_reason = finish_reason
105
-
106
- class GenerateContentResponse:
107
- def __init__(self, **kwargs):
108
- for k, v in kwargs.items():
109
- setattr(self, k, v)
110
- # sensible defaults
111
- if not hasattr(self, 'text'):
112
- self.text = ''
113
- if not hasattr(self, 'candidates'):
114
- self.candidates = []
115
- if not hasattr(self, 'usage_metadata'):
116
- self.usage_metadata = None
117
-
118
- def to_json_dict(self):
119
- return {k: getattr(self, k) for k in self.__dict__}
120
-
121
- stubs = {
122
- 'GenerateContentConfig': GenerateContentConfig,
123
- 'ThinkingConfig': ThinkingConfig,
124
- 'AutomaticFunctionCallingConfig': AutomaticFunctionCallingConfig,
125
- 'GoogleSearch': GoogleSearch,
126
- 'Tool': Tool,
127
- 'UsageMetadata': UsageMetadata,
128
- 'FinishReason': FinishReason,
129
- 'Part': Part,
130
- 'Content': Content,
131
- 'FunctionCall': FunctionCall,
132
- 'Candidate': Candidate,
133
- 'GenerateContentResponse': GenerateContentResponse,
134
- }
135
-
136
- for name, obj in stubs.items():
137
- if not hasattr(gtypes_mod, name):
138
- setattr(gtypes_mod, name, obj)
139
-
140
-
141
- # Try to import the real google.genai.types module. If it exists, only patch in
142
- # any missing attributes. If it doesn't exist, create minimal stub modules and
143
- # register them on sys.modules so imports like `from google.genai import types`
144
- # work during the tests.
145
- try:
146
- gtypes = importlib.import_module('google.genai.types')
147
- _attach_gtypes_stubs(gtypes)
148
- except Exception:
149
- # Ensure top-level `google` module exists in sys.modules, but do not overwrite
150
- # a real `google` module if it is already installed.
151
- try:
152
- google = importlib.import_module('google')
153
- except Exception:
154
- google = _types_mod.ModuleType('google')
155
- sys.modules['google'] = google
156
-
157
- # Ensure `google.genai` exists; prefer the real module if present.
158
- try:
159
- genai = importlib.import_module('google.genai')
160
- except Exception:
161
- genai = _types_mod.ModuleType('google.genai')
162
- sys.modules['google.genai'] = genai
163
- setattr(google, 'genai', genai)
164
-
165
- # Create and attach the minimal `google.genai.types` stub
166
- gtypes = _types_mod.ModuleType('google.genai.types')
167
- _attach_gtypes_stubs(gtypes)
168
- genai.types = gtypes
169
- sys.modules['google.genai.types'] = gtypes
170
-
171
- # Provide a minimal nacl.public stub if PyNaCl is not installed. This prevents
172
- # import-time failures in tests that import `roksta.firebase` which does
173
- # `from nacl.public import PublicKey, SealedBox`.
174
- try:
175
- import nacl.public # type: ignore
176
- except Exception:
177
- # Create lightweight stub modules to satisfy `from nacl.public import PublicKey, SealedBox`
178
- nacl = _types_mod.ModuleType('nacl')
179
- nacl_public = _types_mod.ModuleType('nacl.public')
180
-
181
- class PublicKey:
182
- def __init__(self, data):
183
- # Accept bytes-like input; ensure it's bytes when possible.
184
- try:
185
- self._data = bytes(data)
186
- except Exception:
187
- self._data = data
188
-
189
- def __repr__(self):
190
- try:
191
- length = len(self._data)
192
- except Exception:
193
- length = 'unknown'
194
- return f"<PublicKey len={length}>"
195
-
196
- class SealedBox:
197
- def __init__(self, public_key):
198
- self.public_key = public_key
199
-
200
- def encrypt(self, plaintext: bytes) -> bytes:
201
- # Return deterministic bytes so callers can base64-encode the result.
202
- if not isinstance(plaintext, (bytes, bytearray)):
203
- plaintext = str(plaintext).encode('utf-8')
204
- return b"STUB_ENCRYPTED:" + bytes(plaintext)
205
-
206
- nacl_public.PublicKey = PublicKey
207
- nacl_public.SealedBox = SealedBox
208
- # Attach the submodule on the parent module object for attribute access
209
- nacl.public = nacl_public
210
- sys.modules['nacl'] = nacl
211
- sys.modules['nacl.public'] = nacl_public
@@ -1,2 +0,0 @@
1
- # tests.functions package marker
2
- # Ensures subtests are imported as package-qualified modules.
@@ -1,2 +0,0 @@
1
- # tests.functions.api_v1_00 package marker
2
- # Allows tests under this directory to be imported with package-qualified names.