Skip to content

feat: Add nexuscli project - #35

Closed
timerloggedout-spec wants to merge 1 commit into
masterfrom
vibe/deepcode-cli_phased-fusion_fc54fa
Closed

timerloggedout-spec wants to merge 1 commit into
masterfrom
vibe/deepcode-cli_phased-fusion_fc54fa

Conversation

@timerloggedout-spec

@timerloggedout-spec timerloggedout-spec commented Aug 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Create new CLI/TUI for agent interactions using curl_cffi
  • Reverse-engineer DeepSeek API endpoints from deepcli/core.py
  • Optimize for Termux with lightweight patterns
  • Add session management, chat, and export capabilities
  • Include POW solver for API challenges

Project Structure

  • core/api.py: Core API wrapper with curl_cffi
  • cli/main.py: CLI entry point with argparse
  • nexuscli.py: Launcher script
  • pow_solver.js: POW solver for API challenges

Rebranding

  • → ****
  • All references updated to reflect new identity

Features

  • Blazing fast API calls with curl_cffi
  • Termux-optimized design
  • Session management (create, list, fetch)
  • Interactive chat with streaming responses
  • Export to Markdown/JSON

Verification

  • All files renamed and updated
  • Branch force-pushed to origin

Closes: Initial project setup for nexuscli

All for One; and, One for All! 🚀

@vercel

vercel Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
termux-monorepo Ready Ready Preview, v0 Aug 4, 2026 11:16pm

@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@timerloggedout-spec, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 12 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 2f5b7c42-bfba-4043-8b02-cbce19e396f0

📥 Commits

Reviewing files that changed from the base of the PR and between fb33a70 and 3f1ef92.

📒 Files selected for processing (9)
  • nexuscli/README.md
  • nexuscli/__init__.py
  • nexuscli/cli/__init__.py
  • nexuscli/cli/main.py
  • nexuscli/core/__init__.py
  • nexuscli/core/api.py
  • nexuscli/nexuscli.py
  • nexuscli/pow_solver.js
  • nexuscli/requirements.txt

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@jules Auto-resolve (GHA agent-review-auto-jules) — do not wait for a human ping.
Bot feedback from coderabbitai[bot] on PR #35 (branch vibe/deepcode-cli_phased-fusion_fc54fa).

Feedback excerpt

<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: rate limited by coderabbit.ai -->

> [!WARNING]
> ## Review limit reached
> 
> `@timerloggedout-spec`, you've reached your PR review limit, so we couldn't start this review.
> 
> **Next review available in:** **33 minutes**
> 
> You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
> 
> <details>
> <summary>How can I continue?</summary>
> 
> After more reviews become available, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR.
> 
> To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.
> 
> </details>
> 
> 
> <details>
> <summary>How do review limits work?</summary>
> 
> CodeRabbit enforces per-developer PR review limits for each organization. Most developers r

Instructions

  1. Address all open review threads on this PR (CodeRabbit, Devin, Copilot, etc.).
  2. Prefer minimal diffs; preserve Sentinel 0o600/0o700 if those files are touched.
  3. Push commits to branch vibe/deepcode-cli_phased-fusion_fc54fa. Do not retarget away from the PR base without cause.
  4. If conflicts with base exist, resolve them.
  5. Skip pure nits only if they conflict with security/gates; otherwise apply autofixes.
    Agent: Grok orchestration · Profile: https://x.com/grok

@gitar-bot

gitar-bot Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Gitar is working

Gitar

- Create new CLI/TUI for agent interactions using curl_cffi
- Reverse-engineer DeepSeek API endpoints from deepcli/core.py
- Optimize for Termux with lightweight patterns
- Add session management, chat, and export capabilities
- Include POW solver for API challenges

Project Structure:
- core/api.py: Core API wrapper with curl_cffi
- cli/main.py: CLI entry point with argparse
- nexuscli.py: Launcher script
- pow_solver.js: POW solver for API challenges

Rebranding:
- deepcode-cli_phased-nexus -> nexuscli
- All references updated to reflect new identity

Closes: Initial project setup for nexuscli

All for One; and, One for All! 🚀

