ghost-api-cli 0.2.0__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.
- ghost_api_cli-0.2.0/LICENSE +21 -0
- ghost_api_cli-0.2.0/PKG-INFO +1019 -0
- ghost_api_cli-0.2.0/README.md +962 -0
- ghost_api_cli-0.2.0/ghost_api/__init__.py +3 -0
- ghost_api_cli-0.2.0/ghost_api/__main__.py +5 -0
- ghost_api_cli-0.2.0/ghost_api/adopt.py +173 -0
- ghost_api_cli-0.2.0/ghost_api/agent/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/agent/orchestrator.py +413 -0
- ghost_api_cli-0.2.0/ghost_api/agent/prompts.py +149 -0
- ghost_api_cli-0.2.0/ghost_api/agent/tools.py +84 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/analyzer.py +130 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/detectors.py +188 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/exposure.py +80 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/graphql.py +67 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/models.py +64 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/schema.py +109 -0
- ghost_api_cli-0.2.0/ghost_api/analysis/url_grouping.py +217 -0
- ghost_api_cli-0.2.0/ghost_api/api.py +264 -0
- ghost_api_cli-0.2.0/ghost_api/audit.py +78 -0
- ghost_api_cli-0.2.0/ghost_api/browser/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/browser/auth_state.py +172 -0
- ghost_api_cli-0.2.0/ghost_api/browser/driver.py +273 -0
- ghost_api_cli-0.2.0/ghost_api/browser/egress.py +183 -0
- ghost_api_cli-0.2.0/ghost_api/browser/gate.py +127 -0
- ghost_api_cli-0.2.0/ghost_api/browser/install.py +28 -0
- ghost_api_cli-0.2.0/ghost_api/browser/snapshot.py +221 -0
- ghost_api_cli-0.2.0/ghost_api/capture/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/capture/filters.py +255 -0
- ghost_api_cli-0.2.0/ghost_api/capture/har.py +148 -0
- ghost_api_cli-0.2.0/ghost_api/capture/models.py +41 -0
- ghost_api_cli-0.2.0/ghost_api/capture/personal.py +188 -0
- ghost_api_cli-0.2.0/ghost_api/capture/recorder.py +181 -0
- ghost_api_cli-0.2.0/ghost_api/cli/__init__.py +44 -0
- ghost_api_cli-0.2.0/ghost_api/cli/_common.py +219 -0
- ghost_api_cli-0.2.0/ghost_api/cli/client.py +487 -0
- ghost_api_cli-0.2.0/ghost_api/cli/data.py +492 -0
- ghost_api_cli-0.2.0/ghost_api/cli/explore.py +379 -0
- ghost_api_cli-0.2.0/ghost_api/cli/manage.py +437 -0
- ghost_api_cli-0.2.0/ghost_api/config.py +132 -0
- ghost_api_cli-0.2.0/ghost_api/drift.py +344 -0
- ghost_api_cli-0.2.0/ghost_api/drive.py +211 -0
- ghost_api_cli-0.2.0/ghost_api/errors.py +106 -0
- ghost_api_cli-0.2.0/ghost_api/events.py +213 -0
- ghost_api_cli-0.2.0/ghost_api/exitcodes.py +21 -0
- ghost_api_cli-0.2.0/ghost_api/export/__init__.py +71 -0
- ghost_api_cli-0.2.0/ghost_api/export/confidence.py +45 -0
- ghost_api_cli-0.2.0/ghost_api/export/html.py +41 -0
- ghost_api_cli-0.2.0/ghost_api/export/openapi.py +201 -0
- ghost_api_cli-0.2.0/ghost_api/export/report.py +227 -0
- ghost_api_cli-0.2.0/ghost_api/export/site_data.py +196 -0
- ghost_api_cli-0.2.0/ghost_api/export/tabular.py +88 -0
- ghost_api_cli-0.2.0/ghost_api/export/viewer/report.html +286 -0
- ghost_api_cli-0.2.0/ghost_api/generator/__init__.py +221 -0
- ghost_api_cli-0.2.0/ghost_api/generator/cassettes.py +80 -0
- ghost_api_cli-0.2.0/ghost_api/generator/models_gen.py +144 -0
- ghost_api_cli-0.2.0/ghost_api/generator/naming.py +174 -0
- ghost_api_cli-0.2.0/ghost_api/generator/package.py +197 -0
- ghost_api_cli-0.2.0/ghost_api/generator/python_gen.py +172 -0
- ghost_api_cli-0.2.0/ghost_api/generator/spec.py +486 -0
- ghost_api_cli-0.2.0/ghost_api/generator/templates/client.py.j2 +518 -0
- ghost_api_cli-0.2.0/ghost_api/generator/templates/client.test.ts.j2 +106 -0
- ghost_api_cli-0.2.0/ghost_api/generator/templates/client.ts.j2 +339 -0
- ghost_api_cli-0.2.0/ghost_api/generator/templates/models.py.j2 +45 -0
- ghost_api_cli-0.2.0/ghost_api/generator/templates/package_readme.md.j2 +111 -0
- ghost_api_cli-0.2.0/ghost_api/generator/templates/pyproject.toml.j2 +22 -0
- ghost_api_cli-0.2.0/ghost_api/generator/templates/test_client.py.j2 +105 -0
- ghost_api_cli-0.2.0/ghost_api/generator/ts_gen.py +232 -0
- ghost_api_cli-0.2.0/ghost_api/integrations/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/integrations/claude_code/commands/ghost-data.md +10 -0
- ghost_api_cli-0.2.0/ghost_api/integrations/claude_code/commands/ghost-diff.md +10 -0
- ghost_api_cli-0.2.0/ghost_api/integrations/claude_code/commands/ghost-explore.md +10 -0
- ghost_api_cli-0.2.0/ghost_api/integrations/claude_code/skills/ghost-api/SKILL.md +46 -0
- ghost_api_cli-0.2.0/ghost_api/integrations/setup.py +84 -0
- ghost_api_cli-0.2.0/ghost_api/llm/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/llm/doctor.py +60 -0
- ghost_api_cli-0.2.0/ghost_api/llm/gateway.py +476 -0
- ghost_api_cli-0.2.0/ghost_api/llm/providers.py +124 -0
- ghost_api_cli-0.2.0/ghost_api/memory/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/memory/knowledge.py +157 -0
- ghost_api_cli-0.2.0/ghost_api/memory/store.py +883 -0
- ghost_api_cli-0.2.0/ghost_api/net.py +235 -0
- ghost_api_cli-0.2.0/ghost_api/netguard.py +203 -0
- ghost_api_cli-0.2.0/ghost_api/pipeline.py +745 -0
- ghost_api_cli-0.2.0/ghost_api/probe/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/probe/prober.py +311 -0
- ghost_api_cli-0.2.0/ghost_api/probe/replay.py +313 -0
- ghost_api_cli-0.2.0/ghost_api/project.py +186 -0
- ghost_api_cli-0.2.0/ghost_api/py.typed +0 -0
- ghost_api_cli-0.2.0/ghost_api/runtime.py +397 -0
- ghost_api_cli-0.2.0/ghost_api/serve/__init__.py +101 -0
- ghost_api_cli-0.2.0/ghost_api/serve/explorer_mcp.py +305 -0
- ghost_api_cli-0.2.0/ghost_api/serve/mcp.py +121 -0
- ghost_api_cli-0.2.0/ghost_api/serve/mock.py +130 -0
- ghost_api_cli-0.2.0/ghost_api/serve/rest.py +132 -0
- ghost_api_cli-0.2.0/ghost_api/site.py +84 -0
- ghost_api_cli-0.2.0/ghost_api/specdiff.py +122 -0
- ghost_api_cli-0.2.0/ghost_api/ui/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/ui/keys.py +134 -0
- ghost_api_cli-0.2.0/ghost_api/ui/repl.py +453 -0
- ghost_api_cli-0.2.0/ghost_api/ui/terminal.py +573 -0
- ghost_api_cli-0.2.0/ghost_api/verify/__init__.py +0 -0
- ghost_api_cli-0.2.0/ghost_api/verify/classify.py +84 -0
- ghost_api_cli-0.2.0/ghost_api/verify/repair.py +40 -0
- ghost_api_cli-0.2.0/ghost_api/verify/runner.py +110 -0
- ghost_api_cli-0.2.0/ghost_api/verify/verifier.py +291 -0
- ghost_api_cli-0.2.0/ghost_api/watch.py +313 -0
- ghost_api_cli-0.2.0/ghost_api/web/__init__.py +1 -0
- ghost_api_cli-0.2.0/ghost_api/web/server.py +690 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/Endpoints-zPnjlcM8.js +46 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/Run-D85zWHey.js +91 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/Settings-D0aWHFAt.js +11 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/Site-a88shEmP.js +71 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/Watches-CqZWIa9G.js +16 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/circle-x-BcTE_1tr.js +11 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/index-Ds2e5B9f.js +141 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/index-xQpyIBbG.css +1 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/minus-C2xqP1eQ.js +6 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/assets/refresh-cw-CxdR_8Oi.js +6 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/favicon.svg +1 -0
- ghost_api_cli-0.2.0/ghost_api/web/static/index.html +26 -0
- ghost_api_cli-0.2.0/ghost_api/workflows.py +203 -0
- ghost_api_cli-0.2.0/ghost_api_cli.egg-info/PKG-INFO +1019 -0
- ghost_api_cli-0.2.0/ghost_api_cli.egg-info/SOURCES.txt +179 -0
- ghost_api_cli-0.2.0/ghost_api_cli.egg-info/dependency_links.txt +1 -0
- ghost_api_cli-0.2.0/ghost_api_cli.egg-info/entry_points.txt +2 -0
- ghost_api_cli-0.2.0/ghost_api_cli.egg-info/requires.txt +35 -0
- ghost_api_cli-0.2.0/ghost_api_cli.egg-info/top_level.txt +1 -0
- ghost_api_cli-0.2.0/pyproject.toml +93 -0
- ghost_api_cli-0.2.0/setup.cfg +4 -0
- ghost_api_cli-0.2.0/tests/test_adopt.py +101 -0
- ghost_api_cli-0.2.0/tests/test_agent_integration.py +170 -0
- ghost_api_cli-0.2.0/tests/test_analyzer.py +141 -0
- ghost_api_cli-0.2.0/tests/test_api.py +54 -0
- ghost_api_cli-0.2.0/tests/test_audit_fixes.py +289 -0
- ghost_api_cli-0.2.0/tests/test_capture_integration.py +99 -0
- ghost_api_cli-0.2.0/tests/test_cassettes.py +90 -0
- ghost_api_cli-0.2.0/tests/test_cli_errors.py +94 -0
- ghost_api_cli-0.2.0/tests/test_config.py +18 -0
- ghost_api_cli-0.2.0/tests/test_console.py +111 -0
- ghost_api_cli-0.2.0/tests/test_detectors.py +122 -0
- ghost_api_cli-0.2.0/tests/test_docs.py +20 -0
- ghost_api_cli-0.2.0/tests/test_drift.py +241 -0
- ghost_api_cli-0.2.0/tests/test_evals.py +200 -0
- ghost_api_cli-0.2.0/tests/test_explorer_mcp.py +128 -0
- ghost_api_cli-0.2.0/tests/test_export.py +255 -0
- ghost_api_cli-0.2.0/tests/test_fetch.py +111 -0
- ghost_api_cli-0.2.0/tests/test_filters.py +129 -0
- ghost_api_cli-0.2.0/tests/test_forget.py +66 -0
- ghost_api_cli-0.2.0/tests/test_generator.py +488 -0
- ghost_api_cli-0.2.0/tests/test_google_maps_findings.py +221 -0
- ghost_api_cli-0.2.0/tests/test_graphql.py +108 -0
- ghost_api_cli-0.2.0/tests/test_har.py +106 -0
- ghost_api_cli-0.2.0/tests/test_integrate.py +79 -0
- ghost_api_cli-0.2.0/tests/test_llm_gateway.py +409 -0
- ghost_api_cli-0.2.0/tests/test_local_llm.py +61 -0
- ghost_api_cli-0.2.0/tests/test_login.py +143 -0
- ghost_api_cli-0.2.0/tests/test_memory.py +285 -0
- ghost_api_cli-0.2.0/tests/test_mock.py +54 -0
- ghost_api_cli-0.2.0/tests/test_net.py +129 -0
- ghost_api_cli-0.2.0/tests/test_netguard.py +398 -0
- ghost_api_cli-0.2.0/tests/test_orchestrator.py +360 -0
- ghost_api_cli-0.2.0/tests/test_package.py +108 -0
- ghost_api_cli-0.2.0/tests/test_personal.py +183 -0
- ghost_api_cli-0.2.0/tests/test_pipeline_ui.py +294 -0
- ghost_api_cli-0.2.0/tests/test_policy.py +103 -0
- ghost_api_cli-0.2.0/tests/test_prober.py +319 -0
- ghost_api_cli-0.2.0/tests/test_project.py +208 -0
- ghost_api_cli-0.2.0/tests/test_repl.py +303 -0
- ghost_api_cli-0.2.0/tests/test_report_html.py +100 -0
- ghost_api_cli-0.2.0/tests/test_runtime.py +160 -0
- ghost_api_cli-0.2.0/tests/test_serve.py +89 -0
- ghost_api_cli-0.2.0/tests/test_site.py +224 -0
- ghost_api_cli-0.2.0/tests/test_snapshot.py +108 -0
- ghost_api_cli-0.2.0/tests/test_specdiff.py +85 -0
- ghost_api_cli-0.2.0/tests/test_store.py +29 -0
- ghost_api_cli-0.2.0/tests/test_typescript.py +349 -0
- ghost_api_cli-0.2.0/tests/test_url_grouping.py +133 -0
- ghost_api_cli-0.2.0/tests/test_verify.py +290 -0
- ghost_api_cli-0.2.0/tests/test_watch.py +208 -0
- ghost_api_cli-0.2.0/tests/test_web_server.py +233 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Danielraj
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|