- Context Compaction System with token counting and summarization - Deterministic State Machine for flow control (no LLM decisions) - Parallel Execution Engine (up to 12 concurrent sessions) - Event-Driven Coordination via Event Bus - Agent Workspace Isolation (tools, memory, identity, files) - YAML Workflow Integration (OpenClaw/Lobster compatible) - Claude Code integration layer - Complete demo UI with real-time visualization - Comprehensive documentation and README Components: - agent-system/: Context management, token counting, subagent spawning - pipeline-system/: State machine, parallel executor, event bus, workflows - skills/: AI capabilities (LLM, ASR, TTS, VLM, image generation, etc.) - src/app/: Next.js demo application Total: ~100KB of production-ready TypeScript code
13 lines
359 B
Python
Executable File
13 lines
359 B
Python
Executable File
import sys
|
|
from pypdf import PdfReader
|
|
|
|
|
|
# Script for GLM to run to determine whether a PDF has fillable form fields. See forms.md.
|
|
|
|
|
|
reader = PdfReader(sys.argv[1])
|
|
if (reader.get_fields()):
|
|
print("This PDF has fillable form fields")
|
|
else:
|
|
print("This PDF does not have fillable form fields; you will need to visually determine where to enter data")
|