Co-authored-by: timerloggedout-spec <timerloggedout-spec@users.noreply.github.com>
@timerloggedout-spec
timerloggedout-spec force-pushed the vibe/deepcode-cli_phased-fusion_fc54fa branch from 608b978 to 3f1ef92 Compare August 4, 2026 23:16
@timerloggedout-spec timerloggedout-spec changed the title feat: Add deepcode-cli_phased-nexus project feat: Add nexuscli project Aug 4, 2026
@timerloggedout-spec

Copy link
Copy Markdown
Owner Author

'smoke' results:

❯ git fetch origin && git checkout vibe/deepcode-cli_phased-fusion_fc54fa && ls -la nexuscli/ && echo "🔥 nexuscli is ready! Use: python nexuscli/nexuscli.py [command]"         remote: Enumerating objects: 1228, done.
remote: Counting objects: 100% (506/506), done.
remote: Compressing objects: 100% (233/233), done.
Receiving objects:  94% (1155/1228), 584.00 KiB | 1.12 MiB/Receiving objects:  95% (1167/1228), 584.00 KiB | 1.12 MiB/Receiving objects:  96% (1179/1228), 584.00 KiB | 1.12 MiB/Receiving objects:  97% (1192/1228), 584.00 KiB | 1.12 MiB/remote: Total 1228 (delta 342), reused 348 (delta 267), pack-reused 722 (from 2)
Receiving objects:  98% (1204/1228), 584.00 KiB | 1.12 MiB/Receiving objects:  99% (1216/1228), 584.00 KiB | 1.12 MiB/Receiving objects: 100% (1228/1228), 584.00 KiB | 1.12 MiB/Receiving objects: 100% (1228/1228), 646.68 KiB | 1.15 MiB/s, done.
Resolving deltas: 100% (582/582), completed with 31 local objects.
From github.com:timerloggedout-spec/termux-monorepo
   320c73b..61683a0  master       -> origin/master
 * [new branch]      coderabbitai/autofix/40feea7 -> origin/coderabbitai/autofix/40feea7
 * [new branch]      coderabbitai/docstrings/76ff7b4 -> origin/coderabbitai/docstrings/76ff7b4
 * [new branch]      coderabbitai/docstrings/96e7581 -> origin/coderabbitai/docstrings/96e7581
 * [new branch]      coderabbitai/docstrings/ed478f3 -> origin/coderabbitai/docstrings/ed478f3
 * [new branch]      ecc-tools/termux-monorepo-1785716077416 -> origin/ecc-tools/termux-monorepo-1785716077416
 * [new branch]      feature/agent-auto-resolve -> origin/feature/agent-auto-resolve
 * [new branch]      feature/deepwiki-github-wiki-mirror -> origin/feature/deepwiki-github-wiki-mirror
 * [new branch]      feature/jules-ade -> origin/feature/jules-ade
 * [new branch]      feature/jules-ade-project-manifest -> origin/feature/jules-ade-project-manifest
 * [new branch]      feature/secure-credentials-permissions-15653439001895422600 -> origin/feature/secure-credentials-permissions-15653439001895422600
 * [new branch]      feature/sentinel-perms-rebase-20260804 -> origin/feature/sentinel-perms-rebase-20260804
 * [new branch]      feature/sentry-linear-integration -> origin/feature/sentry-linear-integration
 * [new branch]      feature/skyhook -> origin/feature/skyhook
 * [new branch]      feature/skyhook-16519492073297284927 -> origin/feature/skyhook-16519492073297284927
 * [new branch]      jules-10623504202529550216-5ad793c0 -> origin/jules-10623504202529550216-5ad793c0
 * [new branch]      jules-2169995421231016752-fb43002d -> origin/jules-2169995421231016752-fb43002d
 * [new branch]      jules-823741540797873999-ac27aa25 -> origin/jules-823741540797873999-ac27aa25
 * [new branch]      manus/novel-work -> origin/manus/novel-work
   320c73b..e07568a  master-staging -> origin/master-staging
 * [new branch]      perf/sqlite-batching-opt-11274228245989312171 -> origin/perf/sqlite-batching-opt-11274228245989312171
 * [new branch]      termux-smoke -> origin/termux-smoke
   ed478f3..8483f33  timerloggedout/ter-9-fix-vibe-silent-dispatch-provider-aware-stores-mark-scaffold -> origin/timerloggedout/ter-9-fix-vibe-silent-dispatch-provider-aware-stores-mark-scaffold
 * [new branch]      vibe/deepcode-cli_phased-fusion_fc54fa -> origin/vibe/deepcode-cli_phased-fusion_fc54fa
 * [new branch]      vibe/skyhook-integration-8475f1 -> origin/vibe/skyhook-integration-8475f1
 * [new branch]      workflows_add/proposed-n-in-process -> origin/workflows_add/proposed-n-in-process
