| name | generate-index | ||||
|---|---|---|---|---|---|
| description | Generates or updates an OKF (v0.2) compliant index.md file for a specified directory. Useful for contextualizing workspace structure for AI agents. | ||||
| argument_pattern | ^@?([a-zA-Z0-9_-]+/?)+$ | ||||
| tags |
|
||||
| tools |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| SRCDIR="/home/koron/work/llama.cpp" | |
| PREFIX="/opt/llama.cpp" | |
| export HIPCXX="$(hipconfig -l)/clang" | |
| export HIP_PATH="$(hipconfig -R)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { tool } from "@opencode-ai/plugin"; // OpenCodeのプラグインSDK | |
| import * as fs from "fs"; | |
| export default tool({ | |
| description: "Modify existing files using flexible string replacements (ignores minor whitespace/indentation mismatches).", | |
| args: { | |
| path: tool.schema.string().describe("The path to the file to edit"), | |
| oldString: tool.schema.string().describe("The exact text to replace"), | |
| newString: tool.schema.string().describe("The text to replace it with"), | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # A script that downloads and extracts the Windows CUDA 13.x release (ZIP) from | |
| # the latest release of https://github.com/ggml-org/llama.cpp. | |
| # It places the ZIP file in `../distfiles` (relative to the script's directory) | |
| # and extracts it into `../{zip_basename}/`. | |
| # Additionally, it creates a symbolic link from `../current` to | |
| # `../{zip_basename}`. | |
| # Finally, it deletes previously downloaded ZIP files and their extracted | |
| # directories, keeping only the three most recent ones. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import os | |
| import zlib | |
| import socket | |
| def d(x): | |
| return bytes.fromhex(x) | |
| # invalid option level: 279 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/gui.c b/src/gui.c | |
| index 8673ec8d8..0260409b4 100644 | |
| --- a/src/gui.c | |
| +++ b/src/gui.c | |
| @@ -158,7 +158,7 @@ gui_start(char_u *arg UNUSED) | |
| gui_gtk_init_socket_server(); | |
| #endif | |
| -#ifdef FEAT_GUI_MSWIN | |
| +#if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 100 ' Super Family Computer | |
| 110 ' SRAM Back up program ver 2.00 | |
| 120 ' (on MSA selected SRAM by SW) | |
| 130 ' `93/5/2(SAT) | |
| 140 ' programed by KoRoN | |
| 150 ' | |
| 160 CLEAR200,&HB000:DEFINTA-Z:DIMS(13) | |
| 170 SCRENO,,1:COLOR14,0,0:KEYOFF | |
| 180 AD=&HD000:DEFUSR=AD:DEFUSR1=AD+2 | |
| 190 FORI=0TO2:READA$,B$:A=LEN(A$):B=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DUCKDB_DIR=../duckdb-go-bindings/lib/windows-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/linux-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/darwin-arm64 | |
| CFLAGS=-I${DUCKDB_DIR} -DDUCKDB_STATIC_BUILD | |
| LDLIBS= \ | |
| -lduckdb_static \ | |
| -lautocomplete_extension \ | |
| -lcore_functions_extension \ | |
| -licu_extension \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DUCKDB_DIR=../duckdb-go-bindings/lib/windows-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/linux-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/darwin-arm64 | |
| CFLAGS=-I${DUCKDB_DIR} -DDUCKDB_STATIC_BUILD | |
| LDLIBS= \ | |
| -lduckdb_static \ | |
| -lautocomplete_extension \ | |
| -lcore_functions_extension \ | |
| -licu_extension \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LDLIBS=-lduckdb | |
| main: main.c | |
| clean: | |
| rm -f *.o | |
| rm -f main |
NewerOlder