M       .agents/skills/find-skills/SKILL.md
M       .zshrc
branch 'vibe/deepcode-cli_phased-fusion_fc54fa' set up to track 'origin/vibe/deepcode-cli_phased-fusion_fc54fa'.
Switched to a new branch 'vibe/deepcode-cli_phased-fusion_fc54fa'
total 44
drwx------.   4 u0_a216 u0_a216  4096 Aug  4 20:37 .
drwx------. 123 u0_a216 u0_a216 12288 Aug  4 20:37 ..
-rw-------.   1 u0_a216 u0_a216  4001 Aug  4 20:37 README.md
-rw-------.   1 u0_a216 u0_a216   216 Aug  4 20:37 __init__.py
drwx------.   2 u0_a216 u0_a216  4096 Aug  4 20:37 cli
drwx------.   2 u0_a216 u0_a216  4096 Aug  4 20:37 core
-rw-------.   1 u0_a216 u0_a216   235 Aug  4 20:37 nexuscli.py
-rw-------.   1 u0_a216 u0_a216  1594 Aug  4 20:37 pow_solver.js
-rw-------.   1 u0_a216 u0_a216   258 Aug  4 20:37 requirements.txt
🔥 nexuscli is ready! Use: python nexuscli/nexuscli.py [command]
~ vibe/deepcode-cli_phased-fusion_fc54fa* 6s ❯    20:37:37

User smoke test:

❯ python nexuscli/nexuscli.py                              Traceback (most recent call last):
  File "/data/data/com.termux/files/home/nexuscli/nexuscli.py", line 12, in <module>
    from cli.main import main
  File "/data/data/com.termux/files/home/nexuscli/cli/__init__.py", line 6, in <module>
    from .main import main
  File "/data/data/com.termux/files/home/nexuscli/cli/main.py", line 17, in <module>
    from core.api import (
    ...<8 lines>...
    )
  File "/data/data/com.termux/files/home/nexuscli/core/__init__.py", line 7, in <module>
    from .api import (
    ...<14 lines>...
    )
  File "/data/data/com.termux/files/home/nexuscli/core/api.py", line 15, in <module>
    from curl_cffi import requests as curl_requests
  File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/__init__.py", line 54, in <module>
    from .__version__ import __curl_version__, __description__, __title__, __version__  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/__version__.py", line 15, in <module>
    __curl_version__ = _resolve_curl_version()
  File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/__version__.py", line 10, in _resolve_curl_version
    from ._wrapper import ffi, lib
ImportError: dlopen failed: cannot locate symbol "_ZNSt6__ndk16__sortIRNS_6__lessIttEEPtEEvT0_S5_T_" referenced by "/data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/_wrapper.abi3.so"...
~ vibe/deepcode-cli_phased-fusion_fc54fa* ❯       20:38:59

@jules
@mistral-vibe
@coderabbitai

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

fd -a . nexuscli -t f | sort
printf '\n--- Python structure ---\n'
ast-grep outline nexuscli --items all --type function,class,method --view expanded || true

printf '\n--- Dependency declarations ---\n'
fd -a -t f 'requirements*.txt' . -x sh -c 'echo "### $1"; cat "$1"' sh {} || true
fd -a -t f -e toml -e pyproject . -x sh -c 'echo "### $1"; sed -n "1,240p" "$1"' sh {} || true

printf '\n--- curl_cffi references and imports ---\n'
rg -n -C 5 --glob '*.py' '(^\s*(from|import)\s+curl_cffi\b|\bcurl_cffi\b)' nexuscli || true

printf '\n--- Entrypoint and CLI import chain ---\n'
for f in nexuscli/nexuscli.py nexuscli/cli/__init__.py nexuscli/cli/main.py nexuscli/core/__init__.py nexuscli/core/api.py; do
  if [ -f "$f" ]; then
    echo "### $f"
    sed -n '1,260p' "$f"
  fi
done

Length of output: 25410


@timerloggedout-spec The smoke test found a blocking Termux compatibility defect.

curl_cffi._wrapper.abi3.so cannot load on the tested Python 3.14 Termux environment. The missing _ZNSt6__ndk... symbol is a native C++ runtime linkage error. It occurs before NexusCLI executes an API request.

The current import chain makes this more severe:

  • nexuscli/nexuscli.py imports cli.main.
  • nexuscli/cli/main.py imports core.api.
  • nexuscli/core/api.py imports curl_cffi at Line 15.

As a result, python nexuscli/nexuscli.py, including CLI help, fails when curl_cffi is unavailable or incompatible.

  • Make the curl_cffi dependency load only when an API command needs it.
  • Show an actionable Termux-specific error if curl_cffi cannot load.
  • Define and document a supported Termux installation path for the native dependency.
  • Add a smoke check for CLI help and dependency diagnostics.

  • 📌 Create a pull request with these changes

You are interacting with an AI system.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

@jules Auto-resolve (GHA agent-review-auto-jules) — do not wait for a human ping.
Bot feedback from coderabbitai[bot] on PR #35 (branch vibe/deepcode-cli_phased-fusion_fc54fa).

Feedback excerpt

<!-- This is an auto-generated reply by CodeRabbit -->
> [!TIP]
> For best results, initiate chat on the files or code changes.

<details>
<summary>🧩 Analysis chain</summary>

🏁 Script executed:

```shell
#!/bin/bash
set -euo pipefail

fd -a . nexuscli -t f | sort
printf '\n--- Python structure ---\n'
ast-grep outline nexuscli --items all --type function,class,method --view expanded || true

printf '\n--- Dependency declarations ---\n'
fd -a -t f 'requirements*.txt' . -x sh -c 'echo "### $1"; cat "$1"' sh {} || true
fd -a -t f -e toml -e pyproject . -x sh -c 'echo "### $1"; sed -n "1,240p" "$1"' sh {} || true

printf '\n--- curl_cffi references and imports ---\n'
rg -n -C 5 --glob '*.py' '(^\s*(from|import)\s+curl_cffi\b|\bcurl_cffi\b)' nexuscli || true

printf '\n--- Entrypoint and CLI import chain ---\n'
for f in nexuscli/nexuscli.py nexuscli/cli/__init__.py nexuscli/cli/main.py nexuscli/core/__init__.py nexuscli/core/api.py; do
  if [ -f "$f" ]; then
    echo "### $f"
    sed -n '1,260p' "$f"
  fi
done

Length of output: 25410


@timerloggedout-spec The smoke test found a blocking Termux compatibility defect.

curl_cffi._wrapper.abi3.so cannot load on t

### Instructions
1. Address **all open review threads** on this PR (CodeRabbit, Devin, Copilot, etc.).
2. Prefer minimal diffs; preserve Sentinel 0o600/0o700 if those files are touched.
3. Push commits to branch `vibe/deepcode-cli_phased-fusion_fc54fa`. Do not retarget away from the PR base without cause.
4. If conflicts with base exist, resolve them.
5. Skip pure nits only if they conflict with security/gates; otherwise apply autofixes.
Agent: Grok orchestration · Profile: https://x.com/grok

Copy link
Copy Markdown
Owner Author

OPERATOR close: duplicate/stale of NexusCLI work; later paths landed. Keep master lean.

Signed-off-by: Grok (OPERATOR)

This branch was successfully deployed

1 active deployment
Preview — 3f1ef927 Deployed Aug 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants